Video generation API
HappyHorse
Alibaba HappyHorse 1.1/1.0 — T2V, I2V, reference-to-video, and video edit.
Provider: Alibaba7 models
Available models
| Model key | Display name | Capability | Atlas Cloud slug |
|---|---|---|---|
happyhorse_1_1_t2v | HappyHorse 1.1 T2V | text-to-video | alibaba/happyhorse-1.1/text-to-video |
happyhorse_1_1_i2v | HappyHorse 1.1 I2V | image-to-video | alibaba/happyhorse-1.1/image-to-video |
happyhorse_1_1_ref2vid | HappyHorse 1.1 Ref2Vid | reference-to-video | alibaba/happyhorse-1.1/reference-to-video |
happyhorse_1_0_t2v | HappyHorse 1.0 T2V | text-to-video | alibaba/happyhorse-1.0/text-to-video |
happyhorse_1_0_i2v | HappyHorse 1.0 I2V | image-to-video | alibaba/happyhorse-1.0/image-to-video |
happyhorse_1_0_ref2vid | HappyHorse 1.0 Ref2Vid | reference-to-video | alibaba/happyhorse-1.0/reference-to-video |
happyhorse_1_0_vid_edit | HappyHorse 1.0 Video Edit | video-edit | alibaba/happyhorse-1.0/video-edit |
Endpoint
POST /api/generateRequest body
| Parameter | Type | Required | Description |
|---|---|---|---|
modelKey | string | ✓ | One of the model keys listed above |
prompt | string | ✓ | Text description of the image to generate |
inputUrl | string | Input image URL (for edit/i2i models) | |
aspectRatio | string | "1:1", "16:9", "9:16", etc. | |
imageQuality | string | "Low", "Medium", "High" | |
styleRef | string | string[] | Style reference image URL(s) | |
charRef | string | string[] | Character reference image URL(s) | |
brandId | string | Brand DNA ID for brand-consistent generation |
Code example
curl -X POST https://api.oyefilmy.com/api/generate \
-H "Authorization: Bearer of_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelKey": "happyhorse_1_1_t2v",
"prompt": "A horse galloping through a field of wildflowers at sunset, slow motion, bokeh"
}'Response
{
"success": true,
"predictionId": "pred_abc123...",
"status": "processing",
"model": "alibaba/happyhorse-1.1/text-to-video",
"creditCost": 5
}
