Jiniu AIJiniu AI
Docs
VideosVolcano native format

Create a video generation task

Asynchronously create a Seedance 2.0 video generation task. Supports text-to-video, image-to-video and multimodal reference generation.

POST
/api/v3/contents/generations/tasks

Request Body

application/json

model*string

Model name, for example dreamina-seedance-2-0-260128

content*

Multimodal input mixing the text prompt with reference images or videos

resolution?string

Output resolution. 480p and 720p share the base tier; 1080p is billed at 1.1× the base price and is supported by the standard model only

Value in"480p" | "720p" | "1080p"
ratio?string

Aspect ratio

duration?integer

Duration in seconds

frames?integer

Total frame count; use either this or duration

framespersecond?integer

Frame rate

seed?integer

Random seed; fixing it makes results reproducible

camera_fixed?boolean

Whether to lock the camera

watermark?boolean

Whether to add a watermark

generate_audio?boolean

Whether to generate an audio track

draft?boolean

Draft mode

return_last_frame?boolean

Whether to return the last frame

callback_url?string

Callback URL invoked when the task finishes

service_tier?string

Service tier

priority?integer

Scheduling priority

execution_expires_after?integer

Task timeout in seconds

safety_identifier?string

Content-safety identifier

Response Body

application/json

curl -X POST "https://jiniu.ai/api/v3/contents/generations/tasks" \  -H "Content-Type: application/json" \  -d '{    "model": "dreamina-seedance-2-0-260128",    "content": [      {}    ]  }'
{
  "id": "cgt-2026xxxx-xxxxx"
}