AIAI.comAIAI.com
AI Model APIVideosJimeng format

Jimeng Video Generation

Video generation interface in the official API format of Jimeng.

Supports specifying the operation type via the Action parameter:

  • CVSync2AsyncSubmitTask: Submit a video generation task
  • CVSync2AsyncGetResult: Retrieve task results

The Action and Version must be specified in the query parameters.

POST
/jimeng/

Authorization

BearerAuth

AuthorizationBearer <token>

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

In: header

Query Parameters

Action*string

API operation type

Value in"CVSync2AsyncSubmitTask" | "CVSync2AsyncGetResult"
Version*string

API version

Request Body

application/json

req_key?string

Request type identifier

prompt?string

Text description

binary_data_base64?array<string>

Base64 encoded image data

Response Body

application/json

application/json

curl -X POST "https://api.aiai.com/jimeng/?Action=CVSync2AsyncSubmitTask&Version=string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "code": 0,
  "message": "string",
  "data": {}
}
{
  "error": {
    "message": "string",
    "type": "string",
    "param": "string",
    "code": "string"
  }
}