FaceSwapAI Tasks API

List tasks owned by the authenticated account.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

GET /api/v1/tasks List account tasks #

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/faceswapai-com:faceswapai-com-tasks-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

faceswapai-com-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FaceSwapAI Face Swap Tasks API
  version: 1.0.0
  description: Production REST API for asynchronous image, video, GIF and multiple-face swaps. Every generation requires a verified account, an API key, sufficient one-time credits and explicit consent.
  termsOfService: https://faceswapai.com/terms
  contact:
    name: FaceSwapAI support
    url: https://faceswapai.com/contact
  license:
    name: FaceSwapAI API Terms
    identifier: Proprietary
  x-referenceClients:
    browsableDocumentation: https://faceswapai.com/face-swap-api#client-examples
    version: 1.0.0
    languages:
    - Node.js
    - Python
    - cURL
servers:
- url: https://faceswapai.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Tasks
  description: List tasks owned by the authenticated account.
paths:
  /api/v1/tasks:
    get:
      operationId: listFaceSwapTasks
      summary: List account tasks
      tags:
      - Tasks
      security:
      - bearerAuth: []
      parameters:
      - name: page
        in: query
        schema:
          type: integer
          minimum: 1
          default: 1
      - name: pageSize
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 10
      - name: status
        in: query
        schema:
          $ref: '#/components/schemas/TaskStatus'
      - name: taskType
        in: query
        schema:
          type: string
          enum:
          - IMAGE_SWAP
          - VIDEO_SWAP
          - GIF_FACE_SWAP
          - MULTI_FACE_SWAP
      responses:
        '200':
          description: Paginated task history.
          content:
            application/json:
              schema:
                type: object
                required:
                - tasks
                - total
                - page
                - pageSize
                - totalPages
                properties:
                  tasks:
                    type: array
                    items:
                      $ref: '#/components/schemas/Task'
                  total:
                    type: integer
                  page:
                    type: integer
                  pageSize:
                    type: integer
                  totalPages:
                    type: integer
              example:
                tasks:
                - id: 123e4567-e89b-12d3-a456-426614174000
                  taskType: IMAGE_SWAP
                  status: COMPLETED
                  costCredits: 6
                  result:
                    url: /outputs/example-result.webp
                    watermarked: false
                  createdAt: '2026-07-28T08:00:00.000Z'
                  completedAt: '2026-07-28T08:00:12.000Z'
                total: 1
                page: 1
                pageSize: 10
                totalPages: 1
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Missing or invalid API key
        '429':
          description: Authenticated request limit reached.
          headers:
            Retry-After:
              description: Whole seconds until the current authenticated minute window resets.
              schema:
                type: integer
                minimum: 1
                maximum: 60
              example: 17
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Too many requests, please slow down.
components:
  schemas:
    Task:
      type: object
      required:
      - id
      - taskType
      - status
      properties:
        id:
          type: string
          format: uuid
        taskType:
          type: string
          enum:
          - IMAGE_SWAP
          - VIDEO_SWAP
          - GIF_FACE_SWAP
          - MULTI_FACE_SWAP
        status:
          $ref: '#/components/schemas/TaskStatus'
        costCredits:
          type: integer
        result:
          type:
          - object
          - 'null'
          properties:
            url:
              type: string
              description: Temporary result URL when completed.
            watermarked:
              type: boolean
              description: 'False for every current result: the watermarked photo trial ended on 2026-10-11.'
            error:
              type: string
              description: Actionable public error when failed.
          additionalProperties: true
        createdAt:
          type: string
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: true
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        required:
          type: integer
        available:
          type: integer
      additionalProperties: true
    TaskStatus:
      type: string
      enum:
      - PENDING
      - PROCESSING
      - COMPLETED
      - FAILED
      - CANCELLED
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: FaceSwapAI API key
      description: 'Create a key in the FaceSwapAI API key manager. Keep it on your server and send it as Authorization: Bearer YOUR_API_KEY.'
externalDocs:
  description: Localized FaceSwapAI API guide and code examples
  url: https://faceswapai.com/face-swap-api