Jevrouter Video API · image-to-video
kling v3.0 4k · image to video
kwaivgi/kling-v3.0-4k/image-to-video:video
Kling 3.0 Pro delivers top-tier image-to-video generation with smooth motion, cinematic visuals, accurate prompt adherence, and native audio for ready-to-share clips.
Create an API keyOptions and pricing
Task: image-to-video. Catalog base price: $2.1. The exact quote depends on your inputs; the catalog price is not a fixed per-task charge.
We reserve the quoted maximum before submission, settle the actual generation cost and release the remainder. Set jev.max_cost_usd to your maximum reservation. A quote above this limit is rejected before generation.
| Input field | Type | Required | Options / default |
|---|---|---|---|
image | string | Yes | See schema |
sound | boolean | No | See schema |
prompt | string | No | See schema |
duration | integer | No | [3,4,5,6,7,8,9,10,11,12,13,14,15] |
cfg_scale | number | No | 0.5 |
end_image | string | No | See schema |
shot_type | string | No | ["customize","intelligence"] |
element_list | array | No | See schema |
multi_prompt | array | No | See schema |
negative_prompt | string | No | See schema |
Complete input schema
{
"type": "object",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"description": "Supported image formats: .jpg/.jpeg/.png. The size of the image file should not exceed 10MB, the width and height of the image should be no less than 300px, and the aspect ratio of the image should be between 1:2.5 and 2.5:1."
},
"sound": {
"type": "boolean",
"description": "Whether sound is generated simultaneously when generating a video."
},
"prompt": {
"type": "string",
"description": "Text prompt for video generation. Either prompt or multi_prompt must be provided, but not both. Specify a element, image, or video in the format <<<>>>, such as <<<element_1>>>, <<<image_1>>>, <<<video_1>>>."
},
"duration": {
"enum": [
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"type": "integer",
"default": 5,
"description": "The duration of the generated media in seconds.",
"x-ui-component": "select"
},
"cfg_scale": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0,
"description": "Flexibility in video generation; The higher the value, the lower the model's degree of flexibility, and the stronger the relevance to the user's prompt.",
"x-ui-component": "slider"
},
"end_image": {
"type": "string",
"description": "URL of the ending image. multi_shot is not supported with end image."
},
"shot_type": {
"enum": [
"customize",
"intelligence"
],
"type": "string",
"default": "customize",
"description": "Shot type for the generation.",
"x-enum-aliases": {
"intelligent": "intelligence"
}
},
"element_list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"element_id": {
"type": "string",
"description": "Element ID returned by kwaivgi/kling-elements or kwaivgi/kling-elements-advanced."
}
},
"x-order-properties": [
"element_id"
]
},
"maxItems": 3,
"description": "Element reference list. To get available elements and their IDs, visit: https://wavespeed.ai/models/kwaivgi/kling-elements",
"x-ui-component": "array"
},
"multi_prompt": {
"type": "array",
"items": {
"type": "object",
"required": [
"prompt",
"duration"
],
"properties": {
"prompt": {
"type": "string",
"maxLength": 512,
"description": "The prompt for this shot."
},
"duration": {
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
],
"type": "integer",
"default": 5,
"description": "The duration of this shot in seconds.",
"x-ui-component": "select"
}
},
"x-order-properties": [
"prompt",
"duration"
]
},
"maxItems": 6,
"description": "List of prompts for multi-shot video generation. If provided, divides the video into multiple shots.",
"x-ui-component": "array"
},
"negative_prompt": {
"type": "string",
"description": "The negative prompt for the generation."
}
},
"x-order-properties": [
"image",
"prompt",
"negative_prompt",
"end_image",
"duration",
"cfg_scale",
"sound",
"shot_type",
"multi_prompt",
"element_list"
],
"additionalProperties": false
}Required fields and conditional rules come from the published schema. Catalog support does not mean every option has been independently tested by Jevrouter. Synchronous generation, base64 output and customer callbacks are unavailable.
1. Submit a video task
Allow this model on your Jevrouter key. Replace every placeholder below with a value of the correct type, set a USD limit, and supply any conditional fields required by the schema. Media inputs must use your own accessible URLs; this endpoint does not upload files.
curl https://api.jevrouter.io/v1/videos \
-H "Authorization: Bearer $JEVROUTER_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: video-demo-001" \
-d @- <<'JSON'
{
"model": "kwaivgi/kling-v3.0-4k/image-to-video:video",
"input": {
"image": "<image: provide string>",
"duration": 5,
"cfg_scale": 0.5,
"shot_type": "customize"
},
"jev": {
"max_cost_usd": "YOUR_USD_LIMIT"
}
}
JSONSave data.id and data.urls.get. An accepted task continues even if you disconnect.
Let Jevrouter choose
Use jev/auto as the model and set task to image-to-video. Your project must enable Auto, and both the project and key must allow Auto and the candidate models.
Auto checks the task type and all supplied input fields against each candidate. It compares live quotes for up to eight compatible candidates, shortlisted by catalog base price. It selects the lowest quote within that shortlist and your budget; this is not a quality ranking or a guarantee of the cheapest model in the entire catalog.
Use common options such as duration, resolution and aspect_ratio at the top level where available. Model-specific options belong in input and may narrow the pool. Unsupported options are rejected, never silently dropped. Without task, Auto defaults to text-to-video.
2. Check the result
curl https://api.jevrouter.io/v1/videos/REQUEST_ID \ -H "Authorization: Bearer $JEVROUTER_API_KEY"
Replace REQUEST_ID with your task ID. Wait at least three seconds between checks. Status progresses from queued to processing, then completed or failed. Results appear in data.outputs as media URLs or structured output objects.
If the submission response is lost, repeat the original request with the same idempotency key. A new key may create another billed task.
Results and billing
View the request in your dashboard or query /v1/requests/REQUEST_ID for reservation and settlement details. Results may be ready before the bill arrives.
Result links are retained for up to seven days and may expire earlier. Save your video while it is available. Anyone with a media URL may be able to access it. Cancellation and customer webhooks are not available.