API ReferenceVideo
Jimeng video generation.
Video generation endpoint in the official Jimeng API format. Use the `Action` parameter to specify the operation type: - `CVSync2AsyncSubmitTask`: Submit a video generation task - `CVSync2AsyncGetResult`: Retrieve task results `Action` and `Version` must be specified in the query parameters.
Authorization
bearerAuth AuthorizationBearer <token>
Authenticate using an Authorization Bearer API Key.
In: header
Query Parameters
Action*string
API action type.
Version*string
API version.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Official Jimeng API request format.
Response Body
application/json
application/json
curl -X POST "https://example.com/jimeng/?Action=CVSync2AsyncSubmitTask&Version=2022-08-31" \ -H "Content-Type: application/json" \ -d '{ "req_key": "jimeng_video_generation", "prompt": "A cat playing the piano" }'{
"code": 0,
"message": "string",
"data": {}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}