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

Seedance 2.0 Mini Image to Video

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

ID โมเดล bytedance/seedance-2.0/mini/image-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/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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

Seedance 2.0 รุ่นเล็กสำหรับ image-to-video ที่ 480p หรือ 720p พร้อมเฟรมสิ้นสุดที่เป็นตัวเลือกและคลิปความยาว 4 ถึง 15 วินาที

สร้างบน Doitong

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

ผลงานสาธารณะที่แสดง: 16
Use the input image as the base scene and visual appearance. Use the reference video strictly as ... วิดีโอ

Use the input image as the base scene and visual appearance. Use the reference video strictly as a motion reference for the dog’s movement. The dog must move exactly like in the reference video: - same gait (trotting rhythm) - same speed and tempo - same head motion and body dynamics - same ear...

First-person POV of a dog trotting forward along the path at a realistic, moderate speed (approxi... วิดีโอ

First-person POV of a dog trotting forward along the path at a realistic, moderate speed (approximately 8 km/h). The camera is positioned low, at the natural height of the dog’s head. The motion follows a true trotting gait: steady, rhythmic, grounded movement with gentle vertical bounce and...

Subject: Young woman with dark hair, pale skin, glowing green eyes. Context: Dark, shadowy room. ... วิดีโอ

Subject: Young woman with dark hair, pale skin, glowing green eyes. Context: Dark, shadowy room. Action: Slow subtle breathing, slight blink. Cold direct gaze at camera. Finger pressed to lips. Minimal movement. Style: Cinematic, hyperrealistic, mysterious, intense. Camera motion: Static shot, no...

First-person POV of a dog running forward along the path at a realistic, moderate speed (approxim... วิดีโอ

First-person POV of a dog running forward along the path at a realistic, moderate speed (approximately 10 km/h). The camera is positioned low, at the natural height of the dog’s head. The motion follows a true trotting gait: steady, rhythmic, grounded movement with gentle vertical bounce and...

Очень медленный финальный наезд камеры. Пламя свечи на переднем плане горит ярче, создавая блики.... วิดีโอ

Очень медленный финальный наезд камеры. Пламя свечи на переднем плане горит ярче, создавая блики. Dialogue in this scene: Астролог: "Но в марте будет одна дата… когда решение изменит всё. Напишите в комментариях “Овен” — и я сделаю отдельный разбор." No background music.

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...

Slow motion. Low angle camera tilting up at Ilya. Warm light from the kitchen intensifies behind ... วิดีโอ

Slow motion. Low angle camera tilting up at Ilya. Warm light from the kitchen intensifies behind him, making him look heroic. On-screen dialogue (characters speak with lip-sync): Илья: "Не трогай её!"; Бабушка Нина: "Илья, отойди! Он же…" No background music.

สร้างคำขอ

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

•จำเป็น

คำสั่งการเคลื่อนไหวและการกระทำของวิดีโอที่ระบุเป็นพรอมต์ข้อความ

•จำเป็น image_url
วางไฟล์ หรือ

URL ของรูปภาพเริ่มต้นที่จะนำมาทำให้เคลื่อนไหว รูปแบบที่รองรับคือ JPEG, PNG, WebP และจำกัดขนาดไม่เกิน 30 MB

duration auto

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

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

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

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

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

ขั้นสูง end_image · codec · end_user_id
end_image_url
วางไฟล์ หรือ

URL ที่ชี้ไปยังรูปภาพ JPEG, PNG หรือ WebP ขนาดไม่เกิน 30 MB ซึ่งกำหนดเฟรมสุดท้ายของวิดีโอ การระบุรูปภาพนี้จะทำให้รูปภาพดังกล่าวเป็นจุดหมายของการเปลี่ยนผ่านในวิดีโอที่สร้างขึ้น โดยเริ่มจากรูปภาพเริ่มต้น

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

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

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

POST /run/bytedance/seedance-2.0/mini/image-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/image-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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 to Video

ทำให้รูปภาพเริ่มต้น (`image_url`) เคลื่อนไหวตามพรอมต์การเคลื่อนไหว และสามารถเปลี่ยนผ่านไปยัง `end_image_url` ได้ ความละเอียดคือ 480p หรือ 720p และระยะเวลาคือ auto หรือ 4 ถึง 15 วินาที อัตราส่วนภาพสามารถอนุมานจากรูปภาพหรือตั้งค่าได้ตั้งแต่ 21:9 ถึง 9:16 การสร้างเสียง รวมถึงเสียงพูดที่ซิงก์กับริมฝีปาก เปิดใช้งานเป็นค่าเริ่มต้น ตัวแปลงสัญญาณสามารถเป็น H264 หรือ H265

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
promptจำเป็น
ประเภทstring
คำสั่งการเคลื่อนไหวและการกระทำของวิดีโอที่ระบุเป็นพรอมต์ข้อความ
image_urlจำเป็น image
ประเภทurl · image
URL ของรูปภาพเริ่มต้นที่จะนำมาทำให้เคลื่อนไหว รูปแบบที่รองรับคือ JPEG, PNG, WebP และจำกัดขนาดไม่เกิน 30 MB
end_image_urlไม่บังคับ end_image
ประเภทurl · image
URL ที่ชี้ไปยังรูปภาพ JPEG, PNG หรือ WebP ขนาดไม่เกิน 30 MB ซึ่งกำหนดเฟรมสุดท้ายของวิดีโอ การระบุรูปภาพนี้จะทำให้รูปภาพดังกล่าวเป็นจุดหมายของการเปลี่ยนผ่านในวิดีโอที่สร้างขึ้น โดยเริ่มจากรูปภาพเริ่มต้น
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/image-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",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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/image-to-video.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt