SeedVideo AI Tasks API
Check the status of tasks created by your account.
Check the status of tasks created by your account.
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/seeddance-io:seeddance-io-tasks-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: SeedVideo AI Tasks API
version: 1.0.0
description: Use the SeedVideo AI API to create video tasks, track their status, and check your available credits. Video generation runs asynchronously, so create a task first and poll it until it completes or fails.
servers:
- url: https://www.seeddance.io
tags:
- name: Tasks
description: Check the status of tasks created by your account.
paths:
/v1/tasks/{task_id}:
get:
tags:
- Tasks
operationId: getTask
x-codeSamples:
- lang: go
label: Go
source: false
- lang: java
label: Java
source: false
- lang: csharp
label: C#
source: false
- lang: bash
label: cURL
source: "curl \"https://www.seeddance.io/v1/tasks/vid_01JZK7R7KCYQ3T9F33A7K0J6XB\" \\\n -H \"Authorization: Bearer sk_sd_example\""
- lang: js
label: JavaScript
source: "const response = await fetch(\n 'https://www.seeddance.io/v1/tasks/vid_01JZK7R7KCYQ3T9F33A7K0J6XB',\n { headers: { Authorization: 'Bearer sk_sd_example' } }\n);\n\nconst task = await response.json();"
- lang: python
label: Python
source: "import requests\n\nresponse = requests.get(\n \"https://www.seeddance.io/v1/tasks/vid_01JZK7R7KCYQ3T9F33A7K0J6XB\",\n headers={\"Authorization\": \"Bearer sk_sd_example\"},\n timeout=30,\n)\ntask = response.json()"
summary: Get a video task
description: Returns a task created by the authenticated account. While the status is `pending` or `processing`, poll this endpoint with backoff. A completed task includes a durable SeedVideo AI video URL.
security:
- bearerAuth: []
parameters:
- name: task_id
in: path
required: true
description: '`POST /v1/videos/generations` returns this task ID.'
schema:
type: string
example: vid_01JZK7R7KCYQ3T9F33A7K0J6XB
responses:
'200':
description: The task's current state.
headers:
X-Request-Id:
description: The unique ID for this API request. Include it when you contact support.
schema:
type: string
example: req_2YgM6pg5oM2WkKpQ
content:
application/json:
schema:
$ref: '#/components/schemas/Task'
examples:
processing:
summary: Processing
value:
task_id: vid_01JZK7R7KCYQ3T9F33A7K0J6XB
status: processing
model: seedance-2.0-fast
output: null
credits_used: 25
error: null
created_at: '2026-07-22T08:30:00.000Z'
completed_at: null
completed:
summary: Completed
value:
task_id: vid_01JZK7R7KCYQ3T9F33A7K0J6XB
status: completed
model: seedance-2.0-fast
output:
video_url: https://media.seeddance.io/videos/vid_01JZK7R7KCYQ3T9F33A7K0J6XB.mp4
duration: 5
quality: 720p
credits_used: 25
error: null
created_at: '2026-07-22T08:30:00.000Z'
completed_at: '2026-07-22T08:31:12.000Z'
'401':
description: The Bearer API key is missing, invalid, or revoked.
headers:
X-Request-Id:
description: The unique ID for this API request. Include it when you contact support.
schema:
type: string
example: req_2YgM6pg5oM2WkKpQ
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: invalid_api_key
message: The API key is invalid, expired, or revoked.
param: null
request_id: req_2YgM6pg5oM2WkKpQ
'404':
description: This account has no task with this ID.
headers:
X-Request-Id:
description: The unique ID for this API request. Include it when you contact support.
schema:
type: string
example: req_2YgM6pg5oM2WkKpQ
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: task_not_found
message: Task not found.
param: null
request_id: req_2YgM6pg5oM2WkKpQ
'429':
description: The API key reached its rate limit.
headers:
X-Request-Id:
description: The unique ID for this API request. Include it when you contact support.
schema:
type: string
example: req_2YgM6pg5oM2WkKpQ
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: rate_limit_exceeded
message: API rate limit exceeded. Try again later.
param: null
request_id: req_2YgM6pg5oM2WkKpQ
'500':
description: An internal error prevented the API from reading the task.
headers:
X-Request-Id:
description: The unique ID for this API request. Include it when you contact support.
schema:
type: string
example: req_2YgM6pg5oM2WkKpQ
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
code: internal_error
message: The request could not be completed.
param: null
request_id: req_2YgM6pg5oM2WkKpQ
components:
schemas:
Task:
type: object
additionalProperties: false
required:
- task_id
- status
- model
- output
- credits_used
- error
- created_at
- completed_at
properties:
task_id:
type: string
status:
type: string
enum:
- pending
- processing
- completed
- failed
model:
type: string
enum:
- seedance-1.0-pro-fast
- seedance-2.0
- seedance-2.0-fast
- seedance-2.0-mini
- seedance-2.5
output:
oneOf:
- $ref: '#/components/schemas/TaskOutput'
- type: 'null'
credits_used:
type: integer
minimum: 0
description: The API reserves these credits while the task is active and deducts them when it completes.
error:
oneOf:
- type: string
description: A task failure message that is safe to display.
- type: 'null'
created_at:
type: string
format: date-time
completed_at:
oneOf:
- type: string
format: date-time
- type: 'null'
Error:
type: object
additionalProperties: false
required:
- error
properties:
error:
type: object
additionalProperties: false
required:
- code
- message
- param
- request_id
properties:
code:
type: string
description: A stable code for programmatic error handling.
message:
type: string
description: An error message that is safe to show users.
param:
oneOf:
- type: string
- type: 'null'
description: The request field that caused the error, when known.
request_id:
type: string
description: The request ID for support and tracing.
TaskOutput:
type: object
additionalProperties: false
required:
- video_url
properties:
video_url:
type: string
format: uri
description: A durable video URL returned after the task completes successfully.
duration:
type: number
description: The video length in seconds.
quality:
type: string
description: The selected output quality.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: sk_sd_...
description: Create a SeedVideo AI API key in Settings. Send it only from a trusted server.