Bỏ qua đến nội dung

Kling O1 Reference Image to Video [Standard]

Tích hợp

Id mô hình kling-video/o1/standard/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/kling-video/o1/standard/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"

Yêu cầu này: 0,42 $ 420 tín dụng API Chạy trên trang này

Lấy khóa API

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng Kling O1. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
Ultra-realistic cinematic video of a young adult woman walking naturally toward the camera while ... Video

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

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

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

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

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

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

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

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

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc 88 / 2500

Các tham chiếu theo thứ tự sử dụng @Element1, @Element2, v.v. cho các phần tử và @Image1, @Image2, v.v. cho hình ảnh.

duration 5 s

Độ dài video tính bằng giây.

aspect_ratio mặc định 16:9

Tỷ lệ chiều rộng trên chiều cao của các khung hình trong video được tạo.

Nâng cao images · enable_safety_checker · elements
image_urls
Thả tệp hoặc

Hình ảnh bổ sung định hướng phong cách hoặc diện mạo, được tham chiếu trong lời nhắc bằng @Image1, @Image2, v.v. Tổng số phần tử, hình ảnh tham chiếu và hình ảnh bắt đầu không được quá 7 mục. Mỗi tệp tối đa 50 MB, chiều rộng và chiều cao mỗi chiều ít nhất 300 px, với tỷ lệ khung hình từ 0.40 đến 2.50.

Nhân vật hoặc vật thể sẽ xuất hiện trong video, được tham chiếu trong lời nhắc bằng @Element1, @Element2, v.v. Tổng số phần tử, hình ảnh tham chiếu và hình ảnh bắt đầu không được quá 7 mục.

POST /run/kling-video/o1/standard/reference-to-video?wait=20 báo giá → 0,42 $
# 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/o1/standard/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"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Giới thiệu về Kling O1 Reference Image to Video [Standard]

Tạo video từ lời nhắc cùng hình ảnh tham chiếu (`image_urls`) và elements (`elements`), được gọi trong lời nhắc bằng @Image1 hoặc @Element1. Cho phép tối đa 7 tham chiếu tổng cộng. `duration` nằm trong khoảng 3 đến 10 giây và `aspect_ratio` có thể là 16:9, 9:16 hoặc 1:1. Đây là phiên bản Standard.

Tham số

Gửi tên chuẩn hoặc tên gốc, không gửi cả hai. Tên chuẩn

TênKiểu Mặc địnhĐược phép Mô tả
enable_safety_checkertùy chọn
Kiểuboolean
Mặc địnhtrue
Chỉ có thể tắt kiểm tra an toàn khi tài khoản được ủy quyền; các yêu cầu không có quyền ủy quyền luôn được kiểm tra.
promptbắt buộc
Kiểustring
≤ 2.500 ký tự
Các tham chiếu theo thứ tự sử dụng @Element1, @Element2, v.v. cho các phần tử và @Image1, @Image2, v.v. cho hình ảnh.
image_urlstùy chọn images
Kiểuurl[] · image
Hình ảnh bổ sung định hướng phong cách hoặc diện mạo, được tham chiếu trong lời nhắc bằng @Image1, @Image2, v.v. Tổng số phần tử, hình ảnh tham chiếu và hình ảnh bắt đầu không được quá 7 mục. Mỗi tệp tối đa 50 MB, chiều rộng và chiều cao mỗi chiều ít nhất 300 px, với tỷ lệ khung hình từ 0.40 đến 2.50.
elementstùy chọn
Kiểuobject[]
Nhân vật hoặc vật thể sẽ xuất hiện trong video, được tham chiếu trong lời nhắc bằng @Element1, @Element2, v.v. Tổng số phần tử, hình ảnh tham chiếu và hình ảnh bắt đầu không được quá 7 mục.
elements[].frontal_image_urlbắt buộc
Kiểuurl · image
Hình ảnh chính diện cung cấp góc nhìn chính của phần tử, giới hạn 50 MB. Chiều rộng và chiều cao mỗi chiều ít nhất 300 px, với tỷ lệ khung hình từ 0.40 đến 2.50. Thời gian chờ là 20 giây.
elements[].reference_image_urlstùy chọn
Kiểuurl[] · image
Cung cấp 1–3 hình ảnh tham chiếu bổ sung ở các góc khác nhau. Mỗi hình ảnh phải có tỷ lệ khung hình từ 0.40 đến 2.50, kích thước ít nhất 300px ở cả hai chiều và không lớn hơn 50.0MB.
durationtùy chọn
Kiểuenum
Mặc định5
345678910
Độ dài video tính bằng giây.
aspect_ratiotùy chọn
Kiểuenum
Mặc định16:9
16:99:161:1
Tỷ lệ chiều rộng trên chiều cao của các khung hình trong video được tạo.
bắt buộc Tên chuẩn, cũng được chấp nhận

Các tham số tệp nhận URL https:// công khai, URI data: tối đa 10 MB hoặc file_url của một tệp tải lên. Tệp

Đầu ra

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "kling-video/o1/standard/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": 420,
    "usd": "0.42",
    "charged": 420,
    "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
    }
  },
  "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"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
video
object {url, content_type, file_name, file_size}Video do mô hình tạo ra.

Thêm mô hình: Tham chiếu sang video

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/kling-video/o1/standard/reference-to-video.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt