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

Kling Video v3 Image to Video [Standard]

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

ID โมเดล kling-video/v3/standard/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/kling-video/v3/standard/image-to-video?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"
  }'

# 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.63 630 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API
Kling ภาพเป็นวิดีโอ เสียงในตัวอินพุตอ้างอิง3–15 s #image-to-video

image-to-video v3 ระดับ Standard พร้อมเฟรมจบที่เลือกได้ elements แบบกำหนดเอง เสียงในตัว และหลายช็อต

สร้างบน Doitong

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

ผลงานสาธารณะที่แสดง: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... วิดีโอ

Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while speaking, with realistic facial expressions and synchronized lip movements, as if she is promoting something to the viewer. She maintains eye contact with the camera, smiles slightly, and uses subtle...

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her ey... วิดีโอ

Slow, subtle push-in on the woman's face. The light from the laptop flickers softly across her eyes and cheeks, as if the blurry image on the screen is changing. Her eyes move slightly as she studies the screen, and she takes one slow, tense breath. Behind her, shadows of the snowstorm move...

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. I... วิดีโอ

The enormous ancient dragon descends slowly toward the snowy cliff and lands at the cave mouth. Its huge dark leathery wings beat twice with slow, heavy strokes, sending snow swirling off the cliff in big clouds. Then it folds its wings and settles on the rock, the giant elk still held in its...

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... วิดีโอ

**Duration: 5 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jeng... วิดีโอ

Authentic 1990s wide-angle film footage. The left man slowly pulls one wooden block from the Jenga tower. As the block comes out, the tower naturally loses balance and realistically collapses onto the table. Frustrated, he angrily sweeps all the fallen wooden blocks off the table with both hands....

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold ... วิดีโอ

Thermal-camera view of a snowy mountain cliff at night in false-color, deep blue and violet cold rock, a huge orange-white heat shape hidden inside a rock crevice, two small bright amber spots glowing like eyes, faint noise grain. Cinematic videorealistic, ultra detailed, 16:9, volumetric light,...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... วิดีโอ

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animat... วิดีโอ

**Duration: 4 seconds | Aspect ratio: 16:9 | Children's YouTube Intro | Video with Audio** Animate the provided image into a bright, magical, energetic, professional YouTube intro for a children's entertainment channel, with perfectly synchronized sound effects, cheerful music, and a cute child's...

สร้างคำขอ

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

0 / 2500

คำสั่งข้อความที่ใช้สร้างวิดีโอ ระบุ พรอมต์ หรือ multi_prompt อย่างใดอย่างหนึ่งเท่านั้น

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

URL ที่ชี้ไปยังรูปภาพที่ใช้สร้างวิดีโอ ขนาดไฟล์ต้องไม่เกิน 50 MB ความกว้างและความสูงต้องไม่น้อยกว่า 300px และอัตราส่วนภาพต้องอยู่ระหว่าง 0.40 ถึง 2.50

duration 5 s

ความยาววิดีโอเอาต์พุต วัดเป็นวินาที

ขั้นสูง negative_prompt · end_image · shot_type · cfg_scale · enable_safety_checker · multi_prompt · elements
0 / 2500
end_image_url
วางไฟล์ หรือ

URL ที่ชี้ไปยังรูปภาพที่ใช้ตอนจบของวิดีโอ ขนาดไฟล์ต้องไม่เกิน 50 MB และความกว้างกับความสูงต้องไม่น้อยกว่า 300px โดยมีอัตราส่วนภาพระหว่าง 0.40 ถึง 2.50

shot_type ค่าเริ่มต้น customize

เลือกวิธีที่การสร้างหลายช็อตใช้วางแผนช็อต การเลือก 'intelligent' จะมอบหมายโครงสร้างช็อตให้โมเดล

ค่าเริ่มต้น 0.5

กำหนดว่าการสร้างจะทำตามพรอมต์ของคุณใกล้เคียงเพียงใดโดยใช้ CFG ซึ่งย่อมาจาก Classifier Free Guidance

รายการพรอมต์ที่แบ่งวิดีโอออกเป็นหลายช็อตเมื่อระบุค่า

ตัวละครหรือวัตถุที่รวมอยู่ในวิดีโอ โดยอ้างอิงในพรอมต์ด้วย @Element1, @Element2 เป็นต้น สำหรับแต่ละตัวอย่าง ให้ระบุวิดีโอหรือชุดที่ประกอบด้วยรูปภาพด้านหน้าและรูปภาพอ้างอิง

POST /run/kling-video/v3/standard/image-to-video?wait=20 ใบเสนอราคา → $0.63
# 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/kling-video/v3/standard/image-to-video?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"
  }'

# 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

เกี่ยวกับ Kling Video v3 Image to Video [Standard]

เปลี่ยน `start_image_url` เป็นคลิปความยาว 3-15 วินาที พร้อม `end_image_url` ที่เลือกใช้เป็นเฟรมสุดท้ายได้ สามารถเพิ่มตัวละครหรือวัตถุผ่าน `elements` และอ้างอิงเป็น @Element1 ระบุ `prompt` หรือ `multi_prompt` ปรับด้วย `negative_prompt` และ `cfg_scale` (0-1) และโปรดทราบว่า `generate_audio` เปิดใช้งานเป็นค่าเริ่มต้น

พารามิเตอร์

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

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
ปิดใช้การตรวจสอบความปลอดภัยได้เฉพาะเมื่อบัญชีได้รับอนุญาต คำขอที่ไม่มีการอนุญาตจะผ่านการตรวจสอบเสมอ
promptไม่บังคับ
ประเภทstring | null
≤ 2,500 อักขระ
คำสั่งข้อความที่ใช้สร้างวิดีโอ ระบุ พรอมต์ หรือ multi_prompt อย่างใดอย่างหนึ่งเท่านั้น
multi_promptไม่บังคับ
ประเภทobject[]
รายการพรอมต์ที่แบ่งวิดีโอออกเป็นหลายช็อตเมื่อระบุค่า
multi_prompt[].promptจำเป็น
ประเภทstring
คำสั่งข้อความสำหรับช็อตปัจจุบัน
multi_prompt[].durationไม่บังคับ
ประเภทenum
ค่าเริ่มต้น5
123456789101112131415
ความยาวของช็อตปัจจุบัน วัดเป็นวินาที
start_image_urlจำเป็น image
ประเภทurl · image
URL ที่ชี้ไปยังรูปภาพที่ใช้สร้างวิดีโอ ขนาดไฟล์ต้องไม่เกิน 50 MB ความกว้างและความสูงต้องไม่น้อยกว่า 300px และอัตราส่วนภาพต้องอยู่ระหว่าง 0.40 ถึง 2.50
durationไม่บังคับ
ประเภทenum
ค่าเริ่มต้น5
3456789101112131415
ความยาววิดีโอเอาต์พุต วัดเป็นวินาที
generate_audioไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สวิตช์การสร้างเสียงวิดีโอเนทีฟ รองรับเสียงพูดภาษาจีนหรืออังกฤษ และแปลภาษาอื่นเป็นภาษาอังกฤษโดยอัตโนมัติ สำหรับเสียงพูดภาษาอังกฤษ ให้เขียนตัวย่อและชื่อเฉพาะเป็นตัวพิมพ์ใหญ่ และเขียนส่วนอื่นทั้งหมดเป็นตัวพิมพ์เล็ก
end_image_urlไม่บังคับ end_image
ประเภทurl · image
URL ที่ชี้ไปยังรูปภาพที่ใช้ตอนจบของวิดีโอ ขนาดไฟล์ต้องไม่เกิน 50 MB และความกว้างกับความสูงต้องไม่น้อยกว่า 300px โดยมีอัตราส่วนภาพระหว่าง 0.40 ถึง 2.50
elementsไม่บังคับ
ประเภทobject[]
ตัวละครหรือวัตถุที่รวมอยู่ในวิดีโอ โดยอ้างอิงในพรอมต์ด้วย @Element1, @Element2 เป็นต้น สำหรับแต่ละตัวอย่าง ให้ระบุวิดีโอหรือชุดที่ประกอบด้วยรูปภาพด้านหน้าและรูปภาพอ้างอิง
elements[].frontal_image_urlไม่บังคับ
ประเภทurl · image
รูปภาพมุมมองด้านหน้าที่แสดงมุมหลักขององค์ประกอบ ขนาดไฟล์ต้องไม่เกิน 50 MB ความกว้างและความสูงต้องไม่น้อยกว่า 300px และอัตราส่วนภาพต้องอยู่ระหว่าง 0.40 ถึง 2.50
elements[].reference_image_urlsไม่บังคับ
ประเภทurl[] · image
ระบุรูปภาพอ้างอิงเพิ่มเติม 1–3 รูปที่แสดงมุมมองแตกต่างกัน รูปภาพแต่ละรูปต้องมีอัตราส่วนภาพระหว่าง 0.40 ถึง 2.50 มีขนาดอย่างน้อย 300px ในทั้งสองมิติ และมีขนาดไม่เกิน 50.0MB
elements[].video_urlไม่บังคับ
ประเภทurl · video
URL ที่ชี้ไปยังวิดีโอขององค์ประกอบ โดยคำขอแต่ละรายการสามารถมีองค์ประกอบที่รวมวิดีโอได้เพียงหนึ่งรายการ ไฟล์ต้องมีขนาดไม่เกิน 200 MB ความกว้างและความสูงต้องอยู่ระหว่าง 720px ถึง 2160px ความยาวต้องอยู่ระหว่าง 3 วินาทีถึง 10.05 วินาที และ FPS ต้องอยู่ระหว่าง 24.0 ถึง 60.0
elements[].voice_idไม่บังคับ
ประเภทstring | null
Voice ID ที่กำหนดให้กับองค์ประกอบ การอ้างอิงองค์ประกอบนั้นจะใช้เสียงที่กำหนดไว้
shot_typeไม่บังคับ
ประเภทenum
ค่าเริ่มต้นcustomize
customizeintelligent
เลือกวิธีที่การสร้างหลายช็อตใช้วางแผนช็อต การเลือก 'intelligent' จะมอบหมายโครงสร้างช็อตให้โมเดล
negative_promptไม่บังคับ
ประเภทstring
ค่าเริ่มต้นblur, distort, and low quality
≤ 2,500 อักขระ
cfg_scaleไม่บังคับ
ประเภทnumber
ค่าเริ่มต้น0.5
0 – 1
กำหนดว่าการสร้างจะทำตามพรอมต์ของคุณใกล้เคียงเพียงใดโดยใช้ CFG ซึ่งย่อมาจาก Classifier Free Guidance
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

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

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/v3/standard/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": 630,
    "usd": "0.63",
    "charged": 630,
    "refunded": 0
  },
  "input": {
    "start_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
    }
  },
  "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}วิดีโอที่สร้างโดยโมเดล

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

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