视频系列Kling
Kling 文生视频
使用 Kling 模型从文本描述生成视频。 支持的模型:kling-v1, kling-v1-5 等
使用 Kling 模型从文本描述生成视频。
支持的模型:kling-v1, kling-v1-5 等
Authorization
bearerAuth AuthorizationBearer <token>
使用 Authorization Bearer API Key 进行鉴权。
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 '{ "model": "kling-v1", "prompt": "宇航员站起身走了", "duration": 5, "width": 1280, "height": 720, "fps": 30 }'{
"task_id": "abcd1234efgh",
"status": "queued"
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}