Video
Happy Horse 1.0 video
Alibaba Happy Horse — text/image/reference. 720p/1080p. 3–15s.
Category: Create · happy-horse-1-0
How to use & limits
- Four workflows: text-to-video, image-to-video, reference-to-video and video edit.
- prompt: up to 5,000 characters (2,500 for Chinese).
- image_urls is the first frame in image-to-video (max 1) and cannot be combined with reference_image_urls.
- reference_image_urls (1 to 9) enters reference-to-video; cite them in the prompt as character1, character2...
- video_url enters video-edit mode.
- Resolution 720p/1080p; duration integer 3 to 15 seconds; aspect_ratio only for text/reference.
Capabilities
What this model supports, straight from the schema — no pricing, no infrastructure detail.
| Capability | Value |
|---|---|
video_edit Video edit | Yes |
multi_shots Multi-shot | — |
multi_prompt Multi-prompt | — |
text_to_video Text-to-video | Yes |
image_to_video Image-to-video | Yes |
max_prompt_length Max prompt length | 2500 |
reference_to_video Reference-to-video | Yes |
named_character_refs Named character references | Yes |
Parameters
Fields accepted in params (or first-class, where applicable) for POST /generations.
| Name | Label | Type | Required | Default | Options | Min / Max | Description |
|---|---|---|---|---|---|---|---|
prompt | Prompt | textarea | Optional | — | — | — | Scene description; up to 5,000 characters (2,500 for Chinese). |
image_urls | Image references | multi_select | Optional | — | — | — – 1 | First frame for image-to-video (max 1); do not combine with references. |
reference_image_urls | Reference images | multi_select | Optional | — | — | 1 – 9 | 1 to 9 reference images (reference-to-video). |
video_url | Source video | url | Optional | — | — | — | Source video that enables edit mode. |
audio_setting | Audio setting | select | Optional | auto | auto · origin | — | Audio handling in edit: auto or origin. |
resolution | Resolution | select | Optional | 1080p | 720p · 1080p | — | Resolution: 720p or 1080p (default 1080p). |
duration | Duration | number | Optional | 5 | — | 3 – 15 | Duration in seconds, integer 3 to 15. |
enable_safety_checker | Safety filter | boolean | Optional | — | — | — | Toggles the safety filter. |
aspect_ratio | Aspect ratio | select | Optional | 16:9 | 16:9 · 9:16 · 1:1 · 4:3 · 3:4 | — | Aspect ratio (text/reference): 16:9, 9:16, 1:1, 4:3 or 3:4. |
seed | Seed | number | Optional | — | — | — | Optional integer seed (0 to 2147483647). |
Example request
curl -X POST https://caranguejo.art/api/v1/dev/generations \
-H "Authorization: Bearer $CK" \
-H "Content-Type: application/json" \
-d '{
"model": "happy-horse-1-0",
"prompt": "An astronaut walks in slow motion across a red dune under two suns.",
"params": {
"resolution": "1080p",
"duration": 5,
"aspect_ratio": "16:9"
}
}'
const res = await fetch("https://caranguejo.art/api/v1/dev/generations", {
method: "POST",
headers: {
"Authorization": "Bearer " + process.env.CK,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "happy-horse-1-0",
"prompt": "An astronaut walks in slow motion across a red dune under two suns.",
"params": {
"resolution": "1080p",
"duration": 5,
"aspect_ratio": "16:9"
}
}),
});
const { data } = await res.json();
Example response
{
"id": "9f0c1a7e-…",
"object": "generation",
"model": "happy-horse-1-0",
"type": "video",
"status": "completed",
"output": {
"assets": [
{
"url": "https://media.caranguejo.art/outputs/example.mp4",
"type": "video"
}
]
}
}
The job's real cost is returned as credits_charged on the completed response — check GET /balance for the account balance.
Common errors for this job type:
insufficient_credits | Account balance can't cover the job cost. |
content_policy_violation | Prompt or media rejected by content policy. |
generation_timeout | The job exceeded the maximum processing time. |
rate_limited | Too many requests per minute. |
invalid_input | A required parameter is missing or outside the model's schema. |
generation_failed | Generic processing failure. |