ভিডিওKuaishouনতুন

Kling 4.0

প্রতি-শট প্রম্পট সহ মাল্টিমোডাল ভিডিও 30s পর্যন্ত

model: "kling-4"

API ডকুমেন্টেশনএজেন্টদের জন্য ডকুমেন্টেশন

মোড

একটি মডেল আইডি, নিচের প্রতিটি মোড। আপনি যে ক্ষেত্রগুলি পাঠান তা মোড নির্বাচন করে এবং মূল্য মোড অনুসরণ করে।

মোডনির্বাচিত দ্বারাসাধারণ মূল্য
লেখা থেকে ভিডিওprompt
উদাহরণ অনুরোধ
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.785
চিত্র থেকে ভিডিওimage_url
উদাহরণ অনুরোধ
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.785
প্রথম এবং শেষ ফ্রেমimage_urlend_image_url
উদাহরণ অনুরোধ
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.785
রেফারেন্স থেকে ভিডিওreference_imagesvideo_urls
উদাহরণ অনুরোধ
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.785

ইনপুট

প্রয়োজনীয়

Prompt

ঐচ্ছিক

First frame to animate (image-to-video). Leave it out for text-to-video.

ঐচ্ছিক

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.

ঐচ্ছিক

Last frame (https URL). Sent with image_url, the video moves from the first frame to this one.

ঐচ্ছিক

Reference videos (https URLs) for motion or style. Selects reference video.

ঐচ্ছিক
5

Duration (seconds)

ঐচ্ছিক

Aspect Ratio

ফলাফল

উদাহরণ আউটপুট

এই মডেলের একটি প্রকৃত ফলাফল। আপনার ফলাফল এখানে দেখতে এটি চালান।

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-4",
  "input": {
    "prompt": "One continuous shot tracking sideways along the lip of a stone weir in heavy flow, the sheet of water folding over the edge in a smooth glassy curve before breaking into white turbulence below, spray hanging in cold morning light, wet dark granite and moss at the margins, the camera gliding at a steady pace the whole way, every strand of the falling water resolved and stable"
  }
}'