seedance-2-0 reference-to-video
doubao/seedance-2-0/reference-to-video
doubao/seedance-2-0/reference-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Mô hình liên quan
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Chợ API mô hình AI | Một nền tảng cho mọi thứ | Phổ biến nhất | Điều khoản | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|---|---|
| imagesImages | image_upload | — | image/* · 0–9 items | |
| audiosAudios | audio_upload_group | — | audio/* · 0–3 items | |
| promptPrompt | textarea | — | — | |
| generate_audioGenerate Audio | boolean | true | — | |
| resolutionResolution | select | 720p | 480p | 720p | 1080p | 4k | |
| ratioAspect Ratio | select | adaptive | adaptive | 16:9 | 4:3 | 1:1 | 3:4 | 9:16 | 21:9 | |
| duration *Duration (Seconds) | select | 5 | -1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | … | |
| return_last_framereturn the last frame | boolean | — | — | |
| watermarkAdd Watermark | boolean | false | — | |
| seedSeed | number | -1 | -1 ~ 4294967295 |
Đầy đủ tham số, lược đồ đầu ra và giá hiện tại
| Tìm hiểu thêm | Một nền tảng cho mọi thứ | Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất. |
|---|---|---|
| id | string | |
| videos | array<string> |
API
Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/doubao/seedance-2-0/reference-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"images": [
"https://assets-public.namifusion.com/uploads/images/2026-04-10/a9489888297a.png",
"https://assets-public.namifusion.com/marketplace/images/2026-04-10/6abd3e6e8a4e.jpeg"
],
"prompt": "The puppy in @Image2 is running on the beach in @Image1.",
"generate_audio": true,
"resolution": "720p",
"ratio": "16:9",
"duration": 7,
"watermark": false,
"seed": -1
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/doubao/seedance-2-0/reference-to-video",
headers=HEADERS,
json={
"input": {
"images": [
"https://assets-public.namifusion.com/uploads/images/2026-04-10/a9489888297a.png",
"https://assets-public.namifusion.com/marketplace/images/2026-04-10/6abd3e6e8a4e.jpeg"
],
"prompt": "The puppy in @Image2 is running on the beach in @Image1.",
"generate_audio": True,
"resolution": "720p",
"ratio": "16:9",
"duration": 7,
"watermark": False,
"seed": -1
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/doubao/seedance-2-0/reference-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"images": [
"https://assets-public.namifusion.com/uploads/images/2026-04-10/a9489888297a.png",
"https://assets-public.namifusion.com/marketplace/images/2026-04-10/6abd3e6e8a4e.jpeg"
],
"prompt": "The puppy in @Image2 is running on the beach in @Image1.",
"generate_audio": true,
"resolution": "720p",
"ratio": "16:9",
"duration": 7,
"watermark": false,
"seed": -1
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Tài liệu API
Doubao-Seedance 2.0
The "Film Studio in a Model": Precision Control with Multi-Modal Fusion.
Seedance 2.0 is ByteDance's next-generation video generation model, designed to revolutionize the "one-person film studio" workflow. Unlike traditional T2V models, it features a revolutionary Multi-modal Reference System, allowing users to blend up to 12 different inputs (images, videos, and audio) to achieve pixel-perfect control over characters, motion, and rhythm.
🚀 Key Features
- Multi-modal Fusion: Supports simultaneous input of 9 images + 3 videos + 3 audio clips (up to 12 total) for precise character and scene consistency.
- Native 2K Cinematic Quality: Industry-leading visual fidelity with support for native 1080P and 2K resolution, featuring realistic lighting and physics.
- Audio-Visual Synchronicity: Native support for lip-sync and rhythm matching, automatically aligning visual motion with background music or speech.
- Exceptional Physical Logic: Advanced simulation of fluid dynamics, gravity, and complex human movements with a 99.5% generation success rate.
- Pro Camera Control: Direct language-based control over cinematic camera movements (pan, tilt, zoom) and lighting transitions.
🛠️ Technical Specifications
| Parameter | Details |
|---|---|
| Model Architecture | Diffusion-based Transformer (DiT) / Multi-modal |
| Max Resolution | 2K (Standard: 1080P) |
| Video Duration | 4 - 15 Seconds |
| Aspect Ratios | 16:9, 9:16, 4:3, 3:4, 21:9, 1:1 |
| Input Modality | Text, Image (up to 9), Video (up to 3), Audio (up to 3) |
| Generation Speed | ~30-90 seconds per clip |
Sample Prompts
- Cinematic: "Rainy city street at night, neon flickering. A man in a black trench coat walks with a red umbrella. Slow dolly-in to a facial close-up. Moody film noir aesthetic."
- Character Consistency: "Use @Image1 as the character, reference @Video1 for the running motion, and match the tempo of @Audio1."
💰 Pricing (Volcengine API)
| Service Type | Resolution | Price | Estimated Cost |
|---|---|---|---|
| Video Gen (T2V/I2V) | 480p/720p | $7 / 1M Tokens | ~$0.0673/$0.1512 per second |
| Video Gen (V2V) | 480p/720p | $4.3 / 1M Tokens | ~$0.0413/$0.0929 per second |
| Video Gen (T2V/I2V) | 1080p | $7.7 / 1M Tokens | ~$0.3742 per second |
| Video Gen (V2V) | 1080p | $4.7 / 1M Tokens | ~$0.2284 per second |
💡 Best Use Cases
- E-commerce & Advertising: Rapidly creating high-quality product demos and promotional short videos.
- Music Videos (MV): Automatically syncing visual transitions and effects to the beat of a song.
- Social Media Content: Professional-grade storytelling for TikTok/Reels with zero hardware overhead.
Mô hình liên quan
VT Lip Sync
namifusion/vt-lipsync. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling Omni Video O3
kwaivgi/kling-video-o3/video-edit. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling Omni Video O3
kwaivgi/kling-video-o3/reference-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Kling 3.0 Standard
kwaivgi/kling-v3.0/motion-control. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
Alibaba WAN 2.6
alibaba/wan-2.6/reference-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.