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-reference-to-video",
"prompt": "Reference @Image1 character styling, @Video1 camera movement rhythm, @Audio1 emotional atmosphere, generate a rainy night street performance video",
"image_urls": [
"https://example.com/character.jpg"
],
"video_urls": [
"https://example.com/motion.mp4"
],
"audio_urls": [
"https://example.com/music.mp3"
],
"aspect_ratio": "adaptive",
"duration": -1,
"generate_audio": true
}
'{
"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 Multimodal Reference to Video
- Seedance 2.0 multimodal reference-to-video model, generate videos from reference images, videos, and audio
- The standard version supports
480p/720p/1080p; Fast supports only480p/720p - Up to 9 reference images, 3 reference videos, and 3 reference audio clips, total not exceeding 12
- Use @Image1, @Video1, @Audio1 etc. in the prompt to reference materials
- 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-reference-to-video",
"prompt": "Reference @Image1 character styling, @Video1 camera movement rhythm, @Audio1 emotional atmosphere, generate a rainy night street performance video",
"image_urls": [
"https://example.com/character.jpg"
],
"video_urls": [
"https://example.com/motion.mp4"
],
"audio_urls": [
"https://example.com/music.mp3"
],
"aspect_ratio": "adaptive",
"duration": -1,
"generate_audio": true
}
'{
"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