Decart Jobs API

The Jobs API from Decart — 43 operation(s) for jobs.

GitHub OpenAPI
Business capability
Generative Media AE-110.20

Operations 10

POST /v1/jobs/lucy-restyle-2 Lucy Restyle 2 #
POST /v1/jobs/lucy-2.5 Lucy 2.5 #
POST /v1/jobs/lucy-2.1 Lucy 2.1 #
POST /v1/jobs/lucy-vton-3.5 Lucy VTON 3.5 #
POST /v1/jobs/lucy-vton-3.6 Lucy VTON 3.6 #
GET /v1/jobs/{job_id} Get Job #
GET /v1/jobs/{job_id}/content Get Job Content #
POST /v1/jobs/lucy-latest Lucy Latest #
POST /v1/jobs/lucy-vton-latest Lucy VTON Latest #
POST /v1/jobs/lucy-restyle-latest Lucy Restyle Latest #

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/decart:decart-jobs-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

decart-jobs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Decart Jobs API
  version: 1.0.0
tags:
- name: Jobs
paths:
  /v1/jobs/lucy-restyle-2:
    post:
      summary: Lucy Restyle 2
      description: Restyle video using Lucy Restyle 2 model.
      operationId: lucy_restyle_2_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_restyle_2_v1_jobs_lucy_restyle_2_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-2.5:
    post:
      summary: Lucy 2.5
      description: Edit video using Lucy 2.5 model with optional prompt and reference image. Supports self-anchoring (on by default).
      operationId: lucy_2_5_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_2_5_v1_jobs_lucy_2_5_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-2.1:
    post:
      summary: Lucy 2.1
      description: Edit video using Lucy 2.1 model with optional prompt and reference image.
      operationId: lucy_2_1_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_2_1_v1_jobs_lucy_2_1_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-vton-3.5:
    post:
      summary: Lucy VTON 3.5
      description: Edit video with virtual try-on using the Lucy VTON 3.5 model.
      operationId: lucy_vton_3_5_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_vton_3_5_v1_jobs_lucy_vton_3_5_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-vton-3.6:
    post:
      summary: Lucy VTON 3.6
      description: Edit video with virtual try-on using the Lucy VTON 3.6 model.
      operationId: lucy_vton_3_6_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_vton_3_6_v1_jobs_lucy_vton_3_6_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/{job_id}:
    get:
      summary: Get Job
      description: Get the status and metadata of a job by its ID. Poll this endpoint to check if your job has completed.
      operationId: get_job_v1_jobs__job_id__get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/{job_id}/content:
    get:
      summary: Get Job Content
      description: 'Download the result of a completed job.


        Returns:

        Binary content (image/video) or error if not ready/not found'
      operationId: get_job_content_v1_jobs__job_id__content_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: string
          title: Job Id
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-latest:
    post:
      summary: Lucy Latest
      description: Edit video using the latest Lucy video model with optional prompt and reference image.
      operationId: lucy_latest_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_2_1_v1_jobs_lucy_latest_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-vton-latest:
    post:
      summary: Lucy VTON Latest
      description: Edit video with virtual try-on using the latest Lucy VTON model.
      operationId: lucy_vton_latest_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_vton_v1_jobs_lucy_vton_latest_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
  /v1/jobs/lucy-restyle-latest:
    post:
      summary: Lucy Restyle Latest
      description: Restyle video using the latest Lucy Restyle model.
      operationId: lucy_restyle_latest_job
      parameters:
      - name: x-api-key
        in: header
        required: true
        schema:
          type: string
          description: API key for authentication
          title: X-Api-Key
        description: API key for authentication
      - name: User-Agent
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User-Agent
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_create_job_lucy_restyle_v1_jobs_lucy_restyle_latest_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Jobs
components:
  schemas:
    Body_create_job_lucy_2_1_v1_jobs_lucy_2_1_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          title: Data
          description: Video file to process
          format: binary
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_2_1_v1_jobs_lucy_2_1_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_create_job_lucy_restyle_v1_jobs_lucy_restyle_latest_post:
      properties:
        prompt:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt
          description: Text prompt for the video editing (optional)
        data:
          type: string
          contentMediaType: application/octet-stream
          title: Data
          description: Video file to process
          format: binary
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image file to process (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_restyle_v1_jobs_lucy_restyle_latest_post
    Body_create_job_lucy_vton_3_6_v1_jobs_lucy_vton_3_6_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          format: binary
          title: Data
          description: Video file to process
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_vton_3_6_v1_jobs_lucy_vton_3_6_post
    Body_create_job_lucy_restyle_2_v1_jobs_lucy_restyle_2_post:
      properties:
        prompt:
          anyOf:
          - type: string
          - type: 'null'
          title: Prompt
          description: Text prompt for the video editing (optional)
        data:
          type: string
          contentMediaType: application/octet-stream
          format: binary
          title: Data
          description: Video file to process
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image file to process (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_restyle_2_v1_jobs_lucy_restyle_2_post
    Body_create_job_lucy_vton_3_5_v1_jobs_lucy_vton_3_5_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          format: binary
          title: Data
          description: Video file to process
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_vton_3_5_v1_jobs_lucy_vton_3_5_post
    Body_create_job_lucy_vton_v1_jobs_lucy_vton_latest_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          title: Data
          description: Video file to process
          format: binary
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_vton_v1_jobs_lucy_vton_latest_post
    Body_create_job_lucy_2_5_v1_jobs_lucy_2_5_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          title: Data
          description: Video file to process
          format: binary
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
        self_anchor:
          type: boolean
          title: Self Anchor
          description: Re-anchor on the model's own latent (lucy-2.5 self-anchor). Default on.
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_2_5_v1_jobs_lucy_2_5_post
    Body_create_job_lucy_2_1_v1_jobs_lucy_latest_post:
      properties:
        data:
          type: string
          contentMediaType: application/octet-stream
          title: Data
          description: Video file to process
          format: binary
        prompt:
          type: string
          title: Prompt
          description: Text prompt. Defaults to an empty string.
          default: ''
        reference_image:
          anyOf:
          - type: string
            contentMediaType: application/octet-stream
            format: binary
          - type: 'null'
          title: Reference Image
          description: Reference image (optional)
        seed:
          type: integer
          maximum: 4294967295.0
          minimum: 0.0
          title: Seed
          description: Seed for the video generation
        resolution:
          type: string
          const: 720p
          title: Resolution
          description: Resolution of the video
          default: 720p
        enhance_prompt:
          type: boolean
          title: Enhance Prompt
          description: Whether to enhance the prompt
          default: true
      type: object
      required:
      - data
      title: Body_create_job_lucy_2_1_v1_jobs_lucy_latest_post
x-provenance:
  method: harvested
  publisher: Decart
  source: https://docs.platform.decart.ai/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)