imagestringrequired
URL of the start frame image.
kwaivgi/kling-video/o3/standard/image-to-videoKling O3 Standard Image to Video by Kuaishou animates a start image, optionally toward an end image, into a 3-15 second 720p video with optional native audio.
Try the model
PNG, JPEG, WebP, or GIF · 20 MiB maximum
Customize your input with more control.
PNG, JPEG, WebP, or GIF · 20 MiB maximum
What would you like to do next?
Select an example to load its inputs and result into the playground.
{
"image": "https://static.sandbase.ai/examples/182211e7-4369-4ad2-ae63-0e50f87b03d3/input/b6fc0b61-31c0-4922-aea3-b5231ea1937c.png",
"prompt": "The character walks forward slowly, with the camera following from behind."
}Kling O3 Standard image-to-video, the cost-efficient O3 tier. image anchors the first frame and an optional end_image sets the last; the prompt directs action and camera over 3–15 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–15 | 5 | Output length in seconds. |
generate_audio | boolean | false | Generate native audio with the clip. |
multi_prompt | object[] | — | Optional list of shots, each with its own prompt and duration. |
shot_type | customize / intelligent | customize | customize follows your multi_prompt shot list; intelligent lets the model plan the cuts. |
You pay for output seconds: $0.084 without audio and $0.112 with generate_audio.
| Output | Without audio | With audio |
|---|---|---|
| 3s | $0.252 | $0.336 |
| 5s (default) | $0.42 | $0.56 |
| 10s | $0.84 | $1.12 |
| 15s | $1.26 | $1.68 |
Failed runs are not charged.
Other Kling O3 Standard endpoints and tiers: kwaivgi/kling-video/o3/standard/text-to-video, kwaivgi/kling-video/o3/standard/reference-to-video, kwaivgi/kling-video/o3/standard/edit, kwaivgi/kling-video/o3/standard/video-to-video, kwaivgi/kling-video/o3/pro/image-to-video, kwaivgi/kling-video/o3/4k/image-to-video.
Start building
Submit this model through the 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/o3/standard/image-to-video",
"image": "https://static.sandbase.ai/examples/mirrored/0ff4703452ec-8ABMp4n9rh3kfD2Rq8fHd_start_frame.png",
"prompt": "The character walks forward slowly, with the camera following from behind.",
"duration": 10,
"end_image": "https://static.sandbase.ai/examples/alibaba/qwen-image-edit-plus-lora-gallery/add-background/output_url_1.png",
"shot_type": "customize",
"generate_audio": false
}
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"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
imagestringrequiredURL of the start frame image.
promptstringrequiredText prompt for video generation. Either prompt or multi_prompt must be provided, but not both.
durationintegerVideo duration in seconds (3-15s).
Default: 5
Possible values: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
end_imagestringURL of the end frame image (optional).
shot_typestringThe type of multi-shot video generation. 'intelligent' lets the model automatically determine shot structure.
Default: "customize"
Possible values: "customize", "intelligent"
multi_promptarrayList of prompts for multi-shot video generation.
generate_audiobooleanWhether to generate native audio for the video.
Default: false
{
"model": "kwaivgi/kling-video/o3/standard/image-to-video",
"image": "https://static.sandbase.ai/examples/mirrored/0ff4703452ec-8ABMp4n9rh3kfD2Rq8fHd_start_frame.png",
"prompt": "The character walks forward slowly, with the camera following from behind.",
"duration": 10,
"end_image": "https://static.sandbase.ai/examples/alibaba/qwen-image-edit-plus-lora-gallery/add-background/output_url_1.png",
"shot_type": "customize",
"generate_audio": false
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
[
{
"poster": "https://static.sandbase.ai/examples/posters/d5c31361d3dbd34606cd.jpg",
"source": "Kling AI official schema mirror",
"source_url": "https://kling.ai/document-api/guides/get-started/overview",
"url": "https://static.sandbase.ai/examples/182211e7-4369-4ad2-ae63-0e50f87b03d3/output/e82c1a7e-88f3-4214-b5d0-ab948eab83c7.mp4"
}
]