XPlor3
Model reference

Happy Horse 1

Alibaba video model supporting four workflows: text-to-video, first frame animation, multi-reference, and video editing.

PropertyValue
modelSlughappy-horse-1
KindVideo
MakerAlibaba
Copies per request (variations)1 to 5
How the cost is countedper second of output (from duration), at a rate that depends on mode and resolution; per second of output, as long as the clip in edit_video, at a rate that depends on mode and resolution
Over MCPyes, with the generate tool

Credit amounts are left out because they change. The lowest price is creditCost on GET /v1/models, and POST /v1/jobs answers with the exact creditCost of a request.

input fields

Send the fields below inside the input object. A field you leave out takes its Default. Unknown field names are dropped without an error, so check the spelling if a setting seems to have no effect.

FieldTypeRequiredDefaultRules
promptstring––Up to 5,000 characters
modestring (one of)–texttext, image, reference, edit
first_framestring[] (image upload ids)––First frame. One file at most
edit_videostring[] (video upload ids)––Video to edit. One file at most
reference_imagesstring[] (image upload ids)––Reference images. Up to 9 files
aspect_ratiostring (one of)–16:916:9, 9:16, 1:1, 4:3, 3:4
resolutionstring (one of)–720p720p, 1080p
durationinteger–53 to 15
audio_settingstring (one of)–autoauto (Otomatis), origin (Suara asli)

Rules by setting

This model runs a different version depending on what you send. The rules below are checked before any credits move; a request that breaks one is refused with 400 and a message naming the field.

mode = text

  • audio_setting is not used; any value sent is ignored.
  • Takes no files in first_frame, edit_video and reference_images; a request that fills one is refused.
  • prompt at least 1 characters.

mode = image

  • aspect_ratio and audio_setting are not used; any value sent is ignored.
  • Takes no files in edit_video and reference_images; a request that fills one is refused.
  • first_frame: required; one file at most; at most 10 MB per file; sides at least 300 px; width to height ratio 0.4 to 2.5.

mode = reference

  • audio_setting is not used; any value sent is ignored.
  • Takes no files in first_frame and edit_video; a request that fills one is refused.
  • reference_images: required; up to 9 files; at most 10 MB per file; sides at least 400 px.
  • prompt at least 1 characters.

mode = edit

  • aspect_ratio and duration are not used; any value sent is ignored.
  • Takes no files in first_frame; a request that fills one is refused.
  • edit_video: required; one file; at most 100 MB per file; each clip 3 to 60 seconds long; sides 320 to 2,160 px; width to height ratio 0.4 to 2.5.
  • reference_images: up to 5 files; at most 10 MB per file; sides at least 300 px; width to height ratio 0.4 to 2.5.
  • prompt at least 1 characters.

Example request

POST /v1/jobs
{
  "modelSlug": "happy-horse-1",
  "input": {
    "prompt": "The camera circles slowly around a steaming cup of coffee on a wooden table"
  }
}

On this page