🎁 Apply to join the Core Integrator Program and get a $10-$30 bonus.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-r2v/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reference_images": [
"https://example.com/girl.jpg"
],
"prompt": "A woman character1 wearing a red qipao, the camera moves smoothly"
}
'{
"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"
}
}
}HappyHorse reference-to-video model generates fluid videos by fusing characters from multiple reference images (1-9 images) through text prompts with character references (character1, character2, etc.). Supports 720P/1080P resolution, multiple aspect ratios, and 3-15 seconds duration.
curl --request POST \
--url https://api.modellix.ai/api/v1/alibaba/happyhorse-1.0-r2v/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reference_images": [
"https://example.com/girl.jpg"
],
"prompt": "A woman character1 wearing a red qipao, the camera moves smoothly"
}
'{
"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.
API Key authentication. Format: Bearer YOUR_API_KEY.
Array of reference image URLs. Supports 1-9 images. Images are referenced in the prompt using character1, character2, etc., following array order. Image requirements: Format: JPEG, JPG, PNG, WEBP; Resolution: Short edge >= 400 pixels (720P+ recommended); File size: <= 10MB per image. Supports HTTP/HTTPS URLs
1 - 9 elements^https?://Text prompt describing the scene and referencing characters. Required. Use character1, character2, character3, etc. to reference images in the reference_images array (first image = character1, second = character2, etc.). Supports any language input. Maximum length: 5000 non-Chinese characters or 2500 Chinese characters (automatically truncated if exceeded)
1 - 5000"A woman character1 wearing a red qipao, camera moves smoothly"
"Character1 interacts with object character2 in the scene"
Video resolution level. The model automatically scales to the nearest total pixels based on the selected resolution
720P, 1080P Video aspect ratio. Determines the output video dimensions
16:9, 9:16, 1:1, 4:3, 3:4 Video duration in seconds. Must be an integer between 3 and 15
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 3 <= x <= 15Random seed for reproducibility. If not specified, the system generates a random seed. Note: Due to the probabilistic nature of model generation, even with the same seed, results may not be completely identical
0 <= x <= 2147483647