Create a Seedance video task
Submit a text-to-video or reference-media Seedance task.
Create a Seedance video task
curl -X POST "https://router.chbcloud.com/api/v3/contents/generations/tasks" \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{}'Successful response.
{
"id": "string"
}Creates an asynchronous Seedance video task from text, images, video, audio, or asset:// references. Persist the returned task ID and do not blindly resubmit after a network timeout.
Use the InnoPaaS AppKey as a Bearer token. Create or manage keys in Console. API key guide
Authorization
AuthorizationBody
application/jsonmodelExact model ID returned by the model list operation.
ratioOutput aspect ratio, for example 16:9 or 9:16.
contentText and media content blocks.
Show child attributesHide child attributes
content[].roleOptional semantic role such as reference_image, reference_video, or reference_audio.
content[].textPrompt text for a text block.
content[].typeContent block type.
durationRequested video duration in seconds.
1watermarkWhether to add a watermark.
resolutionRequested output resolution, for example 720p.
generate_audioWhether to generate or retain audio when supported.
Response
application/jsonSuccessful response.
idPublic task ID used for status queries.
{
"id": "string"
}