Skip to main content
POST
Submit Kling 4.0 Flash Image to Video Task
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Kling 4.0 Flash Image to Video animates one image as the opening frame of a 3–20 second 720p video. Add a prompt to direct motion, camera and sound cues, or send the image on its own and let the model bring the scene to life. Kling 4.0 Flash is the faster 720p tier of Kuaishou’s Kling 4.0 video model. Vidgo exposes it as four model IDs: Text to Video, Image to Video, Reference to Video and Video Edit.

Models

  • kwaivgi/kling-v4.0-flash/image-to-video — Image-to-video with Kling 4.0 Flash from one start frame, 3–20 seconds at 720p.

Features

  • One start-frame image via image_urls.
  • Optional prompt up to 26,000 characters.
  • Any whole-second duration from 3 to 20 seconds at 720p.

Required parameters

  • image_urls (string[]): Exactly one public HTTP(S) image URL, used as the start frame.

Optional parameters

  • prompt (string): Motion and camera direction, 1–26,000 characters after trimming.
  • duration (integer): Output length, 3–20 seconds. Default 5.
  • resolution (string): 720p. Default 720p.

Output

The finished task returns one 720p MP4 video in the files array of Query Task Status and the callback payload.

Examples

  • Rainy night station: steam curls from a cup of tea handed to a grandfather while rain streaks down the waiting-room window, 5 seconds (result).

Notes

  • image_urls holds one image; a second image returns 400.
  • Put model and callback_url at the request root, next to input. input accepts the fields listed above; other fields return 400.
  • Credits are reserved at submission and scale with the output duration at the 720p rate. A failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"kwaivgi/kling-v4.0-flash/image-to-video"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required