वीडियोKuaishouनया

Kling O1

Kling O1 i2v एंड-फ्रेम के साथ

model: "kling-o1-gen"

API दस्तावेज़एजेंट के लिए दस्तावेज़

मोड

एक मॉडल आईडी, नीचे सभी मोड। आप जो फ़ील्ड भेजते हैं वह मोड चुनते हैं, और कीमत मोड के अनुसार होती है।

मोडइनके द्वारा चयनितसामान्य कीमत
छवि से वीडियोimage_url
उदाहरण अनुरोध
{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.420
पहला और अंतिम फ्रेमimage_urlend_image_url
उदाहरण अनुरोध
{
  "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
संदर्भ से वीडियोreference_images
उदाहरण अनुरोध
{
  "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

इनपुट

आवश्यक

Prompt

आवश्यक

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

वैकल्पिक

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

वैकल्पिक

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.

वैकल्पिक

Duration (seconds)

परिणाम

उदाहरण आउटपुट

इस मॉडल से वास्तविक परिणाम। इसे चलाकर अपना परिणाम यहाँ देखें।

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."
  }
}'