Endpoints
Method Endpoint Description POST /api/v1/generateTask/seedance-2-0-fastCreate generation task GET /api/v1/statusTask/seedance-2-0-fastQuery task status
Authentication
All requests require an API Key in the header:
Authorization: Bearer YOUR_API_KEY
Request Body
{
"request_type" : "async" ,
"provider" : "official" ,
"input" : {
"mode" : "text-to-video" ,
"prompt" : "a cinematic tracking shot through a rainy neon street" ,
"resolution" : "720p" ,
"duration" : 5 ,
"aspect_ratio" : "16:9" ,
"sound" : true ,
"web_search" : false
}
}
Parameters
async (polling) or callback (webhook)
Callback URL, required when request_type=callback (conditional)
Routing strategy: auto, value, or official
Model input parameters mode
string
default: "text-to-video"
required
text-to-video, first_and_last_frames, or omni_reference
Text description of the desired video
Output resolution: 480p or 720p
duration
integer
default: "5"
required
Video duration in seconds: 4-15
auto, 16:9, 4:3, 1:1, 3:4, 9:16, or 21:9
Whether to generate audio
Enable real-time web search to reference up-to-date information during generation
Reference images. Required for first_and_last_frames (1-2 images). Optional for omni_reference (1-9 images). (conditional)
Reference videos. Only for omni_reference mode, 1-3 URLs. Each 2-15s, total max 15s. (conditional)
Reference audio. Only for omni_reference mode, 1-3 URLs. Each 2-15s, total max 15s. (conditional)
Mode Options:
text-to-video — Generate video from text prompt only
first_and_last_frames — Generate video from first frame or first+last frame images. Requires image_urls.
omni_reference — Multimodal reference generation combining images, videos, and audio
Constraints:
first_and_last_frames requires image_urls with 1-2 images.
omni_reference supports image_urls (max 9), video_urls (max 3), audio_urls (max 3).
omni_reference with only audio_urls (no images or videos) will fail.
Each reference video and audio must be 2-15 seconds. Total duration per type cannot exceed 15 seconds.
Example
Text-to-Video
curl -X POST "https://api.apixo.ai/api/v1/generateTask/seedance-2-0-fast" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_type": "async",
"provider": "official",
"input": {
"mode": "text-to-video",
"prompt": "a cinematic tracking shot through a rainy neon street",
"resolution": "720p",
"duration": 5,
"aspect_ratio": "16:9",
"sound": true,
"web_search": false
}
}'
First and Last Frames
curl -X POST "https://api.apixo.ai/api/v1/generateTask/seedance-2-0-fast" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_type": "callback",
"callback_url": "https://your-server.com/callback",
"provider": "official",
"input": {
"mode": "first_and_last_frames",
"prompt": "turn the still frames into a smooth cinematic camera move",
"image_urls": [
"https://example.com/frame-start.png",
"https://example.com/frame-end.png"
],
"resolution": "720p",
"duration": 5,
"aspect_ratio": "9:16",
"sound": true
}
}'
Omni Reference
curl -X POST "https://api.apixo.ai/api/v1/generateTask/seedance-2-0-fast" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_type": "async",
"provider": "official",
"input": {
"mode": "omni_reference",
"prompt": "create a stylish product ad using the visual references and voice rhythm",
"image_urls": [
"https://example.com/product-shot.png"
],
"video_urls": [
"https://example.com/ref-motion.mp4"
],
"audio_urls": [
"https://example.com/ref-audio.mp3"
],
"resolution": "480p",
"duration": 6,
"aspect_ratio": "auto",
"sound": true,
"web_search": false
}
}'
Response
POST /api/v1/generateTask/seedance-2-0-fast
Returns taskId on success for subsequent status queries.
Success:
{
"code" : 200 ,
"message" : "success" ,
"data" : {
"taskId" : "task_12345678"
}
}
GET /api/v1/statusTask/seedance-2-0-fast
Query task execution status and results via taskId.
curl -X GET "https://api.apixo.ai/api/v1/statusTask/seedance-2-0-fast?taskId=task_12345678" \
-H "Authorization: Bearer YOUR_API_KEY"
Success:
{
"code" : 200 ,
"message" : "success" ,
"data" : {
"taskId" : "task_12345678" ,
"state" : "success" ,
"resultJson" : "{ \" resultUrls \" :[ \" https://r2.apixo.ai/video.mp4 \" ]}" ,
"createTime" : 1767965610929 ,
"completeTime" : 1767965670929 ,
"costTime" : 60000
}
}
Failure:
{
"code" : 200 ,
"message" : "success" ,
"data" : {
"taskId" : "task_12345678" ,
"state" : "failed" ,
"failCode" : "UPSTREAM_ERROR" ,
"failMsg" : "Upstream error message"
}
}
Status Response Fields
Current task state: pending, processing, processing_r2, success, or failed.
JSON string containing resultUrls array. Only present on success. Parse with JSON.parse().
Error code. Only present when state is failed. See Error Codes .
Human-readable error message. Only present when state is failed.
Task creation timestamp (Unix milliseconds).
Task completion timestamp (Unix milliseconds).
Processing duration in milliseconds.
Error Codes
Code Description 400 Invalid parameters or request error 401 Invalid or missing API Key 429 Rate limit exceeded
Fail Code Description Provider-specific Returned in data.failCode when task execution fails
Billing
Billing unit: PER_SECOND
Duration range: 4-15 seconds
Without video reference: output video seconds × per-second rate
With video reference: (input video seconds + output video seconds) × per-second rate
Configuration Price (per second) 480p, without video reference $0.11 480p, with video reference $0.08 720p, without video reference $0.22 720p, with video reference $0.14
“With video reference” applies when mode=omni_reference and video_urls is provided.
text-to-video and first_and_last_frames always use “without video reference” pricing.
Rate Limits
Limit Description Default Follows the API Key level rate limits configured for your account
Tips
APIXO Exclusive — Unlimited Concurrency: APIXO is the only provider offering Seedance 2.0 Fast with no concurrency limits. Submit as many parallel tasks as your workflow demands.
APIXO Exclusive — Real-Person Portraits: APIXO exclusively supports generating videos with real human portraits and copyrighted material in reference images. Note: reference videos cannot contain faces.
APIXO Exclusive — Hidden Capabilities: APIXO unlocks additional model capabilities not available through other providers, giving you access to the full potential of Seedance 2.0 Fast.
Seedance 2.0 Fast supports three modes: text-to-video for prompt-only, first_and_last_frames for keyframe animation, and omni_reference for multimodal creation with images, videos, and audio.
Average generation time is 3-6 minutes. Wait about 200-300 seconds before the first status poll, then poll every 10-20 seconds.
For production, prefer callback mode to reduce polling overhead.
For omni_reference with video_urls, billing uses (input video seconds + output video seconds) × per-second rate. See the Billing section for all tiers.
Result URLs are temporary. Download generated videos promptly after task completion.
Enable web_search=true to let the model reference current information during generation.