Seedance 2 Mini
Seedance 2 Mini video generation — cost-efficient tier with native audio, 4-15s, 720p/1080p, standard / real / wild modes
المزايا
- Text-to-video, image-to-video, and media-to-video generation
- Native audio generation
- Standard, real-person, and wild rendering modes
- Reproducible results via seed (explicit standard / real / wild modes)
التسعير
| Mode / Resolution | 4s | 8s | 12s | 15s |
|---|---|---|---|---|
| Standard · Wild / 720p | 20 (~$0.22) | 40 (~$0.44) | 60 (~$0.67) | 75 (~$0.83) |
| Standard · Wild / 1080p | 45 (~$0.50) | 90 (~$1.00) | 130 (~$1.44) | 165 (~$1.83) |
| Real / 720p | 30 (~$0.33) | 55 (~$0.61) | 85 (~$0.94) | 105 (~$1.17) |
| Real / 1080p | 60 (~$0.67) | 120 (~$1.33) | 180 (~$2.00) | 225 (~$2.50) |
Example pricing for text/image inputs. Standard and wild modes share the same rate; the real mode is billed slightly higher. Video or audio reference inputs incur additional per-second billing.
نقطة النهاية
POST
/api/v1/videos/generateالمُعاملات
| معامل | النوع | مطلوب | وصف |
|---|---|---|---|
| model | string | مطلوب | Must be "seedance2mini" |
| mode | string | اختياري | "standard", "real", or "wild" rendering mode. channel is accepted as an alias. Defaults to the real mode when omitted. |
| type | string | اختياري | "text-to-video", "image-to-video", or "media-to-video" (auto-detected from media_urls/image_urls when omitted) |
| prompt | string | مطلوب | Text prompt (3-2500 chars) |
| media_urls | string[] | اختياري | Reference media URLs. Supports images, videos, and audio; detected by file extension. |
| image_urls | string[] | اختياري | Image-only reference URLs. media_urls takes precedence when both are provided. |
| input_image | string | اختياري | Deprecated. Alias for image_urls[0] |
| aspect_ratio | string | اختياري | "1:1", "21:9", "4:3", "3:4", "16:9", or "9:16" (default: 16:9) |
| duration | string | اختياري | "4" through "15" seconds (default: 4) |
| resolution | string | اختياري | "720p" or "1080p" (default: 720p). Mini does not support 4k. |
| generate_audio | boolean | اختياري | Generate synchronized audio (default: true). Set to false for silent video. |
| seed | integer | اختياري | -1 to 4294967295. Fixes the generation seed for reproducibility. Supported by explicit "standard", "real", and "wild" modes, including real-mode asset:// inputs. When mode is omitted, the parameter is accepted but ignored. Set "mode" explicitly for reproducible results. |
مثال الطلب (نص إلى فيديو)
{
"model": "seedance2mini",
"mode": "standard",
"type": "text-to-video",
"prompt": "A lone astronaut drifting toward a ringed planet, sunlight glinting off the visor",
"aspect_ratio": "16:9",
"duration": "4",
"resolution": "720p",
"seed": 12345
}مثال الطلب (صورة إلى فيديو)
{
"model": "seedance2mini",
"mode": "standard",
"type": "image-to-video",
"prompt": "A product spins slowly on a clean studio turntable with soft reflections",
"image_urls": ["https://example.com/product.png"],
"aspect_ratio": "16:9",
"duration": "4",
"resolution": "720p",
"seed": 12345
}مثال على الرد
{
"success": true,
"data": {
"task_id": "task_seedance2mini_123",
"credits_used": 20,
"remaining_credits": 980,
"model": "seedance2mini",
"mode": "standard"
}
}أمثلة الكود (نص إلى فيديو)
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": "seedance2mini",
"mode": "standard",
"type": "text-to-video",
"prompt": "A lone astronaut drifting toward a ringed planet, sunlight glinting off the visor",
"aspect_ratio": "16:9",
"duration": "4",
"resolution": "720p",
"seed": 12345
}'أمثلة الكود (صورة إلى فيديو)
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": "seedance2mini",
"mode": "standard",
"type": "image-to-video",
"prompt": "A product spins slowly on a clean studio turntable with soft reflections",
"image_urls": ["https://example.com/product.png"],
"aspect_ratio": "16:9",
"duration": "4",
"resolution": "720p",
"seed": 12345
}'