Authentication
authorization string required
All APIs require authentication via Bearer Token.
Get API Key:
Visit API Key Management Page to get your API Key.
Usage:
Add to request header:
Authorization: Bearer YOUR_API_KEY
Parameters
model string required
Customer-facing model ID used for the request.
Value: vidu-cn-one-click/mv
workflow operation model string required
Primary customer-facing model or operation ID for this workflow.
prompt string
Workflow text instruction.
images array[string]
Input images or materials used by the workflow.
callback_url string
Callback URL for asynchronous task notifications.
Workflow Operations
vidu-cn-one-click/mv
Create an AI-MV task.
vidu-cn-one-click/mv/{id}
Query the AI-MV task.
vidu-cn-one-click/mv/{id}/edit
Edit the AI-MV task.
vidu-cn-one-click/mv/{id}/compose
Compose the final AI-MV.
Polling
Since result generation takes time, you need to poll the task status after creating the task.
The initial response only returns information such as the task ID and initial status. The final result must be obtained by polling the task status endpoint using the task ID.
See the examples on the right for polling requests and responses.
Response Format
error object
Error information, only present when status is failed.
code
stringError code
message
stringDetailed error message
output array
Generation results, present when the request succeeds.
content
arrayList of generated resource content
type
stringResource type.
Value:
videourl
stringGenerated resource URL. Text utility endpoints may return a text field instead of a URL.
jobId
stringUpstream task ID.
usage object
Usage statistics, present when the request succeeds.
cost
stringTotal cost in USD.
discount
numberDiscount amount.
metadata object
Metadata information.