Skip to main content
POST
/
happyhorse-1.0-t2v
/
async
curl --request POST \
  --url https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-t2v/async \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A miniature city made of cardboard and bottle caps comes to life at night."
}
'
{
  "code": 0,
  "message": "success",
  "data": {
    "status": "pending",
    "task_id": "task-abc123",
    "model_id": "model-123",
    "get_result": {
      "method": "GET",
      "url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Text prompt describing the desired video content. Supports any language input, excess characters will be automatically truncated

Required string length: 1 - 5000
Example:

"A miniature city made of cardboard and bottle caps comes to life at night."

resolution
enum<string>
default:1080P

Specifies the resolution tier for the generated video

Available options:
720P,
1080P
Example:

"720P"

ratio
enum<string>
default:16:9

Specifies the aspect ratio for the generated video

Available options:
16:9,
9:16,
1:1,
4:3,
3:4
Example:

"16:9"

duration
enum<integer>
default:5

Specifies the video duration in seconds (integer)

Available options:
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
Example:

5

seed
integer

Random number seed. To improve reproducibility of generated results, it is recommended to fix the seed value. Note: Due to the probabilistic nature of model generation, even using the same seed cannot guarantee completely identical results each time

Required range: 0 <= x <= 2147483647
Example:

42

Response

200 - application/json

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required