AI Model APIVideos
Create Video Generation Task
Submit a video generation task, supporting text-to-video and image-to-video.
Returns the task ID. The task status can be queried via the GET API.
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://loading/v1/video/generations" \ -H "Content-Type: application/json" \ -d '{}'{
"task_id": "abcd1234efgh",
"status": "queued"
}{
"error": {
"message": "string",
"type": "string",
"param": "string",
"code": "string"
}
}How is this guide?
Last updated on