AI model APIVideosKling format
Kling text-to-video
Generate a video from text with Kling. Supports models such as kling-v1 and kling-v1-5.
Authorization
BearerAuth AuthorizationBearer <token>
Authenticate with a Bearer token: Authorization: Bearer sk-xxxxxx.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Video generation request
Response Body
application/json
application/json
curl -X POST "https://example.com/kling/v1/videos/text2video" \ -H "Content-Type: application/json" \ -d '{}'{ "task_id": "abcd1234efgh", "status": "queued"}