Bỏ qua đến nội dung

Kling O3 Reference Video to Video [Standard]

Tích hợp

Id mô hình kling-video/o3/standard/video-to-video/reference
# 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/o3/standard/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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: 1,89 $ 1.890 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 O3. 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

Chỉ dẫn văn bản để tạo video. Dùng @Video1 để tham chiếu video tham chiếu.

•bắt buộc video_url
Thả tệp hoặc

URL trỏ đến video tham chiếu ở định dạng .mp4 hoặc .mov, không lớn hơn 200MB. Cả hai kích thước phải từ 720px đến 3840px, tốc độ khung hình 23.0–60.0 FPS và thời lượng 3–15 giây (tối đa 15.05 giây).

duration

Độ dài video, tính bằng giây; phạm vi của video tham chiếu là 3–15s.

aspect_ratio mặc định auto

Tỷ lệ giữa chiều rộng và chiều cao.

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

Hình ảnh đị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. Khi có đầu vào video, tổng số phần tử và hình ảnh tham chiếu không được quá 4 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.

mặc định customize

Chế độ dùng để tạo video nhiều cảnh.

Nhân vật hoặc vật thể cần đưa vào, được tham chiếu trong lời nhắc bằng @Element1 và @Element2.

POST /run/kling-video/o3/standard/video-to-video/reference?wait=20 báo giá → 1,89 $
# 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/o3/standard/video-to-video/reference?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 O3 Reference Video to Video [Standard]

Tạo đoạn video mới được dẫn hướng bởi video tham chiếu (`video_url`, .mp4/.mov, 3-15 s, 720-3840px, tối đa 200MB) và lời nhắc. `duration` có thể là 3 đến 15 giây, còn `aspect_ratio` nhận auto, 16:9, 9:16 hoặc 1:1. Hình ảnh tham chiếu và `elements` được phép tối đa 4 mục tổng cộng, còn `keep_audio` giữ âm thanh gốc.

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ự
Chỉ dẫn văn bản để tạo video. Dùng @Video1 để tham chiếu video tham chiếu.
video_urlbắt buộc video
Kiểuurl · video
URL trỏ đến video tham chiếu ở định dạng .mp4 hoặc .mov, không lớn hơn 200MB. Cả hai kích thước phải từ 720px đến 3840px, tốc độ khung hình 23.0–60.0 FPS và thời lượng 3–15 giây (tối đa 15.05 giây).
image_urlstùy chọn images
Kiểuurl[] · image
Hình ảnh đị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. Khi có đầu vào video, tổng số phần tử và hình ảnh tham chiếu không được quá 4 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.
keep_audiotùy chọn
Kiểuboolean
Mặc địnhtrue
Kiểm soát việc giữ lại âm thanh gốc của video tham chiếu.
elementstùy chọn
Kiểuobject[]
Nhân vật hoặc vật thể cần đưa vào, được tham chiếu trong lời nhắc bằng @Element1 và @Element2.
elements[].frontal_image_urltùy chọn
Kiểuurl · image
Hình ảnh chính diện thể hiện góc nhìn chính của phần tử. Kích thước tệp không được quá 50 MB; chiều rộng và chiều cao mỗi chiều ít nhất 300px, với tỷ lệ khung hình từ 0.40 đến 2.50.
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.
shot_typetùy chọn
Kiểustring
Mặc địnhcustomize
Chế độ dùng để tạo video nhiều cảnh.
aspect_ratiotùy chọn
Kiểuenum
Mặc địnhauto
auto16:99:161:1
Tỷ lệ giữa chiều rộng và chiều cao.
durationtùy chọn
Kiểuenum
3456789101112131415
Độ dài video, tính bằng giây; phạm vi của video tham chiếu là 3–15s.
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/o3/standard/video-to-video/reference",
  "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": 1890,
    "usd": "1.89",
    "charged": 1890,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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: Video 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/o3/standard/video-to-video/reference.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt