Add Seedance video generation with one API
An asynchronous video generation service for developers. Submit a task, poll its status, and receive an object-storage video URL when it completes.
OpenAI Video style
Create a task with POST /v1/videos and query the result with GET /v1/videos/{id}.
Asynchronous jobs
Receive a task ID immediately and follow queued, in_progress, completed, and failed states.
Direct video URLs
Read metadata.url after completion instead of constructing an object-storage path yourself.
Publicly listed models
The public catalog currently lists seedance2.0, seedance2.5, seedance2.0-fast, and seedance2.0-mini on the openai-video endpoint. Always confirm availability with the current API key.
| Model | Generation modes | Endpoint |
|---|---|---|
| seedance2.0 | Text, first/last frame, references | POST /v1/videos |
| seedance2.5 | Text, first/last frame, references | POST /v1/videos |
| seedance2.0-fast | Availability depends on the account | POST /v1/videos |
| seedance2.0-mini | Availability depends on the account | POST /v1/videos |
From request to video
- Create an API keySign in and create a model API key for the server.
- Submit a taskSend a model, prompt, and optional references to /v1/videos.
- Poll statusQuery every 3 to 5 seconds until completed or failed.
- Read the resultDownload the video from metadata.url.
curl --request POST "https://ling-light.com/v1/videos" \
--header "Authorization: Bearer $VIDEO_API_KEY" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: $(uuidgen)" \
--data '{
"model": "seedance2.0",
"prompt": "An orange cat watching rain from a windowsill, slow camera push-in",
"seconds": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}'Read the API contract first
Request fields, reference rules, idempotency, and error handling determine how stable your integration will be.
Quickstart
Go from an API key to your first video task.
Tasks and errors
Handle polling, terminal states, idempotency, and rate limits.
Seedance 2.0
Generation modes, reference limits, and request examples.
Seedance 2.5
Higher reference limits through the same task API.