Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://vip.xmsmartlink.com/kling/v1/videos/text2video/{task_id} \ --header 'Authorization: Bearer <token>'
{ "code": 0, "message": "", "task_id": "task_315wt4t0YE3Y4WwN6ygeeGgxbAIBnyfP", "request_id": "73f73d37-e27a-4644-8cc1-9753b8c758fe", "data": { "task_id": "task_315wt4t0YE3Y4WwN6ygeeGgxbAIBnyfP", "task_status": "succeed", "task_status_msg": "", "watermark_info": { "enabled": false }, "task_result": { "videos": [ { "id": "", "url": "http://example.com/aigcVideoGenFile.mp4", "watermark_url": "", "duration": "5.042" } ], "images": null }, "created_at": 1775872087, "updated_at": 1775872159 } }
使用 Authorization: Bearer <YOUR_API_KEY> 进行认证。
创建接口返回的任务 ID。
Kling 任务状态和结果。