Create a Jimeng video task

Video generation endpoint using the official Jimeng API format. Use the Action parameter to select the operation: - CVSync2AsyncSubmitTask: Submit a video generation task - CVSync2AsyncGetResult: Retrieve the task result Specify Action and Version in the query parameters.

POST /jimeng/

Service root: https://getrouter.ai

Protocol: Provider task API

Authentication: Authorization: Bearer YOUR_API_KEY

Parameters

ParameterLocationTypeRequiredDescription
ActionquerystringYesAPI operation type
VersionquerystringYesAPI version

Request body

The request body is optional. Media type: application/json

Request fields

FieldTypeRequiredDescription
req_keystringNoRequest type identifier
promptstringNoText description
binary_data_base64array<string>NoBase64-encoded image data

Example request

curl --request POST \
  --url https://getrouter.ai/jimeng/ \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{}'

Responses

StatusDescription
200Request processed successfully
400Invalid request parameters

Success response fields

FieldTypeRequiredDescription
codeintegerNoResponse code
messagestringNoResponse message
dataobjectNoResponse data

Example response

{
  "code": 1,
  "message": "string",
  "data": {}
}

For complete workflows and examples, read the Video Generation API Guide.


This page is generated from the public Relay OpenAPI specification. Browse the complete specification in the API Explorer.