WideoKuaishouNowe

Kling O1

Kling O1 i2v z klatką końcową

model: "kling-o1-gen"

Tryby

Jeden identyfikator modelu, każdy tryb poniżej. Pola, które wysyłasz, wybierają tryb, a cena zależy od trybu.

TrybWybrany przezTypowa cena
Obraz na wideoimage_url
Przykładowe żądanie
{
  "model": "kling-o1-gen",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.420
Pierwsza i ostatnia klatkaimage_urlend_image_url
Przykładowe żądanie
{
  "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
Odniesienie na wideoreference_images
Przykładowe żądanie
{
  "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

Wejście

Wymagane

Prompt

Wymagane

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

Opcjonalne

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

Opcjonalne

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.

Opcjonalne

Duration (seconds)

Wynik

Przykładowe wyjście

Rzeczywisty wynik z tego modelu. Uruchom go, aby zobaczyć tutaj swoje wyniki.

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