VideoKuaishouMới

Kling O1

Kling O1 i2v với khung kết thúc

model: "kling-o1-gen"

Tài liệu APITài liệu dành cho agents

Các chế độ

Một ID mô hình, mọi chế độ bên dưới. Các trường bạn gửi chọn chế độ, và giá theo chế độ.

Chế độĐược chọn bằngGiá điển hình
Từ hình ảnh sang videoimage_url
Yêu cầu ví dụ
{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.420
Khung đầu tiên và khung cuốiimage_urlend_image_url
Yêu cầu ví dụ
{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.420
Từ tham chiếu sang videoreference_images
Yêu cầu ví dụ
{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.420

Đầu vào

Bắt buộc

Prompt

Bắt buộc

The image to animate. A public https URL, or an upload URL from POST /v1/uploads.

Tùy chọn

Image for the final frame of the video. A public https URL, or an upload URL from POST /v1/uploads.

Tùy chọn

Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.

Tùy chọn

Duration (seconds)

Kết quả

Kết quả mẫu

Kết quả thực từ mô hình này. Chạy để xem kết quả của bạn ở đây.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "Rack focus pulls slowly from the soft blur of finished canvases in the background to the painter'\''s pencil moving across the sketchpad in sharp foreground detail, the tourist sitting still while the square glows in the background, camera entirely static."
  }
}'