KLING V1.6 Text to Video
KLING V1.6 Text to Video is an AI text-to-video generation model developed by the Kuaishou AI Team. It transforms textual descriptions into dynamic 5-second videos at 720p resolution, offering high-quality visual outputs with enhanced motion and semantic understanding.
This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.
Request Headers
Supports: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
The mode of the video generation.
Supports:
Standard
: fast creation, lower cost, and generate 720p video.
Default: Standard
.
Prompt text required to guide the generation.
Range: 1 <= x <= 2000
.
Negative prompts instruct the model on what elements to avoid generating.
Range: 0 <= x <= 2000
.
Guidance scale parameter controls how closely the generated content follows the prompt.
Range: 0 <= x <= 1
. Default: 0.5
.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.
Example
Here is an example of how to use the KLING V1.6 Text to Video API.
- Generate a task_id by sending a POST request to the KLING V1.6 Text to Video API.
Request:
Response:
- Use
task_id
to get output videos.
HTTP status codes in the 2xx range indicate that the request has been successfully accepted, while status codes in the 5xx range indicate internal server errors.
You can get videos url in videos
of response.
Request:
Response:
Video files: