Seedance 2.5 Flash 多模態影片
The text prompt or description for the video.
Optional image URL used as the first frame.
拖放圖片,或點擊瀏覽
支援 PNG, JPEG, WebP。最大 30MB。您也可以從剪貼簿貼上 (Ctrl+V)。
Optional image URL used as the last frame.
拖放圖片,或點擊瀏覽
支援 PNG, JPEG, WebP。最大 30MB。您也可以從剪貼簿貼上 (Ctrl+V)。
最多 10 張參考圖片。
拖放圖片,或點擊瀏覽
支援 PNG, JPEG, WebP。最大 30MB。您也可以從剪貼簿貼上 (Ctrl+V)。
最多 5 段影片,總長不超過 30 秒。上傳檔案最大 100 MB,URL 檔案最大 200 MB。
拖放影片,或點擊瀏覽
支援 MP4, MOV, WebM。最大 100MB。
最多 5 段音訊,總長不超過 30 秒,支援僅使用音訊參考。
拖放音訊,或點擊瀏覽
支援 MP3, WAV, X-WAV, AAC, MP4, OGG。最大 15MB。
Whether to generate AI audio synchronized with the video.
The output video resolution.
The aspect ratio of the generated video.
Video duration in seconds.
結果
結果將顯示在此處
費用: $0.205/秒
提交時預扣:$1.025(5 秒)
Seedance 2.5 Flash API 實作指南
Seedance 2.5 Flash 關鍵資訊
模型能力
- 多模態影片
計費方式
按解析度計算的每 秒 價格
| 選項 | 480p | 720p |
|---|---|---|
| no video reference | $0.0925/秒 | $0.205/秒 |
| with video reference, input + output seconds | $0.0575/秒 | $0.1275/秒 |
使用參考影片時按輸入與輸出總長計費,自動長度按實際消耗結算。
應用場景
輸出格式
Seedance 2.5 Flash API 文件
請先在演練場執行,再開啟完整 API 文件查看整合細節。
簡介
選擇文字、首尾影格或參考素材。首尾影格不能與參考素材混用;使用尾影格時必須提供首影格。
程式碼範例
1curl -X POST https://api.modelhunter.ai/api/v1/seedance/multimodal-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "bytedance/seedance-2-5-flash",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs",8"generate_audio": "true",9"resolution": "720p"10}11}'
Schema
查看完整 API 文件輸入
model此能力對應的模型 ID。
值: bytedance/seedance-2-5-flash
promptThe text prompt or description for the video.
first_frame_urlOptional image URL used as the first frame.
last_frame_urlOptional image URL used as the last frame.
reference_image_urls最多 10 張參考圖片。
reference_video_urls最多 5 段影片,總長不超過 30 秒。上傳檔案最大 100 MB,URL 檔案最大 200 MB。
reference_audio_urls最多 5 段音訊,總長不超過 30 秒,支援僅使用音訊參考。
generate_audioWhether to generate AI audio synchronized with the video.
預設值: true
resolutionThe output video resolution.
選項: 480p, 720p
預設值: 720p
aspect_ratioThe aspect ratio of the generated video.
選項: adaptive, 16:9, 4:3, 1:1, 3:4, 9:16, 21:9
預設值: adaptive
durationVideo duration in seconds.
選項: -1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
預設值: 5
web_searchUse online search.
預設值: false
output_format輸出格式
選項: mp4, mov
預設值: mp4
omni_reference_task_type僅在使用參考素材時可用。編輯需要參考影片、自動長寬比和自動時長;延長需要參考影片和自動長寬比。
選項: auto, reference, edit, extend
webhookUrl任務完成時接收 Webhook 通知的 URL。
metadata附加到任務上用於追蹤的自訂鍵值中繼資料。
回應 (HTTP 202)
success請求是否已成功受理。
data.id唯一任務 ID,可輪詢 GET /api/v1/tasks/{id} 取得結果。
data.status任務狀態: pending, processing, completed, failed.
data.type生成類型: multimodal-video.
data.provider供應商: seedance.
data.model本次生成使用的模型 ID。
data.created_at任務建立時間(ISO 8601)。
data.estimated_seconds任務完成前的預估秒數。