Kling v3.0 turbo Image to Video
Model ID kwaivgi/kling-v3.0-turbo/image-to-video
Overview
Important: Turbo accepts only image, optional prompt, duration and resolution as documented by this endpoint.
Endpoint
POST /v1/video/generations
Authentication
Authorization: Bearer <AIAPIAIAPI_API_KEY>
Request Body
| Parameter | Type | Required | Nullable | Default | Constraints | Description |
|---|---|---|---|---|---|---|
model | string | Yes | No | - | values: kwaivgi/kling-v3.0-turbo/image-to-video | Model ID used to route the request. |
prompt | string | No | No | - | - | Text prompt describing the desired output. |
image | string | Yes | No | - | accepts: HTTPS URL, Base64 data URL | JPG/JPEG/PNG image, at most 10 MB, dimensions at least 300x300 pixels and aspect ratio 0.4–2.5. |
duration | integer | No | No | `5` | range: 3-15 | Generated video duration in seconds. |
resolution | string | No | No | `1080p` | values: 720p, 1080p | Output video resolution. |
model
Type: string · Required: Yes · Nullable: No
Model ID used to route the request.
prompt
Type: string · Required: No · Nullable: No
Text prompt describing the desired output.
image
Type: string · Required: Yes · Nullable: No
JPG/JPEG/PNG image, at most 10 MB, dimensions at least 300x300 pixels and aspect ratio 0.4–2.5.
duration
Type: integer · Required: No · Nullable: No
Generated video duration in seconds.
resolution
Type: string · Required: No · Nullable: No
Output video resolution.
Request Example
curl --request POST \
--url https://aiapiaiapi.com/v1/video/generations \
--header 'Authorization: Bearer $AIAPIAIAPI_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"model": "kwaivgi/kling-v3.0-turbo/image-to-video",
"prompt": "A cinematic camera movement through a forest",
"image": "https://example.com/reference.jpg",
"duration": 5,
"resolution": "1080p"
}'JSON
{
"model": "kwaivgi/kling-v3.0-turbo/image-to-video",
"prompt": "A cinematic camera movement through a forest",
"image": "https://example.com/reference.jpg",
"duration": 5,
"resolution": "1080p"
}Response
{
"id": "vid_01K2ABC123",
"object": "video.generation",
"model": "kwaivgi/kling-v3.0-turbo/image-to-video",
"status": "queued",
"progress": null,
"outputs": [],
"created_at": 1786960800,
"started_at": null,
"completed_at": null,
"error": null
}Task Status
Use the id from the create response as task_id:
GET /v1/video/generations/{task_id}
{
"id": "vid_01K2ABC123",
"object": "video.generation",
"model": "kwaivgi/kling-v3.0-turbo/image-to-video",
"status": "completed",
"progress": 100,
"outputs": [
{ "type": "video", "url": "https://cdn.example.com/videos/vid_01K2ABC123.mp4" }
],
"created_at": 1786960800,
"started_at": 1786960805,
"completed_at": 1786960900,
"error": null
}Error Responses
Validation errors return HTTP 400 with a stable error code.
{
"error": {
"type": "invalid_request_error",
"code": "unsupported_value",
"message": "The parameter value is not supported by this model.",
"param": "duration"
}
}Documentation Index
Fetch the complete documentation index at:
https://aiapiaiapi.com/llms.txt
Use this file to discover all available API documentation.