Skip to main content

Endpoints

MethodEndpointDescription
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

request_type
string
default:"async"
async (polling) or callback (webhook)
callback_url
string
Callback URL, required when request_type=callback (conditional)
provider
string
default:"auto"
Routing strategy: auto, value, or official
input
object
required
Model input parameters
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

taskId
string
Unique task identifier.
state
string
Current task state: pending, processing, processing_r2, success, or failed.
resultJson
string
JSON string containing resultUrls array. Only present on success. Parse with JSON.parse().
failCode
string
Error code. Only present when state is failed. See Error Codes.
failMsg
string
Human-readable error message. Only present when state is failed.
createTime
integer
Task creation timestamp (Unix milliseconds).
completeTime
integer
Task completion timestamp (Unix milliseconds).
costTime
integer
Processing duration in milliseconds.

Error Codes

CodeDescription
400Invalid parameters or request error
401Invalid or missing API Key
429Rate limit exceeded
Fail CodeDescription
Provider-specificReturned 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
ConfigurationPrice (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

LimitDescription
DefaultFollows 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.