Generate a video from a text prompt with Kling v3 Standard
Generate a video from a text prompt with Kling v3 Standard.
Video generation always runs asynchronously: the response returns as soon as the request is accepted and carries only a generation_id. Poll for completion and results with GET /v1/generations/{generation_id} using that id, or supply a webhook_url to have the finished result POSTed to your server instead.
Video links are available for a limited period of time; download the video if you want to keep it.
Query parameters
When true, the request is validated and priced but not run: nothing is generated, stored, or billed, and no safety review is performed. The response is a PriceQuote object instead of the usual response for this endpoint. Send exactly the request you would send to generate, so the quote reflects the same options.
Request body
Example request
{
"duration": 5,
"shot_type": null,
"aspect_ratio": null,
"private": true,
"webhook_url": "https://api.example.com/webhooks/ideogram",
"negative_prompt": "negative_prompt",
"target_collection_id": "target_collection_id",
"generate_audio": false,
"prompt": "A red fox running through a snowy forest at dawn.",
"cfg_scale": 0.5
}Response
An acknowledgement to poll with GET /v1/generations/{generation_id}.
Example response
{
"generation_id": "generation_id",
"created": "2000-01-23T04:56:07+00:00"
}