AI model APIVideosJimeng format
Jimeng video generation
Video generation in the official Jimeng API format. Specify Action and Version query parameters. Actions:
CVSync2AsyncSubmitTask: submit a video taskCVSync2AsyncGetResult: retrieve its result
Authorization
BearerAuth AuthorizationBearer <token>
Authenticate with a Bearer token: Authorization: Bearer sk-xxxxxx.
In: header
Query Parameters
Action*string
API action
Value in
- "CVSync2AsyncSubmitTask"
- "CVSync2AsyncGetResult"
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=string" \ -H "Content-Type: application/json" \ -d '{}'{ "code": 0, "message": "string", "data": {}}