curl --request POST \
--url https://api.aihubmax.com/e/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.0-text-to-video",
"prompt": "Paper boats floating on glowing puddles at night, camera slowly pushing in, cinematic",
"resolution": "480p",
"aspect_ratio": "16:9",
"duration": 4,
"generate_audio": false
}
'{
"created": 1757165031,
"id": "task-unified-1757165031-uyujaw3d",
"model": "<string>",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 45
},
"type": "video"
}{
"error": {
"message": "Invalid request format",
"type": "invalid_request_error"
}
}{
"error": {
"message": "Invalid API key",
"type": "authentication_error"
}
}{
"error": {
"message": "Insufficient account balance",
"type": "insufficient_quota"
}
}{
"error": {
"message": "Parameter validation failed",
"type": "validation_error"
}
}{
"error": {
"message": "Rate limit exceeded",
"type": "rate_limit_error"
}
}{
"error": {
"message": "Internal server error",
"type": "server_error"
}
}{
"error": {
"message": "Service temporarily unavailable, please try again later",
"type": "service_unavailable"
}
}seedance-2.0
Seedance 2.0 Text to Video
- Seedance 2.0 text-to-video model, generate videos from pure text prompts
- The standard version supports
480p/720p/1080p; Fast supports only480p/720p - Supports durations from 4 to 15 seconds and multiple aspect ratios
- Supports synchronized audio generation
- Async processing mode, use the returned task ID to query task status
- Generated video links are valid for 24 hours, please save them promptly
POST
/
v1
/
videos
/
generations
curl --request POST \
--url https://api.aihubmax.com/e/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seedance-2.0-text-to-video",
"prompt": "Paper boats floating on glowing puddles at night, camera slowly pushing in, cinematic",
"resolution": "480p",
"aspect_ratio": "16:9",
"duration": 4,
"generate_audio": false
}
'{
"created": 1757165031,
"id": "task-unified-1757165031-uyujaw3d",
"model": "<string>",
"object": "video.generation.task",
"progress": 0,
"status": "pending",
"task_info": {
"can_cancel": true,
"estimated_time": 45
},
"type": "video"
}{
"error": {
"message": "Invalid request format",
"type": "invalid_request_error"
}
}{
"error": {
"message": "Invalid API key",
"type": "authentication_error"
}
}{
"error": {
"message": "Insufficient account balance",
"type": "insufficient_quota"
}
}{
"error": {
"message": "Parameter validation failed",
"type": "validation_error"
}
}{
"error": {
"message": "Rate limit exceeded",
"type": "rate_limit_error"
}
}{
"error": {
"message": "Internal server error",
"type": "server_error"
}
}{
"error": {
"message": "Service temporarily unavailable, please try again later",
"type": "service_unavailable"
}
}Authorizations
Body
application/json
Response
Task created successfully