Seedance 2 Mini
Seedance 2 Mini video generation — cost-efficient tier with native audio, 4-15s, native 480p/720p output (API resolution values remain 720p/1080p), standard / real / wild modes
Fonctionnalités
- 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)
Tarification
| Mode / Resolution | 4s | 8s | 12s | 15s |
|---|---|---|---|---|
| Standard · Wild / 720p | 20 | 40 | 60 | 75 |
| Standard · Wild / 1080p | 45 | 90 | 130 | 165 |
| Real / 720p | 30 | 55 | 85 | 105 |
| Real / 1080p | 60 | 120 | 180 | 225 |
Example pricing for text/image inputs. Resolution rows use the API values: 720p produces native 480p output and 1080p produces native 720p output. 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.
Point de terminaison
POST
/api/v1/videos/generateParamètres
| Paramètre | Type | Obligatoire | Description |
|---|---|---|---|
| model | string | Obligatoire | Must be "seedance2mini" |
| mode | string | Facultatif | "standard", "real", or "wild" rendering mode. channel is accepted as an alias. Defaults to the real mode when omitted. |
| type | string | Facultatif | "text-to-video", "image-to-video", or "media-to-video" (auto-detected from media_urls/image_urls when omitted) |
| prompt | string | Obligatoire | Text prompt (3-2500 chars) |
| media_urls | string[] | Facultatif | Reference media URLs. Supports images, videos, and audio; detected by file extension. |
| image_urls | string[] | Facultatif | Image-only reference URLs. media_urls takes precedence when both are provided. |
| input_image | string | Facultatif | Deprecated. Alias for image_urls[0] |
| aspect_ratio | string | Facultatif | "1:1", "21:9", "4:3", "3:4", "16:9", or "9:16" (default: 16:9) |
| duration | string | Facultatif | "4" through "15" seconds (default: 4) |
| resolution | string | Facultatif | "720p" or "1080p" (default: 720p). These API values produce native 480p and 720p output respectively; billing is unchanged. Mini does not support 4k. |
| generate_audio | boolean | Facultatif | Generate synchronized audio (default: true). Set to false for silent video. |
| seed | integer | Facultatif | -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. |
Exemple de Requête (Texte vers Vidéo)
{
"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
}Exemple de Requête (Image vers Vidéo)
{
"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
}Exemple de réponse
{
"success": true,
"data": {
"task_id": "task_seedance2mini_123",
"credits_used": 20,
"remaining_credits": 980,
"model": "seedance2mini",
"mode": "standard"
}
}Exemples de Code (Texte vers Vidéo)
curl -X POST https://preview.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
}'Exemples de Code (Image vers Vidéo)
curl -X POST https://preview.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
}'