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

Capabilities

What this model supports, straight from the schema — no pricing, no infrastructure detail.

CapabilityValue
video_edit Video editYes
multi_shots Multi-shot
multi_prompt Multi-prompt
text_to_video Text-to-videoYes
image_to_video Image-to-videoYes
max_prompt_length Max prompt length2500
reference_to_video Reference-to-videoYes
named_character_refs Named character referencesYes

Parameters

Fields accepted in params (or first-class, where applicable) for POST /generations.

NameLabelTypeRequiredDefaultOptionsMin / MaxDescription
promptPrompttextareaOptionalScene description; up to 5,000 characters (2,500 for Chinese).
image_urlsImage referencesmulti_selectOptional— – 1First frame for image-to-video (max 1); do not combine with references.
reference_image_urlsReference imagesmulti_selectOptional1 – 91 to 9 reference images (reference-to-video).
video_urlSource videourlOptionalSource video that enables edit mode.
audio_settingAudio settingselectOptionalautoauto · originAudio handling in edit: auto or origin.
resolutionResolutionselectOptional1080p720p · 1080pResolution: 720p or 1080p (default 1080p).
durationDurationnumberOptional53 – 15Duration in seconds, integer 3 to 15.
enable_safety_checkerSafety filterbooleanOptionalToggles the safety filter.
aspect_ratioAspect ratioselectOptional16:916:9 · 9:16 · 1:1 · 4:3 · 3:4Aspect ratio (text/reference): 16:9, 9:16, 1:1, 4:3 or 3:4.
seedSeednumberOptionalOptional integer seed (0 to 2147483647).

Example request

bash
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"
  }
}'
javascript
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

json
{
  "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_creditsAccount balance can't cover the job cost.
content_policy_violationPrompt or media rejected by content policy.
generation_timeoutThe job exceeded the maximum processing time.
rate_limitedToo many requests per minute.
invalid_inputA required parameter is missing or outside the model's schema.
generation_failedGeneric processing failure.