Kling 2.5 Turbo — Pro image to video API
Pro image to video with Kling 2.5 Turbo: request parameters, examples and response handling.
Endpoint: POST https://api.higgsfield.ai/kling-video/v2.5-turbo/pro/image-to-video
Endpoint ID: kling-video/v2.5-turbo/pro/image-to-video
#Usage notes
- duration accepts 5 or 10 seconds; 5 is the default.
- This endpoint does not expose a sound or aspect_ratio field.
- The example.com media URLs are placeholders. Replace them with public HTTPS URLs to your own media before submitting.
#Quick start
Replace the example media URLs with publicly accessible URLs for your own files before submitting.
curl --request POST \
--url https://api.higgsfield.ai/kling-video/v2.5-turbo/pro/image-to-video \
--header "Authorization: Key ${HF_API_KEY_ID}:${HF_API_KEY_SECRET}" \
--header "Content-Type: application/json" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY}" \
--data '{
"prompt": "A slow cinematic tracking shot along a sunlit coastal road.",
"image_url": "https://example.com/first-frame.jpg"
}'
import higgsfield_client
arguments = (
{'prompt': 'A slow cinematic tracking shot along a sunlit coastal road.',
'image_url': 'https://example.com/first-frame.jpg'}
)
result = higgsfield_client.subscribe(
"kling-video/v2.5-turbo/pro/image-to-video",
arguments=arguments,
)
print(result["video"]["url"])
import { config, higgsfield } from "@higgsfield/client/v2";
config({ credentials: process.env.HF_CREDENTIALS });
const result = await higgsfield.subscribe("kling-video/v2.5-turbo/pro/image-to-video", {
input:
{
"prompt": "A slow cinematic tracking shot along a sunlit coastal road.",
"image_url": "https://example.com/first-frame.jpg"
},
withPolling: true,
});
if (result.status === "completed") {
console.log(result.video?.url);
}
#Input schema
prompt string required
Write your prompt here
duration integer (default: 5)
Requested output duration in seconds.
Allowed values: 5, 10.
cfg_scale number (default: 0.5)
Minimum: 0.
Maximum: 1.
Multiple of: 0.01.
image_url string required
Public URL of the input image.
Format: uri.
negative_prompt string
Content or visual features to avoid.
Complete JSON schema
{
"type": "object",
"title": "Kling 2.5 Playground",
"required": [
"prompt",
"image_url"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"description": "Write your prompt here"
},
"duration": {
"enum": [
5,
10
],
"type": "integer",
"title": "Duration",
"default": 5
},
"cfg_scale": {
"type": "number",
"title": "CFG Scale",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"multipleOf": 0.01
},
"image_url": {
"type": "string",
"title": "Image URL",
"format": "uri"
},
"negative_prompt": {
"type": "string",
"title": "Negative Prompt",
"default": ""
}
}
}
#Response
Submission returns a request handle. Poll status_url until status is completed, or use webhooks.
{
"status": "queued",
"request_id": "REQUEST_ID",
"status_url": "https://api.higgsfield.ai/requests/REQUEST_ID/status",
"cancel_url": "https://api.higgsfield.ai/requests/REQUEST_ID/cancel"
}
A completed response includes the following output fields:
{
"status": "completed",
"request_id": "REQUEST_ID",
"video": {
"url": "https://example.com/output.mp4"
}
}
See idempotent requests, polling, request errors and authentication for shared request handling.