VideoKuaishouNou

Kling 4.0

Video multimodal până la 30s cu prompturi pe fiecare cadru

model: "kling-4"

Moduri

Un ID model, fiecare mod mai jos. Câmpurile pe care le trimi aleg modul, iar prețul urmează modul.

ModSelectat dePreț tipic
Text în videoprompt
Exemplu de cerere
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.785
Imagine în videoimage_url
Exemplu de cerere
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.785
Primul și ultimul cadruimage_urlend_image_url
Exemplu de cerere
{
  "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
Referință în videoreference_imagesvideo_urls
Exemplu de cerere
{
  "model": "kling-4",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.785

Intrare

Obligatoriu

Prompt

Opțional

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

Opțional

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.

Opțional

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

Opțional

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

Opțional
5

Duration (seconds)

Opțional

Aspect Ratio

Rezultat

Exemplu de rezultat

Un rezultat real din acest model. Rulează-l pentru a vedea aici al tău.

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