Seedance 2
Seedance 2 video generation with text-to-video, image-to-video, and multimodal reference support
Funktionen
- Text-to-video generation
- Image-to-video generation
- Image, video, and audio reference inputs
- Fast and Pro model options
- Standard, real-person, and wild rendering modes
- 4-15 second outputs
Preise
| Model / Resolution | 4s | 8s | 12s | 15s |
|---|---|---|---|---|
| seedance2-fast / 720p | 60 (~$0.67) | 120 (~$1.33) | 180 (~$2.00) | 225 (~$2.50) |
| seedance2 / 720p | 72 (~$0.80) | 144 (~$1.60) | 216 (~$2.40) | 270 (~$3.00) |
| seedance2 / 1080p | 108 (~$1.20) | 216 (~$2.40) | 324 (~$3.60) | 405 (~$4.50) |
Example pricing for text/image inputs. Requests with video or audio references use doubled media-reference pricing.
Endpunkt
POST
/api/v1/videos/generateParameter
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| model | string | Erforderlich | "seedance2" for Pro quality or "seedance2-fast" for Fast quality |
| mode | string | Optional | "standard", "real", or "wild" rendering mode. channel is accepted as an alias. |
| type | string | Optional | "text-to-video", "image-to-video", or "media-to-video" (auto-detected from media_urls/image_urls when omitted) |
| prompt | string | Erforderlich | Text prompt (3-2500 chars) |
| media_urls | string[] | Optional | Reference media URLs. Supports images, videos, and audio; detected by file extension. |
| image_urls | string[] | Optional | Image-only reference URLs. media_urls takes precedence when both are provided. |
| input_image | string | Optional | Deprecated. Alias for image_urls[0] |
| aspect_ratio | string | Optional | "1:1", "21:9", "4:3", "3:4", "16:9", or "9:16" (default: 16:9) |
| duration | string | Optional | "4" through "15" seconds (default: 4) |
| resolution | string | Optional | "480p", "720p", or "1080p" (default: 720p) |
| fallback | boolean | Optional | Allow automatic service fallback when available (default behavior) |
api_docs.pages.common.request_example_t2v
{
"model": "seedance2",
"mode": "standard",
"type": "text-to-video",
"prompt": "A cinematic drone shot over a futuristic coastal city at sunrise",
"aspect_ratio": "16:9",
"duration": "8",
"resolution": "1080p",
"fallback": true
}api_docs.pages.common.request_example_i2v
{
"model": "seedance2-fast",
"mode": "real",
"prompt": "A product spins slowly on a clean studio turntable with soft reflections",
"media_urls": ["https://example.com/product.png"],
"aspect_ratio": "16:9",
"duration": "6",
"resolution": "720p"
}Antwortbeispiel
{
"success": true,
"data": {
"task_id": "task_seedance2_123",
"credits_used": 216,
"remaining_credits": 784,
"model": "seedance2",
"mode": "standard"
}
}api_docs.pages.common.code_examples_t2v
curl -X POST https://gateway.bananapro.site/api/v1/videos/generate \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance2",
"mode": "standard",
"type": "text-to-video",
"prompt": "A cinematic drone shot over a futuristic coastal city at sunrise",
"aspect_ratio": "16:9",
"duration": "8",
"resolution": "1080p"
}'api_docs.pages.common.code_examples_i2v
curl -X POST https://gateway.bananapro.site/api/v1/videos/generate \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance2-fast",
"mode": "real",
"prompt": "A product spins slowly on a clean studio turntable with soft reflections",
"media_urls": ["https://example.com/product.png"],
"aspect_ratio": "16:9",
"duration": "6",
"resolution": "720p"
}'