AI model APIVideosKling format
Kling image-to-video
Generate a video from an image with Kling. The image parameter accepts an image URL or base64-encoded image data.
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/image2video" \ -H "Content-Type: application/json" \ -d '{}'{ "task_id": "abcd1234efgh", "status": "queued"}