Seedance 2 Mini
Seedance 2 Mini 视频生成,高性价比档位,原生音频,4-15 秒,720p/1080p,支持标准、真人、狂野三种渲染模式
功能特性
- 文生视频、图生视频、媒体生视频
- 原生音频生成
- 标准、真人、狂野三种渲染模式
- 支持 seed 复现结果(标准 / 狂野模式)
定价
| 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
}'