imagestringobrigatório
Image to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
kwaivgi/kling-video/3.0/omni/pro/image-to-videoKling 3.0 Omni Pro Image to Video by Kuaishou animates a start image, optionally toward an end image, into a 3-10 second 1080p video.
Testar o modelo
PNG, JPEG, WebP ou GIF · máximo de 20 MiB
PNG, JPEG, WebP ou GIF · máximo de 20 MiB
O que você gostaria de fazer em seguida?
Selecione um exemplo para carregar as entradas e o resultado no playground.
{
"image": "https://static.sandbase.ai/examples/7f4e8da8-e302-4874-b924-fdaf5f2cd499/input/60106a2d-39fe-470a-b171-aec331266b39.png",
"prompt": "Create a magical timelapse transition. The snow melts rapidly to reveal green grass, and the tree branches burst into bloom with pink flowers in real-time. The lighting shifts from cold winter light to warm spring sunshine. The camera pushes in slowly towards the tree. Disney-style magical transformation, cinematic, 8k."
}{
"duration": 5,
"image": "https://static.sandbase.ai/examples/16ef95fa-0659-4423-a63f-717b089e43f6/input/ba2a5e9f-ba44-4ca3-9257-98753cf5a1ba.png",
"prompt": "One continuous shot, no cuts. The camera trucks slowly to the left alongside the boat while the boat glides steadily forward to the right, leaving a long silver wake that spreads across the water. Banks of mist roll slowly across the water and drift past the mountain walls. Gentle ripples move across the whole lake surface. Nothing enters or leaves the frame; the empty fog on the left stays empty; no text. Calm, steady speed."
}Preferência humana
Classificações Elo de votos cegos lado a lado, comparadas com outros modelos de imagem e vídeo.
Classificações obtidas de Artificial Analysis Arena
Arena de imagem para vídeo (sem áudio): as pessoas escolhem o melhor de dois clipes animados a partir da mesma imagem, sem ver os nomes dos modelos; o áudio não é avaliado.
Também medido como Kling 3.0 Omni 1080p (Pro): Kling O3 Pro Image to Video
Kling 3.0 Omni Pro image-to-video: animate a first frame, optionally toward an end frame, over 3–10 seconds.
| 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–10 | 5 | Output length in seconds. |
$0.112 per output second.
| Output | Price |
|---|---|
| 3s | $0.336 |
| 5s (default) | $0.56 |
| 10s | $1.12 |
Failed runs are not charged.
Other Kling 3.0 Omni endpoints: kwaivgi/kling-video/3.0/omni/pro/reference-to-video, kwaivgi/kling-video/3.0/omni/pro/video-to-video/edit.
Comece a construir
Envie este modelo pela 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/3.0/omni/pro/image-to-video",
"image": "https://static.sandbase.ai/examples/kwaivgi/kling-video/omni/pro/image-to-video/input_image_0.png",
"prompt": "Create a magical timelapse transition. The snow melts rapidly to reveal green grass, and the tree branches burst into bloom with pink flowers in real-time. The lighting shifts from cold winter light to warm spring sunshine. The camera pushes in slowly towards the tree. Disney-style magical transformation, cinematic, 8k.",
"duration": 5,
"end_image": "https://static.sandbase.ai/examples/kwaivgi/kling-video/omni/pro/image-to-video/input_end_image_1.png"
}
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"Crie uma chave da API SandBase e defina-a no ambiente do seu servidor. Todas as requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha a chave no servidor. Não a exponha em código do navegador nem a comite em um repositório.
Faça POST para /v1/run com este ID de modelo e suas entradas. O exemplo de requisição acima inclui envio e polling.
Use o ID de execução retornado para fazer polling até que o status seja completed, failed ou timeout. Leia a saída somente após completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passe uma URL de arquivo acessível publicamente no campo de imagem, vídeo ou áudio do modelo. Os formatos e limites suportados são mostrados ao lado de cada entrada do Playground.
Use o controle de upload ou substituição nos campos de imagem suportados no Playground. Campos de URL de vídeo aceitam um vídeo de condução hospedado; isso não implica suporte a upload de vídeo.
imagestringobrigatórioImage to use as the first frame of the video. Max file size: 10.0MB, Min width: 300px, Min height: 300px, Min aspect ratio: 0.40, Max aspect ratio: 2.50, Timeout: 20.0s
promptstringobrigatórioUse @Image1 to reference the start frame, @Image2 to reference the end frame.
durationintegerVideo duration in seconds.
Padrão: 5
Valores possíveis: 3, 4, 5, 6, 7, 8, 9, 10
end_imagestringImage to use as the last frame of the video.
{
"model": "kwaivgi/kling-video/3.0/omni/pro/image-to-video",
"image": "https://static.sandbase.ai/examples/kwaivgi/kling-video/omni/pro/image-to-video/input_image_0.png",
"prompt": "Create a magical timelapse transition. The snow melts rapidly to reveal green grass, and the tree branches burst into bloom with pink flowers in real-time. The lighting shifts from cold winter light to warm spring sunshine. The camera pushes in slowly towards the tree. Disney-style magical transformation, cinematic, 8k.",
"duration": 5,
"end_image": "https://static.sandbase.ai/examples/kwaivgi/kling-video/omni/pro/image-to-video/input_end_image_1.png"
}Uma execução concluída expõe seu resultado em output. O texto a seguir é o exemplo salvo do modelo, não uma nova geração.
[
{
"poster": "https://static.sandbase.ai/examples/posters/5fd40be467d3bfdf999f.jpg",
"source": "Kling AI official schema mirror",
"source_url": "https://kling.ai/document-api/guides/get-started/overview",
"url": "https://static.sandbase.ai/examples/7f4e8da8-e302-4874-b924-fdaf5f2cd499/output/c5dd0557-0eac-4ac3-b3e2-7004b369ced9.mp4"
}
]