还没有视频。提交表单以生成视频。
探索不同用例和参数配置
透明定价,无隐藏费用。按需支付。
Billing for Video Models
You might notice that models "with video input" have a lower unit price. This is because the billing method differs:
| 规则与模式 | 渠道 | 积分 | 价格(美元) | 官方/参考价格 | 每日节省 |
|---|---|---|---|---|---|
seedance-2-mini-without-video-480p videoByteDanceresolution: 480p, reference_video_urls: empty | Starter | 4per second | $0.018 | ByteDance$0.060per second | 按每日 1,000 个 10 秒视频估算用 ByteDance 原价每天多花 $418.180ApiPass 低 69.70% |
Seedance 2.0 mini 使用完整指南
在 ApiPass 上访问 Seedance 2.0 Mini API,可基于文本、首帧图像、尾帧引导和多模态参考创建高质量视频。它专为可扩展的 AI 视频应用而构建,结合了快速生成、更低推理成本、电影级运动效果、一致的角色支持,以及适合生产环境的异步任务工作流。

Seedance 2.0 Mini 是一款注重成本效益的 AI 视频生成模型,旨在实现更快生成和更低推理成本。它支持文本生成视频、图像生成视频、多参考视频创作、同步音频生成、电影级镜头运动,以及角色一致的叙事。通过 ApiPass,开发者可以提交包含 prompt、可选帧输入、图像/视频/音频参考、分辨率、宽高比、时长和安全设置的生成任务,然后通过 task ID 异步获取结果,或在任务完成时接收回调。
从自然语言 prompt 生成视频,或提供首帧以及可选尾帧来引导图像生成视频。描述镜头运动、主体行为、场景转场、光照和视觉风格,以控制最终结果。
可使用最多 9 张参考图像、最多 3 个参考视频和最多 3 个参考音频文件来引导视频创作。这些输入有助于控制外观、运动、风格和音频方向,从而获得更一致的生产输出。
通过 POST /api/v1/jobs/createTask 提交任务,并通过 GET /api/v1/jobs/recordInfo?taskId=<taskId> 查询状态。如果提供 callBackUrl,ApiPass 会在生成完成后将任务结果发送到你的端点。
Seedance 2.0 Mini 针对更快的生成速度和更低的推理成本进行了优化,非常适合需要可靠吞吐量的大规模 AI 视频产品、内容自动化平台和开发者工作流。
使用多模态输入来引导角色外观、视觉风格、运动行为和音频提示。该 API 支持 reference_image_urls、reference_video_urls 和 reference_audio_urls,同时保持帧输入与参考输入互斥,以确保可预测的验证逻辑。
将 generate_audio 设置为 true,即可在统一工作流中创建带有同步 AI 音频的视频。这减少了为沉浸式短视频体验集成独立声音生成系统的需求。
创建包含平移、变焦、跟拍、流畅运动和专业场景转场的视频。详细的 prompt 可以指定主体运动、镜头行为、光照、节奏和电影风格。
通过图像参考和详细 prompt,在生成片段中保持角色身份、视觉风格和场景一致性。这非常适用于 AI 叙事、品牌内容、虚拟网红和叙事型视频应用。
将创意、脚本和 prompt 转化为适合社交平台的吸引人短视频内容。使用 9:16、16:9、1:1 或 adaptive 等 aspect_ratio 值,以匹配不同发布格式。
通过图像生成视频将产品照片转化为宣传视频。使用 first_frame_url 保留产品的起始构图,然后在 prompt 中描述镜头运动、光照和商业风格。
使用多图像参考,在不同场景、短剧、虚拟网红内容和叙事驱动的视频体验中保持角色身份一致。
将 Seedance 2.0 Mini 集成到创意工具、营销平台和自动化内容流水线中。异步任务流程、回调支持和查询端点使其适合可扩展的生产系统。
Seedance 2.0 Mini 面向需要强大视频质量、同时追求更快生成和更高成本效率的开发者;而更广泛的 Seedance 2.0 系列可用于将最高视觉质量作为首要优先级的场景。
Seedance 2.0 Mini 专注于更快生成、更低成本,以及面向大规模 AI 视频应用的更高性价比。Seedance 2.0 更适合旗舰级质量输出,即在 premium motion detail 和 maximum visual quality 比成本效率更重要的场景。
使用 POST /api/v1/jobs/createTask 提交生成请求。响应会返回 data.taskId。使用 GET /api/v1/jobs/recordInfo?taskId=<taskId> 检查 waiting、queuing、generating、success 或 fail 等 state 值,并在任务成功时读取 resultJson。
如果提供 callBackUrl,ApiPass 会将已完成的任务结果发送到你的端点。如果未提供回调 URL,则不会发送回调通知,你的应用应轮询 Query Task API,直到任务达到 success 或 fail。
Seedance 2.0 Mini 旨在降低视频生成成本,同时保持强劲的视觉表现,适用于 SaaS 团队、AI 视频产品和高频内容工作流。
可选的 channel 参数支持 auto、starter、regular 和 official。auto 让 ApiPass 根据实时价格和稳定性指标,在可用提供方之间分配任务;official 则优先使用模型原生 API 路径。
Prompt 长度必须为 3 到 20000 个字符。reference_image_urls 最多支持 9 张图像,reference_video_urls 最多支持 3 个视频,reference_audio_urls 最多支持 3 个音频文件。Duration 会限制在 4 到 15 秒范围内,resolution 支持 480p 或 720p。
新用户可以在进入生产集成之前,使用免费额度在 ApiPass Playground 中测试 Seedance 2.0 Mini。可尝试文本生成视频、图像生成视频、音频生成、参考输入以及不同宽高比。
从 ApiPass Playground 开始,尝试 prompt、首帧或尾帧图像引导、参考图像、参考视频、参考音频、时长、分辨率、宽高比、generate_audio、web_search 和 nsfw_checker 设置。
创建一个 JSON 请求,将 model 设置为 bytedance/seedance-2-mini,并在 input 中包含你的 prompt 和生成参数。不要将 first_frame_url 或 last_frame_url 与 reference_image_urls、reference_video_urls 或 reference_audio_urls 组合使用。仅对纯文本生成视频请求使用 web_search=true。
使用你的 API key 向 https://api.apipass.dev/api/v1/jobs/createTask 发送 POST 请求。响应会返回 data.taskId,用于标识该异步生成任务。
查询 GET /api/v1/jobs/recordInfo?taskId=<taskId>,直到任务 state 为 success 或 fail。如果你提供 callBackUrl,ApiPass 会将已完成的任务结果发送到你的端点,其结构与 Query Task API 响应相同。
所有 API 都需要通过 Bearer Token 进行身份验证。
Authorization: Bearer
提交新的 Seedance 2.0 Mini 文本生成视频或图像生成视频任务。
该 API 接受具有以下结构的 JSON payload:
1{
2 "model": "bytedance/seedance-2-mini",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 "prompt": "string",
7 "first_frame_url": "string (optional)",
8 "last_frame_url": "string (optional)",
9 "reference_image_urls": ["string"],
10 "reference_video_urls": ["string"],
11 "reference_audio_urls": ["string"],
12 "return_last_frame": false,
13 "generate_audio": true,
14 "resolution": "720p",
15 "aspect_ratio": "16:9",
16 "duration": 5,
17 "web_search": false,
18 "nsfw_checker": false
19 }
20}model必填string用于生成的模型名称。
"bytedance/seedance-2-mini"
callBackUrl可选string用于任务完成通知的回调 URL。如果省略,则不会发送回调。
"https://your-domain.com/api/callback"
channel可选string可选的 APIPASS 服务商路由参数。默认 channel 为 auto;APIPASS 会根据实时价格和稳定性指标,在可用服务商之间自动分配任务。starter 成本极低,但配额有限且稳定性较弱;regular 为标准通道,价格远低于官方 API,稳定性适中;official 使用模型原生 API,稳定性高、任务执行快,并采用官方定价。
默认 channel 为 auto;APIPASS 会根据实时价格和稳定性指标,在可用服务商之间自动分配任务。starter 成本极低,但配额有限且稳定性较弱;regular 为标准通道,价格远低于官方 API,稳定性适中;official 使用模型原生 API,稳定性高、任务执行快,并采用官方定价。
可用选项:
auto
input 对象包含以下参数:
input.prompt必填string用于文本生成视频的文本提示词。
Prompt 长度必须为 3-20000 个字符。为获得最佳效果,请描述主体、镜头运动、风格、光照、场景变化和运动细节。
"A quiet sunrise over a mountain lake, thin mist drifting across the water, soft cinematic light, realistic natural motion."
input.first_frame_url可选string用于图像生成视频的首帧图像 URL。
兼容别名:firstFrameUrl、image_url、image。请勿与 reference_image_urls、reference_video_urls 或 reference_audio_urls 一起使用。
"https://example.com/first.png"
input.last_frame_url可选string用于引导生成视频结尾帧的尾帧图像 URL。
兼容别名:lastFrameUrl。请勿与 reference_image_urls、reference_video_urls 或 reference_audio_urls 一起使用。
"https://example.com/last.png"
input.reference_image_urls可选array<string>参考图像 URL 列表。最多支持 9 张图像。
兼容别名:referenceImageUrls。空值会在发送到上游前被过滤。不能与 first_frame_url 或 last_frame_url 一起使用。
["https://example.com/reference-1.png", "https://example.com/reference-2.png"]
input.reference_video_urls可选array<string>参考视频 URL 列表。最多支持 3 个视频。
兼容别名:referenceVideoUrls。空值会在发送到上游前被过滤。不能与 first_frame_url 或 last_frame_url 一起使用。
["https://example.com/reference-video.mp4"]
input.reference_audio_urls可选array<string>参考音频 URL 列表。最多支持 3 个音频文件。
兼容别名:referenceAudioUrls。空值会在发送到上游前被过滤。不能与 first_frame_url 或 last_frame_url 一起使用。
["https://example.com/reference-audio.mp3"]
input.return_last_frame可选boolean是否在返回生成视频的同时返回最后一帧图像。
兼容别名:returnLastFrame。默认值:false。
false
input.generate_audio可选boolean是否为输出视频生成音频。
兼容别名:generateAudio。默认值:true。
false
input.resolution可选string输出视频分辨率。
也兼容历史参数 quality。默认值:720p。
可用选项:
"720p"
input.aspect_ratio可选string生成视频的宽高比。
兼容别名:aspectRatio。默认值:16:9。
可用选项:
"16:9"
input.duration可选integer输出视频的时长,单位为秒。
允许范围:4-15 秒。默认值:5。超出范围的值将由适配器限制到有效范围内。
5
input.web_search可选boolean是否启用网络搜索,以增强对提示词的理解或内容依据。
兼容别名:webSearch。默认值:false。web_search=true 仅允许用于不包含帧输入或参考输入的纯文本生成视频请求。
false
input.nsfw_checker可选boolean是否为该请求启用 NSFW 检查。
兼容别名:nsfwChecker。默认值:false。
false
1curl -X POST "https://api.apipass.dev/api/v1/jobs/createTask" \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "bytedance/seedance-2-mini",
6 "callBackUrl": "https://your-domain.com/api/callback",
7 "channel": "auto",
8 "input": {
9 "prompt": "A quiet sunrise over a mountain lake, thin mist drifting across the water, soft cinematic light, realistic natural motion.",
10 "duration": 5,
11 "resolution": "720p",
12 "aspect_ratio": "16:9",
13 "generate_audio": false,
14 "web_search": false
15 }
16 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_12345678"
6 }
7}code状态码,200 表示成功,其他表示失败。
message响应消息;请求失败时为错误描述。
data.taskId用于查询任务状态和结果的任务 ID。

ByteDance
ByteDance
起价
0 积分
ByteDance
ByteDance
Turn text, images, video clips, and audio into cinematic, audio-synced videos with a single API call.
起价
0 积分
MiniMax
MiniMax
起价
0 积分
ByteDance
ByteDance
Generate cinematic 4K AI videos up to 30 seconds with Seedance 2.5's multimodal power.
起价
0 积分
Google Veo 3.1 is the latest state-of-the-art generative video model designed to transform text and image prompts into high-fidelity cinematic visuals. Building upon its predecessors, Veo 3.1 features significant upgrades in prompt adherence, visual realism, and native audio generation, creating 8-second clips with synchronized sound effects and dialogue.
起价
0 积分
wan
wan
起价
0 积分
Runway
Runway
起价
0 积分
Kling
Kling
Transform text prompts and images into high-quality videos with advanced AI. Generate cinematic content with customizable duration, aspect ratio, and audio capabilities.
起价
0 积分
MiniMax
MiniMax
Generate high-quality AI videos from text prompts or images with MiniMax's Hailuo 2.3 model. Support for both 6s and 10s durations, 768p and 1080p resolutions, with intelligent prompt optimization.
起价
0 积分
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
起价
0 积分
Luma
Luma
起价
0 积分
Kling
Kling
Kling v3 video generation model, supports text-to-video and image-to-video, up to 15 seconds, 1080p pro mode
起价
0 积分
wan
wan
Generate videos with cinematic consistency by reimagining existing footage through high-fidelity visual transformation and structural control.
起价
0 积分
起价
0 积分
grok
grok
起价
0 积分
kling
kling
起价
0 积分