Seedance 2.5 Reference to Video

doubao/seedance-2-5/reference-to-video

doubao/seedance-2-5/reference-to-video. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

İlgili modeller

Seedance 2.5 Reference to Video İlgili modeller 1

Tüm parametreler, çıktı şeması ve güncel fiyatlar

Yapay zeka model API pazarıTek platformda her şeyEn popülerKoşullarGörsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.
imagesImagesimage_upload—image/* · 0–30 items
audiosAudiosaudio_upload_group—audio/* · 0–10 items
promptPrompttextarea——
generate_audioGenerate Audiobooleantrue—
resolutionResolutionselect720p480p | 720p | 1080p
ratioAspect Ratioselectadaptiveadaptive | 16:9 | 4:3 | 1:1 | 3:4 | 9:16 | 21:9
durationDuration (Seconds)slider54 ~ 30 · step 1
return_last_framereturn the last frame boolean——
watermarkAdd Watermarkbooleanfalse—
seedSeednumber-1-1 ~ 4294967295

Tüm parametreler, çıktı şeması ve güncel fiyatlar

Daha fazla bilgiTek platformda her şeyGörsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.
idstring
videosarray<string>

API

Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/doubao/seedance-2-5/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-5/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-5/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);

API belgeleri

Doubao-Seedance 2.5

The "Film Studio in a Model": Precision Control with Multi-Modal Fusion.

Seedance 2.5 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 30 images + 10 videos + 10 audio clips (up to 50 total) for precise character and scene consistency.
  • Cinematic Quality: High visual fidelity optimized for 480p, 720p and 1080p resolutions, 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

ParameterDetails
Model ArchitectureDiffusion-based Transformer (DiT) / Multi-modal
Max Resolution1080p (Supported: 480p, 720p, 1080p)
Video Duration4 - 30 Seconds (integer)
Aspect Ratios16:9, 9:16, 4:3, 3:4, 21:9, 1:1, adaptive
Input ModalityText, Image (up to 30), Video (up to 10), Audio (up to 10)
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 TypeResolutionPriceEstimated Cost
Video Gen (Input without video)480p/720p$10.70 / 1M Tokens~$0.103/0.231 per second
Video Gen (Input without video)1080p$11.70 / 1M Tokens~$0.569 per second
Video Gen (Input with video)480p/720p$6.40 / 1M Tokens~$0.0616/$0.1382 per second
Video Gen (Input with video)1080p$7.00 / 1M Tokens~$0.340 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.