imagestringobbligatorio
URL of the image to be used for the video
kwaivgi/kling-video/v3/pro/image-to-videoKling V3 Pro Image to Video by Kuaishou animates a start image, optionally toward an end image, into a 3-15 second 1080p video with optional native audio.
Prova il modello
PNG, JPEG, WebP o GIF · massimo 20 MiB
PNG, JPEG, WebP o GIF · massimo 20 MiB
Cosa vuoi fare dopo?
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"image": "https://static.sandbase.ai/examples/693095f2-433a-413c-b97b-f23038139990/input/94a9a2f1-a241-4046-b903-e16503691bc7.png",
"prompt": "The craftsman slowly examines the bowl, turning it gently in his weathered hands. His eyes reflect years of wisdom. Subtle smile forms on his face. Dust particles drift in warm light. Breathing motion, blinking eyes."
}Preferenza umana
Punteggi Elo da voti anonimi affiancati, confrontati con altri modelli di immagini e video.
Classifiche tratte da Artificial Analysis Arena
Arena image-to-video (senza audio): le persone scelgono la migliore di due clip animate dalla stessa immagine, senza vedere i nomi dei modelli; l'audio non viene valutato.
Kling V3 Pro image-to-video: image anchors the first frame, end_image optionally the last, with native audio and multi-shot control.
| Field | Type | Default | Notes |
|---|---|---|---|
prompt | string, required | — | Up to 2,500 characters. |
image | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
end_image | image URL | — | Optional last frame. |
duration | 3–15 | 5 | Output length in seconds. |
generate_audio | boolean | true | Generate native audio with the clip. |
shot_type | customize / intelligent | customize | customize follows your multi_prompt shot list; intelligent lets the model plan the cuts. |
multi_prompt | object[] | — | Optional list of shots, each with its own prompt and duration. |
You pay for output seconds: $0.168 with audio (the default) and $0.112 without.
| Output | With audio | Without audio |
|---|---|---|
| 3s | $0.504 | $0.336 |
| 5s (default) | $0.84 | $0.56 |
| 10s | $1.68 | $1.12 |
| 15s | $2.52 | $1.68 |
Failed runs are not charged.
multi_prompt with one entry per shot.Other Kling V3 Pro endpoints and tiers: kwaivgi/kling-video/v3/pro/text-to-video, kwaivgi/kling-video/v3/pro/motion-control, kwaivgi/kling-video/v3/standard/image-to-video, kwaivgi/kling-video/v3/4k/image-to-video.
Inizia a costruire
Invia questo modello tramite la SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "kwaivgi/kling-video/v3/pro/image-to-video",
"image": "https://static.sandbase.ai/examples/kwaivgi/mirrored/example_inputs/kling-v3/pro-i2v/start_image.png",
"prompt": "The craftsman slowly examines the bowl, turning it gently in his weathered hands. His eyes reflect years of wisdom. Subtle smile forms on his face. Dust particles drift in warm light. Breathing motion, blinking eyes.",
"duration": 12,
"shot_type": "customize",
"generate_audio": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
imagestringobbligatorioURL of the image to be used for the video
promptstringobbligatorioText prompt for video generation. Either prompt or multi_prompt must be provided, but not both.
durationintegerThe duration of the generated video in seconds
Predefinito: 5
Valori possibili: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
end_imagestringURL of the image to be used for the end of the video
shot_typestringThe type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure.
Predefinito: "customize"
Valori possibili: "customize", "intelligent"
multi_promptarrayList of prompts for multi-shot video generation. If provided, divides the video into multiple shots.
generate_audiobooleanWhether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.
Predefinito: true
{
"model": "kwaivgi/kling-video/v3/pro/image-to-video",
"image": "https://static.sandbase.ai/examples/kwaivgi/mirrored/example_inputs/kling-v3/pro-i2v/start_image.png",
"prompt": "The craftsman slowly examines the bowl, turning it gently in his weathered hands. His eyes reflect years of wisdom. Subtle smile forms on his face. Dust particles drift in warm light. Breathing motion, blinking eyes.",
"duration": 12,
"shot_type": "customize",
"generate_audio": true
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
[
{
"poster": "https://static.sandbase.ai/examples/posters/d10e897bd0cdf909b44d.jpg",
"source": "Kling AI official schema mirror",
"source_url": "https://kling.ai/document-api/guides/get-started/overview",
"url": "https://static.sandbase.ai/examples/693095f2-433a-413c-b97b-f23038139990/output/852cfdd8-a093-4843-8c94-36891182eb61.mp4"
}
]