Face AI API

Face AI API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-26); not the provider's own document.

GitHub OpenAPI

Operations 5

GET /api/v1/credits GET /api/v1/credits #
POST /api/v1/face-swap Start a face swap job. #
PUT /api/v1/face-swap PUT /api/v1/face-swap #
GET /api/v1/face-swap/{taskid} GET /api/v1/face-swap/{taskId} #
POST /api/v1/uploads POST /api/v1/uploads #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aideepfake-io:aideepfake-io-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aideepfake-io-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Face AI API
  version: '2026-11-26'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-26: 5 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Face AI has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 1
    pages-with-code: 4
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-26'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://aideepfake.io/face-swap-api
  - https://aideepfake.io/zh/face-swap-api
  - https://aideepfake.io/zh-TW/face-swap-api
  - https://aideepfake.io/ja/face-swap-api
servers:
- url: https://aideepfake.io
paths:
  /api/v1/credits:
    get:
      operationId: get_api_v1_credits
      tags:
      - Api
      summary: GET /api/v1/credits
      x-source: https://aideepfake.io/face-swap-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://aideepfake.io/api/v1/credits  -H "x-api-key: adf_YOUR_API_KEY"'
  /api/v1/face-swap:
    post:
      operationId: post_api_v1_face_swap
      tags:
      - Api
      summary: Start a face swap job.
      x-source: https://aideepfake.io/face-swap-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1FaceSwapRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1FaceSwapResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_v1_face_swap
      tags:
      - Api
      summary: PUT /api/v1/face-swap
      x-source: https://aideepfake.io/face-swap-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutApiV1FaceSwapRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X PUT "UPLOAD_URL_FROM_RESPONSE"  -H "Content-Type: image/jpeg"  --data-binary @target.jpg POST /api/v1/face-swap Start
          a face swap job. An image swap costs 15 credits. A video swap costs 5 credits per 10 seconds of video, minimum 20; the length is read
          from the uploaded file itself, and a file whose length cannot be read is billed at the longest length allowed. Video prices match the
          web ap'
  /api/v1/face-swap/{taskid}:
    get:
      operationId: get_api_v1_face_swap_taskid
      tags:
      - Api
      summary: GET /api/v1/face-swap/{taskId}
      x-source: https://aideepfake.io/face-swap-api
      parameters:
      - name: taskid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl https://aideepfake.io/api/v1/face-swap/TASK_ID  -H "x-api-key: adf_YOUR_API_KEY"'
  /api/v1/uploads:
    post:
      operationId: post_api_v1_uploads
      tags:
      - Api
      summary: POST /api/v1/uploads
      x-source: https://aideepfake.io/face-swap-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1UploadsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -X POST https://aideepfake.io/api/v1/uploads  -H "x-api-key: adf_YOUR_API_KEY"  -H "Content-Type: application/json"  -d
          ''{"fileName": "target.jpg", "contentType": "image/jpeg"}'''
components:
  schemas:
    PostApiV1FaceSwapRequest:
      type: object
      properties:
        sourceUrl:
          type: string
          description: URL of the source face image.
        targetUrl:
          type: string
          description: URL of the target image or video.
        targetType:
          type: string
          description: Set to "image" or "video".
        faceEnhance:
          type: boolean
        frameEnhance:
          type: boolean
        watermark:
          type: boolean
        targetDurationSeconds:
          type: integer
      required:
      - sourceUrl
      - targetUrl
      - targetType
    PostApiV1FaceSwapResponse:
      type: object
      properties:
        success:
          type: boolean
        data.taskId:
          type: string
        data.creditsCost:
          type: integer
    PutApiV1FaceSwapRequest:
      type: object
      properties:
        sourceUrl:
          type: string
        targetUrl:
          type: string
        targetType:
          type: string
    PostApiV1UploadsRequest:
      type: object
      properties:
        fileName:
          type: string
        contentType:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
security:
- apiKey: []
tags:
- name: Api