Submit a request
Create an async generation task and poll the task endpoint for terminal status updates.
Doubao Seedance 1.0 Pro Quality targets quality-first video generation and is suitable for scenes that care more about visual expression.
Submit a task to MindVideo with your platform model slug. The response includes a request ID, task ID, normalized status, and estimated cost.
For production retries, send a unique Idempotency-Key per business request. Reusing the same key with the same payload returns the original task without charging again; reusing it with different input returns 409.
curl -X POST https://api.mindvideo.ai/api/v1/tasks \
-H "Authorization: Bearer mv_live_xxx" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: task_$(date +%s)" \
-d '{
"model": "doubao-seedance-1-0-pro-quality",
"input": {
"prompt": "A girl spinning under cherry blossoms, petals drifting in the wind",
"aspect_ratio": "9:16",
"resolution": "1080p",
"duration": 5
}
}'Every server-side request must include an API key in the Authorization header. Keys can be created, disabled, and deleted from the dashboard.
The platform maps runtime states into queued, processing, succeeded, failed, or cancelled so clients do not depend on model-specific fields.
Create an async generation task and poll the task endpoint for terminal status updates.
curl https://api.mindvideo.ai/api/v1/tasks/task_demo_model \
-H "Authorization: Bearer mv_live_xxx"curl https://api.mindvideo.ai/api/v1/tasks/task_demo_model/events \
-H "Authorization: Bearer mv_live_xxx"{
"request_id": "req_demo_model",
"task_id": "task_demo_model",
"status": "succeeded",
"cost_estimate": 0.585,
"cost_actual": 0.585,
"output": {
"videos": [
{
"url": "https://example.com/output/demo.mp4"
}
]
}
}Inputs can reference hosted files or compact data URIs depending on model constraints. Production apps should prefer stable hosted URLs.
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 4294967295,
"minimum": -1,
"x-playground": {
"advanced": true
}
},
"prompt": {
"type": "string",
"title": "Prompt",
"minLength": 1,
"description": "Video content description.",
"x-playground": {
"rows": 6,
"widget": "textarea"
}
},
"duration": {
"type": "integer",
"title": "Duration",
"default": 5,
"maximum": 12,
"minimum": 2
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string",
"title": "Resolution",
"default": "1080p"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"21:9"
],
"type": "string",
"title": "Aspect ratio",
"default": "16:9"
},
"image_with_roles": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"role"
],
"properties": {
"url": {
"type": "string"
},
"role": {
"enum": [
"first_frame",
"last_frame"
],
"type": "string"
}
},
"additionalProperties": false
},
"title": "Images with roles",
"maxItems": 2,
"description": "Quality mode supports first-frame and last-frame control, with at most one image for each role.",
"x-playground": {
"advanced": true
}
}
},
"additionalProperties": false
}{
"request_id": "req_demo_model",
"task_id": "task_demo_model",
"status": "succeeded",
"cost_estimate": 0.585,
"cost_actual": 0.585,
"output": {
"videos": [
{
"url": "https://example.com/output/demo.mp4"
}
]
}
}