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

Wan · v2.2 A14b · Image to Video · Turbo

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

ID โมเดล wan/v2.2-a14b/image-to-video/turbo
# 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/wan/v2.2-a14b/image-to-video/turbo?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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"

คำขอนี้: $0.10 100 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API
Alibaba ภาพเป็นวิดีโอ รวดเร็วสูงสุด 720p

การแปลงรูปภาพเป็นวิดีโอด้วย Turbo A14B พร้อมรายการพารามิเตอร์แบบสั้น: รูปภาพ, พรอมต์, ความละเอียด และเฟรมสิ้นสุดที่เป็นตัวเลือกเสริม

สร้างบน Doitong

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

ผลงานสาธารณะที่แสดง: 5
Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a... วิดีโอ

Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video must feel like a real spontaneous phone...

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone vide... วิดีโอ

**SORA 2 PROMPT — 20 seconds, vertical 9:16** Create a highly realistic UGC-style smartphone video inside a modern commercial airplane during a daytime flight. Natural cabin lighting, subtle handheld camera movement, authentic airplane ambience, realistic passengers and natural acting. The video...

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with na... วิดีโอ

Create a realistic cinematic 20-second video, filmed like a high-budget modern commercial with natural acting, realistic lighting and believable facial expressions. All dialogue is spoken naturally in French. **SCENE 1 — EXPENSIVE RESTAURANT, EVENING — 0–5 sec** A young man in his late 20s is...

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... วิดีโอ

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, c... วิดีโอ

TITLE: Santa's Secret Christmas Selfie with Dasha 🎄 VIDEO FORMAT: 15–20 seconds, vertical 9:16, cinematic Christmas short film, high-quality realistic 3D animation. REFERENCE IMAGE — DASHA_001 Use the uploaded image as the exact character reference for Dasha. Preserve her recognizable face,...

สร้างคำขอ

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

•จำเป็น

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

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

URL รูปภาพต้นฉบับ โดยอัตราส่วนภาพที่เลือกจะกำหนดว่าจำเป็นต้องประมวลผลล่วงหน้าหรือไม่: หากไม่ตรงกัน ระบบจะปรับขนาดแล้วครอบจากกึ่งกลาง

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

ความละเอียดวิดีโอเอาต์พุต: 480p, 580p หรือ 720p

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

สัดส่วนของวิดีโอที่สร้าง ซึ่งเลือกโดยอัตโนมัติจากรูปภาพอินพุตเมื่อกำหนดเป็น 'auto'

ขั้นสูง end_image · acceleration · video_quality · video_write_mode · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
end_image_url
วางไฟล์ หรือ

URL ที่ชี้ไปยังรูปภาพสิ้นสุด

acceleration ค่าเริ่มต้น regular

การตั้งค่าการเร่งความเร็ว โดยแนะนำให้เลือก 'regular' การเพิ่มการเร่งความเร็วจะลดคุณภาพเพื่อย่นเวลาในการสร้าง

video_quality ค่าเริ่มต้น high

การตั้งค่าคุณภาพวิดีโอเอาต์พุต ซึ่งจะใช้พื้นที่ไฟล์มากขึ้นเพื่อปรับปรุงภาพเมื่อเพิ่มค่า

video_write_mode ค่าเริ่มต้น balanced

โหมดการเขียนวิดีโอ โดย balanced เป็นการประนีประนอมระหว่างความเร็วและคุณภาพ เลือก small เพื่อให้ได้ไฟล์เล็กที่สุดและเขียนช้าที่สุด การเขียนที่เร็วขึ้นจะส่งคืนผลลัพธ์เร็วกว่าแต่สร้างไฟล์ขนาดใหญ่กว่า

Seed ที่ทำให้การสร้างได้ผลลัพธ์ซ้ำเดิม การตั้งค่าเป็น None จะสุ่มเลือก seed

POST /run/wan/v2.2-a14b/image-to-video/turbo?wait=20 ใบเสนอราคา → $0.10
# 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/wan/v2.2-a14b/image-to-video/turbo?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg",
    "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

เกี่ยวกับ Wan · v2.2 A14b · Image to Video · Turbo

เอนด์พอยต์แปลงภาพเป็นวิดีโอแบบเรียบง่าย รับ `image_url` และ `prompt` พร้อม `end_image_url` เสริม เลือก `resolution` เป็น 480p, 580p หรือ 720p และ `aspect_ratio` เป็น auto, 16:9, 9:16 หรือ 1:1 ได้ ไม่เปิดเผยการตั้งค่าจำนวนเฟรม การกำกับ และขั้นตอน มีเพียง `acceleration`, คุณภาพ และโหมดเขียนที่ปรับได้

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
image_urlจำเป็น image
ประเภทurl · image
URL รูปภาพต้นฉบับ โดยอัตราส่วนภาพที่เลือกจะกำหนดว่าจำเป็นต้องประมวลผลล่วงหน้าหรือไม่: หากไม่ตรงกัน ระบบจะปรับขนาดแล้วครอบจากกึ่งกลาง
promptจำเป็น
ประเภทstring
คำสั่งข้อความที่ใช้ควบคุมการสร้างวิดีโอ
seedไม่บังคับ
ประเภทinteger | null
Seed ที่ทำให้การสร้างได้ผลลัพธ์ซ้ำเดิม การตั้งค่าเป็น None จะสุ่มเลือก seed
resolutionไม่บังคับ
ประเภทenum
ค่าเริ่มต้น720p
480p580p720p
ความละเอียดวิดีโอเอาต์พุต: 480p, 580p หรือ 720p
aspect_ratioไม่บังคับ
ประเภทenum
ค่าเริ่มต้นauto
auto16:99:161:1
สัดส่วนของวิดีโอที่สร้าง ซึ่งเลือกโดยอัตโนมัติจากรูปภาพอินพุตเมื่อกำหนดเป็น 'auto'
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
การตรวจสอบความปลอดภัยของอินพุตก่อนประมวลผล ซึ่งมีเพียงบัญชีที่ได้รับอนุญาตเท่านั้นที่ปิดใช้ได้ คำขอที่ไม่มีสิทธิ์จะถูกตรวจสอบเสมอ มิฉะนั้นค่า true จะเปิดใช้การตรวจสอบ
enable_output_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
ควบคุมการตรวจสอบความปลอดภัยของวิดีโอที่สร้าง โดยตั้งค่า true เพื่อเปิดใช้การตรวจสอบหลังการสร้าง
enable_prompt_expansionไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
อนุญาตให้โมเดลภาษาขนาดใหญ่เพิ่มรายละเอียดให้พรอมต์ การเปิดใช้ส่วนขยายนี้จะไม่เปลี่ยนความหมายของพรอมต์
accelerationไม่บังคับ
ประเภทenum
ค่าเริ่มต้นregular
noneregular
การตั้งค่าการเร่งความเร็ว โดยแนะนำให้เลือก 'regular' การเพิ่มการเร่งความเร็วจะลดคุณภาพเพื่อย่นเวลาในการสร้าง
video_qualityไม่บังคับ
ประเภทenum
ค่าเริ่มต้นhigh
lowmediumhighmaximum
การตั้งค่าคุณภาพวิดีโอเอาต์พุต ซึ่งจะใช้พื้นที่ไฟล์มากขึ้นเพื่อปรับปรุงภาพเมื่อเพิ่มค่า
video_write_modeไม่บังคับ
ประเภทenum
ค่าเริ่มต้นbalanced
fastbalancedsmall
โหมดการเขียนวิดีโอ โดย balanced เป็นการประนีประนอมระหว่างความเร็วและคุณภาพ เลือก small เพื่อให้ได้ไฟล์เล็กที่สุดและเขียนช้าที่สุด การเขียนที่เร็วขึ้นจะส่งคืนผลลัพธ์เร็วกว่าแต่สร้างไฟล์ขนาดใหญ่กว่า
end_image_urlไม่บังคับ end_image
ประเภทurl · image
URL ที่ชี้ไปยังรูปภาพสิ้นสุด
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

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

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/image-to-video/turbo",
  "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": 100,
    "usd": "0.10",
    "charged": 100,
    "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
    },
    "prompt": "The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the powerful presence and heroic spirit of the character.",
    "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}ไฟล์วิดีโอที่สร้างขึ้น
prompt
stringพรอมต์ข้อความที่ใช้สร้างวิดีโอ
seed
integerค่า Seed ที่ใช้ระหว่างการสร้าง

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

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