ข้ามไปยังเนื้อหา

Seedance 2.0 Mini

ผสานการทำงาน

ID โมเดล bytedance/seedance-2.0/mini/reference-to-video
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedance-2.0/mini/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ไฟล์เช่นเดียวกับตัวอย่าง: $2.321 2,321 เครดิต API ไฟล์ของคุณจะถูกวัดก่อนเรียกใช้ เรียกใช้ในหน้านี้

รับคีย์ API
ByteDance ภาพอ้างอิงเป็นวิดีโอ เสียงในตัวอินพุตอ้างอิงลิปซิงก์4–15 sสูงสุด 720p #stylized#transform#lipsync

การสร้างวิดีโอ Mini Seedance 2.0 ที่กำกับด้วยภาพอ้างอิงสูงสุด 9 ภาพ วิดีโอ 3 รายการ และเสียง 3 รายการ

สร้างบน Doitong

ผลงานสาธารณะที่สร้างด้วย Seedance 2.0 โดยชุมชน Doitong นำพรอมต์กลับมาใช้ได้ในคลิกเดียว

ผลงานสาธารณะที่แสดง: 16
Subject: Man in a bunny suit, frozen city crowd Context: Urban street, all people, vehicles, and ... วิดีโอ

Subject: Man in a bunny suit, frozen city crowd Context: Urban street, all people, vehicles, and trees are frozen mid-action Action: Only the bunny-suited man moves, walking and waving in front of an unresponsive man in a black suit Style: Cinematic, intense stillness, Quicksilver/X-Men, Matrix...

This is a cinematic scene filmed with a hand-held shaky camera. The entire world is completely fr... วิดีโอ

This is a cinematic scene filmed with a hand-held shaky camera. The entire world is completely frozen in time. Nothing moves. Absolutely nothing. All people are frozen, cars are frozen, bicycles are frozen, traffic lights are frozen, trees and leaves are frozen, wind is frozen, shadows are...

A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling ... วิดีโอ

A close-up portrait of a striking cyberpunk woman with sleek dark hair partially wet and falling around her face. She’s wearing glossy, high-tech neon visor goggles with a vivid color gradient — bright yellow, orange, and pink reflecting glowing city lights. Her expression is confident and...

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, act... วิดีโอ

Ultra-realistic scene featuring miniature construction workers in orange vests and hard hats, actively working on a giant [pizza]. The tiny workers are using small tools, cranes, and machines to [assemble]. The [pizza] is placed on a metal surface or kitchen countertop. Steam or particles rise...

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, he... วิดีโอ

Two sandboarders racing down massive golden sand dunes, carving aggressively in wide S-curves, heading directly toward the camera in a low, dramatic angle. They are captured in mid-motion, kicking up thick trails of sand behind their boards. Both riders wear full protective sandboarding suits in...

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled... วิดีโอ

A high-fashion cinematic video scene in slow motion, set on a wide white desert with fine rippled sand under a deep blue sky. A tall Black male model and a woman walk together in full-body view, directly toward the camera. The male model wears a dramatic flowing red trench coat, matching tailored...

A fashionable young woman with black hair, walking confidently down a modern city street. She is ... วิดีโอ

A fashionable young woman with black hair, walking confidently down a modern city street. She is wearing stylish everyday fashion — a black turtleneck top, oversized gray blazer, and wide-leg black trousers with chunky black boots. Her outfit is monochrome, mostly black and gray, with minimalist...

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and ... วิดีโอ

Scene: On a large metal grill surface, miniature construction workers in orange safety vests and hard hats are preparing a giant steak. The raw meat, marbled and richly textured, rests across the hot grill. Some workers are spreading seasoning using tiny wheelbarrows filled with salt and pepper,...

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น

พรอมต์ข้อความที่ใช้กำกับการสร้างวิดีโอ

video_urls
วางไฟล์ หรือ · สูงสุด 3

การอ้างอิงวิดีโอสำหรับการสร้าง ระบุเป็นไฟล์ MP4 หรือ MOV และระบุในพรอมต์ด้วย @Video1, @Video2 และป้ายกำกับหมายเลขถัดไป แต่ละไฟล์ต้องมีความละเอียดตั้งแต่ประมาณ 480p (640x640) ถึงประมาณ 720p (834x1112) จำกัดรวม 3 วิดีโอ โดยมีขนาดรวมต่ำกว่า 50 MB และความยาวรวมอยู่ระหว่าง 2 ถึง 15 วินาที

duration auto

การเลือกความยาววิดีโอ: `auto` มอบหมายให้โมเดลเลือกโดยใช้พรอมต์ ส่วนระยะเวลาที่ระบุชัดเจนต้องอยู่ระหว่าง 4 ถึง 15 วินาที

resolution ค่าเริ่มต้น 720p

ความละเอียดเอาต์พุต: 480p เน้นความเร็วในการสร้าง ส่วน 720p ให้สมดุล

aspect_ratio ค่าเริ่มต้น auto

อัตราส่วนภาพเอาต์พุต: 16:9 ให้ภาพแนวนอน, 9:16 ให้ภาพแนวตั้ง, 1:1 ให้ภาพสี่เหลี่ยมจัตุรัส และ 21:9 ให้ภาพยนตร์อัลตราไวด์ เลือก `auto` เพื่อให้โมเดลเลือกอัตราส่วน

ขั้นสูง images · audios · codec · end_user_id
image_urls
วางไฟล์ หรือ · สูงสุด 9

การอ้างอิงรูปภาพสำหรับกำกับวิดีโอ จำกัด 9 รูป และอยู่ภายใต้ขีดจำกัดไฟล์สูงสุด 12 ไฟล์รวมทุกโมดัลลิตี แต่ละรูปมีขนาดไม่เกิน 30 MB และต้องเป็น JPEG, PNG หรือ WebP ใช้ @Image1, @Image2 และป้ายกำกับหมายเลขถัดไปเพื่อระบุการอ้างอิงเหล่านี้ในพรอมต์

audio_urls
วางไฟล์ หรือ · สูงสุด 3

การอ้างอิงเสียงสำหรับกำกับวิดีโอต้องมีการอ้างอิงรูปภาพหรือวิดีโอประกอบอย่างน้อย 1 รายการ ระบุไฟล์ MP3 หรือ WAV ขนาดไม่เกิน 15 MB ต่อไฟล์ จำกัดไม่เกิน 3 ไฟล์ และความยาวรวมไม่เกิน 15 วินาที ระบุไฟล์เหล่านี้ในพรอมต์ด้วย @Audio1, @Audio2 และป้ายกำกับหมายเลขถัดไป

codec ค่าเริ่มต้น auto

การเลือกโคเดกวิดีโอ: `auto` จะคงการทำงานของโคเดกเริ่มต้นไว้, `H264` จะเลือก H.264 และ `H265` จะเลือก H.265

ตัวระบุเฉพาะที่กำหนดให้ผู้ใช้ปลายทาง

POST /run/bytedance/seedance-2.0/mini/reference-to-video?wait=20 ใบเสนอราคา → $2.321
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedance-2.0/mini/reference-to-video?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ Seedance 2.0 Mini

สร้างวิดีโอจากพรอมต์และสื่ออ้างอิง ได้แก่ `image_urls` สูงสุด 9 รายการ `video_urls` 3 รายการ และ `audio_urls` 3 รายการ โดยอ้างอิงในพรอมต์เป็น @Image1, @Video1, @Audio1 และรายการถัดไป เอาต์พุตเป็น 480p หรือ 720p ความยาว auto หรือ 4 ถึง 15 วินาที และมีอัตราส่วนภาพตั้งแต่ 21:9 ถึง 9:16 ระบบสร้างเสียงที่ซิงโครไนซ์ให้เป็นค่าเริ่มต้น

พารามิเตอร์

ส่งชื่อมาตรฐานหรือชื่อดั้งเดิมอย่างใดอย่างหนึ่งเท่านั้น ห้ามส่งทั้งสองชื่อ ชื่อมาตรฐาน

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
พรอมต์ข้อความที่ใช้กำกับการสร้างวิดีโอ
image_urlsไม่บังคับ images
ประเภทurl[] · image
≤ 9 รายการ
การอ้างอิงรูปภาพสำหรับกำกับวิดีโอ จำกัด 9 รูป และอยู่ภายใต้ขีดจำกัดไฟล์สูงสุด 12 ไฟล์รวมทุกโมดัลลิตี แต่ละรูปมีขนาดไม่เกิน 30 MB และต้องเป็น JPEG, PNG หรือ WebP ใช้ @Image1, @Image2 และป้ายกำกับหมายเลขถัดไปเพื่อระบุการอ้างอิงเหล่านี้ในพรอมต์
video_urlsไม่บังคับ videos
ประเภทurl[] · video
≤ 3 รายการ
การอ้างอิงวิดีโอสำหรับการสร้าง ระบุเป็นไฟล์ MP4 หรือ MOV และระบุในพรอมต์ด้วย @Video1, @Video2 และป้ายกำกับหมายเลขถัดไป แต่ละไฟล์ต้องมีความละเอียดตั้งแต่ประมาณ 480p (640x640) ถึงประมาณ 720p (834x1112) จำกัดรวม 3 วิดีโอ โดยมีขนาดรวมต่ำกว่า 50 MB และความยาวรวมอยู่ระหว่าง 2 ถึง 15 วินาที
audio_urlsไม่บังคับ audios
ประเภทurl[] · audio
≤ 3 รายการ
การอ้างอิงเสียงสำหรับกำกับวิดีโอต้องมีการอ้างอิงรูปภาพหรือวิดีโอประกอบอย่างน้อย 1 รายการ ระบุไฟล์ MP3 หรือ WAV ขนาดไม่เกิน 15 MB ต่อไฟล์ จำกัดไม่เกิน 3 ไฟล์ และความยาวรวมไม่เกิน 15 วินาที ระบุไฟล์เหล่านี้ในพรอมต์ด้วย @Audio1, @Audio2 และป้ายกำกับหมายเลขถัดไป
resolutionไม่บังคับ
ประเภทenum
ค่าเริ่มต้น720p
480p720p
ความละเอียดเอาต์พุต: 480p เน้นความเร็วในการสร้าง ส่วน 720p ให้สมดุล
durationไม่บังคับ
ประเภทenum
ค่าเริ่มต้นauto
auto456789101112131415
การเลือกความยาววิดีโอ: `auto` มอบหมายให้โมเดลเลือกโดยใช้พรอมต์ ส่วนระยะเวลาที่ระบุชัดเจนต้องอยู่ระหว่าง 4 ถึง 15 วินาที
aspect_ratioไม่บังคับ
ประเภทenum
ค่าเริ่มต้นauto
auto21:916:94:31:13:49:16
อัตราส่วนภาพเอาต์พุต: 16:9 ให้ภาพแนวนอน, 9:16 ให้ภาพแนวตั้ง, 1:1 ให้ภาพสี่เหลี่ยมจัตุรัส และ 21:9 ให้ภาพยนตร์อัลตราไวด์ เลือก `auto` เพื่อให้โมเดลเลือกอัตราส่วน
generate_audioไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
เปิดใช้งานตัวเลือกนี้เพื่อให้วิดีโอมีเสียงที่ซิงโครไนซ์มาด้วย เสียงที่สร้างขึ้นจะมีเสียงพูดที่ตรงกับการขยับริมฝีปาก เสียงบรรยากาศ และเอฟเฟกต์เสียง
codecไม่บังคับ
ประเภทenum
ค่าเริ่มต้นauto
autoH264H265
การเลือกโคเดกวิดีโอ: `auto` จะคงการทำงานของโคเดกเริ่มต้นไว้, `H264` จะเลือก H.264 และ `H265` จะเลือก H.265
end_user_idไม่บังคับ
ประเภทstring | null
ตัวระบุเฉพาะที่กำหนดให้ผู้ใช้ปลายทาง
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ file_url ของไฟล์ที่อัปโหลด ไฟล์

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedance-2.0/mini/reference-to-video",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 2321,
    "usd": "2.321",
    "charged": 2321,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ไฟล์ของคุณ คุณเลือกเองทุก outputs[].url คือสำเนาบนพื้นที่จัดเก็บของเรา: เก็บไว้ตลอดไป (คิดค่าบริการต่อ GB-เดือน) หรือฟรี 7 วัน โดยกำหนดได้ในการตั้งค่าบัญชีหรือ ?storage=
รูปแบบเดียวกันในทุกโมเดลtype, url, content_type, width, height และ duration สำหรับภาพ วิดีโอ และเสียงเหมือนกันทั้งหมด ส่วน output คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
video
object {url, content_type, file_name, file_size}ไฟล์วิดีโอที่สร้างขึ้น
seed
integerค่า Seed ที่ใช้ระหว่างการสร้าง

โมเดลเพิ่มเติม: ภาพอ้างอิงเป็นวิดีโอ

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/bytedance/seedance-2.0/mini/reference-to-video.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt