VEED Fabric 1.0 API
Turn an image and an audio track into a talking, lip-synced video.
Turn an image and an audio track into a talking, lip-synced video.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/veed-io:veed-io-fabric-1-0-api"
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.
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: 3.2.0
info:
title: VEED Fabric 1.0 API
version: 1.0.0
description: Turn an image and an audio track into a talking, lip-synced video.
servers:
- url: https://api.veed.io
tags:
- description: Turn an image and an audio track into a talking, lip-synced video.
name: Fabric 1.0
x-veed-categories:
- Avatars
paths:
/v1/fabric-1.0:
post:
description: 'Start an asynchronous job that animates a source image to lip-sync it to an audio track, producing a talking video at the resolution you choose.
**Inputs**
- `image_url` — public URL of the source image, which should show a clear face. Photos, illustrations, mascots and stylised characters all work
- `audio_url` — public URL of the speech to lip-sync. The model takes audio, not text: to make the image say a script, generate the audio with a text-to-speech tool first
- `resolution` — output resolution: `480p` or `720p`
**What happens next**
The job is **accepted immediately** — you get `202 Accepted` with a `job_id` and status `PROCESSING`. Rendering usually takes a minute or two; poll `GET /v1/fabric-1.0/{job_id}` until the job is `COMPLETED` or `FAILED`.'
operationId: submit-fabric
parameters:
- description: Set to `0` to not store this request's and response's bodies. They are then not available in your request logs for debugging.
in: header
name: X-Veed-Store-IO
schema:
default: '1'
enum:
- '0'
- '1'
type: string
- description: Number of seconds before the media URLs returned for this request expire. A value above the maximum is capped rather than rejected.
in: header
name: X-Veed-Media-Expiration-Seconds
schema:
default: 86400
format: int32
maximum: 2592000
type: integer
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FabricInput'
required: true
responses:
'202':
content:
application/json:
example:
data:
job_id: 123e4567-e89b-12d3-a456-426614174000
status: PROCESSING
credits_estimated: 60
schema:
$ref: '#/components/schemas/ResourceFabricJob'
description: Accepted
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Unauthorized
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'402':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Payment Required
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Unprocessable Entity
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Rate limit exceeded
headers:
Retry-After:
description: Seconds until the rate limit resets.
schema:
type: integer
X-RateLimit-Class:
description: The rate-limit class that was hit (read, mutation, ai-generation).
schema:
type: string
X-RateLimit-Limit:
description: Request budget for the matched class.
schema:
type: integer
X-RateLimit-Remaining:
description: Remaining requests in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix time (seconds) when the budget resets.
schema:
type: integer
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Internal Server Error
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
security:
- bearerAuth: []
summary: Submit a fabric-1.0 job
tags:
- Fabric 1.0
x-veed-media:
inputs:
- image
- audio
outputs:
- video
x-veed-model-slug: veed/fabric-one-lipsync
x-veed-poll-interval-seconds: 10
x-veed-preview:
image: https://static-assets.veed.io/api-landing/fabric.jpg
video: https://static-assets.veed.io/api-landing/fabric.mp4
x-veed-pricing:
currency: USD
dimensions:
- field: resolution
label: Resolution
measure: the generated video
rates:
- amount: 0.08
when:
resolution: 480p
- amount: 0.15
when:
resolution: 720p
rounding: exact
unit: second
unit_quantity: 1
/v1/fabric-1.0/{job_id}:
get:
description: 'Retrieve the current state of a fabric-1.0 job by its `job_id`.
The response uses the shared job envelope, whose `status` is one of:
- **`PROCESSING`** — still rendering; the result is empty
- **`COMPLETED`** — done; the result holds the rendered video
- **`FAILED`** — the job was accepted but rendering failed; the error holds a fabric-1.0 failure code
Poll this endpoint until the status is `COMPLETED` or `FAILED`. An unknown `job_id` returns `404 Not Found`.
**Failure codes**
| Code | Meaning |
| --- | --- |
| `input_validation` | An input is missing or invalid. `error.details` names the input at fault when there is one. |
| `content_moderation` | An input breaks the content rules. Only send images, video and voices you own or have permission to use. |
| `invalid_file` | A file could not be read. Check its format, and that it is not corrupted. |
| `audio_too_long` | The audio is longer than the model accepts. Shorten it, or split it across jobs. |
| `transload_failed` | A file could not be downloaded from its URL. Make sure the URL is public and works without a login. |
| `generation_failed` | The model failed while rendering. Retry; if it keeps failing, contact support with the `job_id`. |
| `timeout` | The job ran out of time. Retry; if it keeps failing, contact support with the `job_id`. |
| `insufficient_credits` | The balance ran out before the job could be paid for. Top up in the dashboard''s Billing, then retry. |'
operationId: get-fabric
parameters:
- description: Identifier of the fabric-1.0 job, returned when the job was submitted.
in: path
name: job_id
required: true
schema:
description: Identifier of the fabric-1.0 job, returned when the job was submitted.
examples:
- 123e4567-e89b-12d3-a456-426614174000
format: uuid
type: string
- description: Set to `0` to not store this request's and response's bodies. They are then not available in your request logs for debugging.
in: header
name: X-Veed-Store-IO
schema:
default: '1'
enum:
- '0'
- '1'
type: string
- description: Number of seconds before the media URLs returned for this request expire. A value above the maximum is capped rather than rejected.
in: header
name: X-Veed-Media-Expiration-Seconds
schema:
default: 86400
format: int32
maximum: 2592000
type: integer
responses:
'200':
content:
application/json:
example:
data:
job_id: 123e4567-e89b-12d3-a456-426614174000
status: COMPLETED
result:
video:
url: https://static-assets.veed.io/api-examples/fabric-example.mp4
content_type: video/mp4
file_name: fabric-example.mp4
file_size: 1465766
credits_charged: 60
schema:
$ref: '#/components/schemas/ResourceFabricJob'
description: OK
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Unauthorized
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Not Found
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Unprocessable Entity
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Rate limit exceeded
headers:
Retry-After:
description: Seconds until the rate limit resets.
schema:
type: integer
X-RateLimit-Class:
description: The rate-limit class that was hit (read, mutation, ai-generation).
schema:
type: string
X-RateLimit-Limit:
description: Request budget for the matched class.
schema:
type: integer
X-RateLimit-Remaining:
description: Remaining requests in the current window.
schema:
type: integer
X-RateLimit-Reset:
description: Unix time (seconds) when the budget resets.
schema:
type: integer
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
description: Internal Server Error
headers:
X-Request-ID:
description: Correlation id for this request, adopted from the request or minted at the edge.
schema:
format: uuid
type: string
security:
- bearerAuth: []
summary: Get a fabric-1.0 job
tags:
- Fabric 1.0
components:
schemas:
FabricInput:
additionalProperties: false
properties:
$schema:
description: A URL to the JSON Schema for this object.
examples:
- https://api.veed.io/schemas/FabricInput.json
format: uri
readOnly: true
type: string
audio_url:
description: URL of the audio track to lip-sync to.
examples:
- https://static-assets.veed.io/api-examples/fabric-input.mp3
format: uri
maxLength: 8192
minLength: 1
pattern: ^[Hh][Tt][Tt][Pp][Ss]?://
patternDescription: an http(s) URL
type: string
image_url:
description: URL of the source image to animate.
examples:
- https://static-assets.veed.io/api-examples/fabric-input.png
format: uri
maxLength: 8192
minLength: 1
pattern: ^[Hh][Tt][Tt][Pp][Ss]?://
patternDescription: an http(s) URL
type: string
resolution:
description: Output video resolution.
enum:
- 720p
- 480p
examples:
- 720p
type: string
required:
- image_url
- audio_url
- resolution
type: object
ErrorDetail:
additionalProperties: false
properties:
field:
type: string
message:
type: string
reason:
enum:
- api_key_expired
- api_key_inactive
- api_key_invalid
- api_key_revoked
- api_key_workspace_unavailable
- insufficient_credits
- job_not_found
- model_access_required
- oauth_token_invalid
type: string
retry_after_ms:
format: int64
type: integer
type:
type: string
value: {}
required:
- type
type: object
JobErrorDetail:
additionalProperties: false
properties:
field:
description: Dotted path to the offending input, when applicable.
type: string
message:
description: Human-readable explanation of this detail.
type: string
type:
description: The category of this detail entry.
type: string
required:
- type
- message
type: object
FabricVideo:
additionalProperties: false
properties:
video:
$ref: '#/components/schemas/File'
description: Generated lip-synced video.
required:
- video
type: object
ResourceFabricJob:
additionalProperties: false
properties:
$schema:
description: A URL to the JSON Schema for this object.
examples:
- https://api.veed.io/schemas/ResourceFabricJob.json
format: uri
readOnly: true
type: string
data:
$ref: '#/components/schemas/FabricJob'
required:
- data
type: object
FabricJob:
additionalProperties: false
properties:
credits_charged:
description: Credits charged for the job. Present once the job is COMPLETED and the final charge is known.
format: int32
type: integer
credits_estimated:
description: 'Credits quoted before the job ran. Present only on the response that created the job. This is an estimate, not the price: the charged amount can be higher or lower.'
format: int32
type: integer
error:
$ref: '#/components/schemas/JobErrorFabricErrorCode'
description: Failure information. Present once the job has FAILED.
job_id:
description: Stable identifier of the job and of the resource it produces.
format: uuid
type: string
result:
$ref: '#/components/schemas/FabricVideo'
description: The produced resource. Present once the job is COMPLETED.
status:
description: Current lifecycle state of the job.
enum:
- PROCESSING
- COMPLETED
- FAILED
- CANCELLED
type: string
required:
- job_id
- status
type: object
JobErrorFabricErrorCode:
additionalProperties: false
properties:
code:
description: Stable, machine-readable failure code for this job type.
enum:
- input_validation
- content_moderation
- invalid_file
- audio_too_long
- transload_failed
- generation_failed
- timeout
- insufficient_credits
type: string
details:
description: Optional structured failure details.
items:
$ref: '#/components/schemas/JobErrorDetail'
type:
- array
- 'null'
message:
description: Human-readable failure message.
type: string
required:
- code
- message
type: object
ErrorResponse:
additionalProperties: false
properties:
$schema:
description: A URL to the JSON Schema for this object.
examples:
- https://api.veed.io/schemas/ErrorResponse.json
format: uri
readOnly: true
type: string
error:
$ref: '#/components/schemas/ErrorBody'
required:
- error
type: object
ErrorBody:
additionalProperties: false
properties:
code:
enum:
- invalid_request
- unauthenticated
- insufficient_tokens
- permission_denied
- not_found
- conflict
- rate_limited
- unavailable
- internal
type: string
details:
items:
$ref: '#/components/schemas/ErrorDetail'
type:
- array
- 'null'
message:
type: string
request_id:
type: string
required:
- code
- message
- request_id
type: object
File:
additionalProperties: false
properties:
content_type:
description: The mime type of the file.
examples:
- video/mp4
type: string
file_name:
description: The name of the file.
type: string
file_size:
description: The size of the file in bytes.
format: int64
type: integer
url:
description: The URL where the file can be downloaded from.
type: string
required:
- url
type: object
securitySchemes:
bearerAuth:
bearerFormat: API key
description: 'Workspace API key presented as a bearer token: `Authorization: Bearer vp_...`.'
scheme: bearer
type: http