Skip to main content
POST
/
template-story
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/vidu/template-story/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "story": "love_story",
  "images": [
    "https://example.com/couple.jpg"
  ]
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-vidu-story-001",
    "model_id": "vidu/template-story",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-vidu-story-001"
    }
  }
}

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Vidu template story request.

story
enum<string>
required

Story template type

Available options:
love_story,
workday_feels,
monkey_king,
pigsy,
monk_tang,
one_shot
Example:

"love_story"

images
string[]
required

Character or scene images as URLs or base64 data URIs

Minimum array length: 1
Minimum string length: 1
Example:
["https://example.com/character.jpg"]

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.