4. 视频(Videos)可灵格式
Kling 文生视频
使用 Kling 模型从文本描述生成视频。
支持的模型:kling-v1, kling-v1-5 等
Authorization
BearerAuth AuthorizationBearer <token>
使用 Bearer Token 认证。
格式: Authorization: Bearer sk-xxxxxx
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
视频生成请求
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"}