---
title: HappyHorse-1.0 | Runware Docs
url: https://runware.ai/docs/models/alibaba-happyhorse-1-0
description: Text-to-video and image-to-video model with 1080p output and short-form clip control
---
# HappyHorse-1.0

![HappyHorse-1.0](https://assets.runware.ai/covers/alibaba-happyhorse-1-0.jpg)

HappyHorse-1.0 is a video generation model for text-to-video and image-to-video workflows. It supports output at 720p or 1080p, clip durations from 3 to 15 seconds, seeded generation, watermark control, and first-frame image conditioning for image-to-video generation.

- **Status**: live
- **ID**: `alibaba:happyhorse@1.0`
- Try in Playground
- **Creator**: Alibaba
- **Release Date**: April 27, 2026
- **Capabilities**: Text to Video, Image to Video, Video to Video, Edit, Checkpoint, Audio

## Pricing

$0.14 from, per second · ~2m 6s per request

**Rates** (per second)

- 1080p: `$0.24`
- 720p: `$0.14`

**4 example generations**

- [first-frame](https://runware.ai/docs/models/alibaba-happyhorse-1-0/examples#example-mycelium-packaging-drop-test-reel) · 720p · 5s: `$0.723` (~1m 37s)
- [reference-to-video](https://runware.ai/docs/models/alibaba-happyhorse-1-0/examples#example-manuscript-pigment-scanner-product-demo) · 832×1088 · 6s: `$0.857` (~1m 51s)
- [text-to-video](https://runware.ai/docs/models/alibaba-happyhorse-1-0/examples#example-coral-restoration-cleanup-visualization) · 1080p · 5s: `$1.24` (~2m 34s)
- [video-edit](https://runware.ai/docs/models/alibaba-happyhorse-1-0/examples#example-aviation-volcanologist-moving-headshot) · 5s · audio origin: `$1.45` (~2m 20s)

times vary, measured end to end · [How pricing works](https://runware.ai/docs/models-api/pricing)

## Compatibility & Validation

Provide at least one of `inputs.frameImages` and `inputs.video`, or `width/height`, but not both.

---

Inside `inputs`, `frameImages` cannot be used with `video`.

---

When `inputs.frameImages` is not provided, `positivePrompt` is required.

---

When `inputs.video` is provided, `width/height` cannot be used.

---

When `inputs.video` is provided, `inputs.referenceImages` is limited to 5 items.

---

`resolution` cannot be used with `width/height`.

---

When `resolution` is provided, `inputs.frameImages`, `inputs.referenceImages`, or `inputs.video` is required.

---

When `settings.audio` is provided, `inputs.video` is required.

---

`width` and `height` must be used together.

---

The following dimension combinations are supported:

| Configuration | Dimensions |
| --- | --- |
| `720p (16:9)` | `1280x720` |
| `720p (9:16)` | `720x1280` |
| `720p (1:1)` | `960x960` |
| `720p (~4:3)` | `1088x832` |
| `720p (~3:4)` | `832x1088` |
| `1080p (16:9)` | `1920x1080` |
| `1080p (9:16)` | `1080x1920` |
| `1080p (1:1)` | `1440x1440` |
| `1080p (~4:3)` | `1632x1248` |
| `1080p (~3:4)` | `1248x1632` |

## Notes

HappyHorse-1.0 supports multiple generation modes:

- **Text-to-Video:** Provide a prompt with `width` and `height`. No inputs needed.
- **Image-to-Video:** Provide a frame image via `inputs.frameImages` (max 1). Dimensions are derived from the image and cannot be set manually. Use `resolution` to control output quality.
- **Reference-to-Video:** Provide reference images via `inputs.referenceImages` (1-9) to guide visual content. Requires `width`, `height`, and a prompt. Cannot be combined with `inputs.frameImages`.
- **Video Editing:** Provide a source video via `inputs.video` for prompt-based editing. Dimensions are inherited from the input video. Use `resolution` to control output quality. Optionally include `inputs.referenceImages` (up to 5) for additional visual guidance. Use `settings.audioSetting` to control audio handling (`auto` or `origin`).

## Request Parameters

**API Options**

Platform-level options for task execution and delivery.

### [taskType](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task being performed.

### [taskUUID](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.

### [outputType](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-outputtype)

- **Type**: `string`
- **Default**: `URL`

Video output type.

**Allowed values**: `URL`

### [outputFormat](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-outputformat)

- **Type**: `string`
- **Default**: `MP4`

Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.

- \`MP4\`: Widely supported video container (H.264), recommended for general use.
- \`WEBM\`: Optimized for web delivery.
- \`MOV\`: QuickTime format, common in professional workflows (Apple ecosystem).

**Allowed values**: `MP4` `WEBM` `MOV`

### [outputQuality](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-outputquality)

- **Type**: `integer`
- **Min**: `20`
- **Max**: `99`
- **Default**: `95`

Compression quality of the output. Higher values preserve quality but increase file size.

### [webhookURL](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-webhookurl)

- **Type**: `string`
- **Format**: `uri`

Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.

**Learn more** (1 resource):

- [Webhooks](https://runware.ai/docs/models-api/webhooks) (platform)

### [deliveryMethod](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-deliverymethod)

- **Type**: `string`
- **Default**: `async`

Determines how the API delivers task results.

**Allowed values**:

- `sync` Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- `async` Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.

**Learn more** (1 resource):

- [Task Polling](https://runware.ai/docs/models-api/task-polling) (platform)

### [uploadEndpoint](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-uploadendpoint)

- **Type**: `string`
- **Format**: `uri`

Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.

**Common use cases:**

- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- **CDN integration**: Upload to content delivery networks for immediate distribution.

```text
// S3 presigned URL for secure upload
https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600

// Google Cloud Storage presigned URL
https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789

// Custom storage endpoint
https://storage.example.com/uploads/generated-image.jpg
```

The content data will be sent as the request body to the specified URL when generation is complete.

### [safety](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-safety)

- **Path**: `safety.checkContent`
- **Type**: `object (2 properties)`

Content safety checking configuration for video generation.

#### [checkContent](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-safety-checkcontent)

- **Path**: `safety.checkContent`
- **Type**: `boolean`

Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.

#### [mode](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-safety-mode)

- **Path**: `safety.mode`
- **Type**: `string`
- **Default**: `fast`

Safety checking mode for video generation.

**Allowed values**:

- `fast` Checks key frames.
- `full` Checks all frames.

### [ttl](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-ttl)

- **Type**: `integer`
- **Min**: `60`

Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.

### [includeCost](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-includecost)

- **Type**: `boolean`

Include task cost in the response.

### [numberResults](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-numberresults)

- **Type**: `integer`
- **Min**: `1`
- **Max**: `4`
- **Default**: `1`

Number of results to generate. Each result uses a different seed, producing variations of the same parameters.

**Inputs**

Input resources for the task (images, audio, etc). These must be nested inside the \`inputs\` object.

### [referenceImages](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-inputs-referenceimages)

- **Path**: `inputs.referenceImages`
- **Type**: `array of strings`
- **Min items**: `1`
- **Max items**: `9`

List of reference images (UUID, URL, Data URI, or Base64).

### [frameImages](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-inputs-frameimages)

- **Path**: `inputs.frameImages`
- **Type**: `array of strings or objects`
- **Min items**: `items: 1`

An array of frame-specific image inputs to guide video generation. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object that pairs an image with a target position in the video.

The `frameImages` parameter allows you to constrain specific frames within the video sequence, ensuring that particular visual content appears at designated points. Position can be specified using `frame` (named positions or frame indices) or `timestamp` (seconds), depending on model support. This is different from `referenceImages`, which provide overall visual guidance without constraining specific timeline positions.

When the `frame` parameter is omitted, automatic distribution rules apply:

- **1 image**: Used as the first frame.

**Examples**:

**Shorthand format:** When you don't need to specify a frame position, you can pass a plain image input directly.

```json
"frameImages": [
  "aac49721-1964-481a-ae78-8a4e29b91402"
]
```

**Object format:** When you need to specify a position, use an object with `image` and either `frame` or `timestamp` (model-dependent).

```json
"frameImages": [
  {
    "image": "aac49721-1964-481a-ae78-8a4e29b91402",
    "frame": "first"
  }
]
```

**Format 1: string[]**:

- **Type**: `string`

Image input (UUID, URL, Data URI, or Base64).

**Format 2: object[]**:

#### [image](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-inputs-frameimages-format-2-image)

- **Path**: `inputs.frameImages.image`
- **Type**: `string`
- **Required**: true

Image input (UUID, URL, Data URI, or Base64).

#### [frame](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-inputs-frameimages-format-2-frame)

- **Path**: `inputs.frameImages.frame`
- **Type**: `string | integer`
- **Min**: `-1`

Target frame position for the image. Accepts a named position like `first` or `last`, or a zero-based frame index (-1 for the last frame).

**Allowed values**: `first` `last`

### [video](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-inputs-video)

- **Path**: `inputs.video`
- **Type**: `string`

Video input (UUID or URL). Source video for prompt-based editing. Dimensions are inherited from the input video.

**Core Parameters**

Primary parameters that define the task output.

### [model](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-model)

- **Type**: `string`
- **Required**: true
- **Value**: `alibaba:happyhorse@1.0`

Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).

**Learn more** (3 resources):

- [Text To Image: Model Selection](https://runware.ai/docs/learn/text-to-image#model-selection) (learn)
- [Image Inpainting: Model Specialized Inpainting Models](https://runware.ai/docs/learn/image-inpainting#model-specialized-inpainting-models) (learn)
- [Image Outpainting: Other Critical Parameters](https://runware.ai/docs/learn/image-outpainting#other-critical-parameters) (learn)

### [positivePrompt](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-positiveprompt)

- **Type**: `string`
- **Required**: conditional — Required when inputs.frameImages is not provided
- **Min**: `1`
- **Max**: `2500`

Text prompt describing elements to include in the generated output.

**Learn more** (1 resource):

- [Prompts](https://runware.ai/docs/learn/prompts) (learn)

### [width](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-width)

- **Type**: `integer`
- **Required**: conditional — Required when inputs.frameImages and inputs.video are not provided
- **Paired with**: height

Width of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [height](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-height)

- **Type**: `integer`
- **Required**: conditional — Required when inputs.frameImages and inputs.video are not provided
- **Paired with**: width

Height of the generated media in pixels.

**Learn more** (2 resources):

- [Dimensions](https://runware.ai/docs/learn/dimensions) (learn)
- [Image Outpainting: Dimensions Critical For Outpainting](https://runware.ai/docs/learn/image-outpainting#dimensions-critical-for-outpainting) (learn)

### [resolution](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-resolution)

- **Type**: `string`
- **Default**: `1080p`

Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.

**Allowed values**: `720p` `1080p`

### [duration](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-duration)

- **Type**: `integer`
- **Min**: `3`
- **Max**: `15`
- **Step**: `1`
- **Default**: `5`

Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps).

### [seed](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-seed)

- **Type**: `integer`
- **Min**: `0`
- **Max**: `2147483647`

Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.

**Settings**

Technical parameters to fine-tune the inference process. These must be nested inside the \`settings\` object.

### [audio](https://runware.ai/docs/models/alibaba-happyhorse-1-0#request-settings-audio)

- **Path**: `settings.audio`
- **Type**: `string`
- **Default**: `auto`

Controls audio handling for video editing.

**Allowed values**:

- `auto` Audio handling left to the model.
- `origin` Preserves the original audio from the input video.

## Response Parameters

### [taskType](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-tasktype)

- **Type**: `string`
- **Required**: true
- **Value**: `videoInference`

Identifier for the type of task this response belongs to.

### [taskUUID](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-taskuuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID v4 identifier echoed from the original request, used to match async responses to their tasks.

### [videoUUID](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-videouuid)

- **Type**: `string`
- **Required**: true
- **Format**: `UUID v4`

UUID of the output video.

### [videoURL](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-videourl)

- **Type**: `string`
- **Format**: `uri`

URL of the output video.

### [videoBase64Data](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-videobase64data)

- **Type**: `string`

Base64-encoded video data.

### [videoDataURI](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-videodatauri)

- **Type**: `string`
- **Format**: `uri`

Data URI of the output video.

### [seed](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-seed)

- **Type**: `integer`

The seed used for generation. If none was provided, shows the randomly generated seed.

### [NSFWContent](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-nsfwcontent)

- **Type**: `boolean`

Flag indicating if NSFW content was detected.

### [cost](https://runware.ai/docs/models/alibaba-happyhorse-1-0#response-cost)

- **Type**: `float`

Task cost in USD. Present when `includeCost` is set to `true` in the request.

## Examples

### text-to-video (text-to-video)

[Watch video](https://assets.runware.ai/examples/alibaba-happyhorse-1-0/1f4cc55e-8edc-4967-b532-682b121b82b5.mp4)

```json
{
  "taskType": "videoInference",
  "taskUUID": "cfe78f7c-5b82-4ada-b918-da0ae0323cae",
  "model": "alibaba:happyhorse@1.0",
  "positivePrompt": "A polished five-second VFX object-removal visualization for a marine conservation documentary, composed in cinematic 16:9. Begin on a shallow tropical reef in clear turquoise water: a scuba diver in practical dark gear hovers beside a conspicuous white PVC coral-nursery rack, with one loose yellow hose crossing the sandy foreground. The camera makes a very slow, stabilized push forward throughout the shot. Over the middle three seconds, a clean vertical before-and-after pass travels smoothly from left to right, removing the diver, bubbles, hose, and entire nursery rack. Behind the pass, seamlessly reconstruct the previously obscured reef with natural branching coral, rippled sand, and open water; preserve correct perspective, lighting, shadows, water distortion, and continuous fish movement. No glow, particles, or magical disappearance effects—the transition should resemble a professional compositing cleanup reveal. Small silver fish drift across the frame, soft caustic sunlight moves over the seabed, coral polyps sway gently in the current, and suspended particles float naturally. End with an uninterrupted pristine reef plate and no trace, ghosting, warping, or residue from the removed subjects. Photorealistic underwater cinematography, calm observational mood, cyan, sea-green, coral pink, and warm sand palette, no text or graphics.",
  "width": 1920,
  "height": 1080,
  "duration": 5
}
```

---

### first-frame (first-frame)

[Watch video](https://assets.runware.ai/examples/alibaba-happyhorse-1-0/e8fb292c-2108-4312-a292-27a062d170b8.mp4)

```json
{
  "taskType": "videoInference",
  "taskUUID": "2b62268d-0e01-414a-ac89-596c328faab9",
  "model": "alibaba:happyhorse@1.0",
  "positivePrompt": "The fingertips leave the top edge and the protected cobalt-glass carafe drops straight down through the coral studio space. The camera tracks the falling package in a fast, precise vertical move. It strikes the floor in dramatic high-speed motion: the cream mycelium end caps visibly compress, releasing a tiny halo of pale natural fibers, while the glass remains perfectly intact. The package makes one short controlled bounce and settles upright. Finish with a tight push-in on the flawless blue glass framed by the textured mushroom packaging. Premium sustainable-material product demonstration, tactile macro detail, punchy cyan rim lighting, saturated coral and cobalt color blocking, crisp commercial cinematography, realistic gravity and impact physics, energetic but polished short-form advertising rhythm, no text, no logo.",
  "resolution": "720p",
  "duration": 5,
  "inputs": {
    "frameImages": [
      {
        "image": "https://assets.runware.ai/assets/inputs/ccf4dbc0-0f3c-44c2-8538-cf06637b2564.jpg",
        "frame": "first"
      }
    ]
  }
}
```

---

### reference-to-video (reference-to-video)

[Watch video](https://assets.runware.ai/examples/alibaba-happyhorse-1-0/e32cc603-94c3-4dfb-88a6-9c5331436f8b.mp4)

```json
{
  "taskType": "videoInference",
  "taskUUID": "99cb6e3b-b4c8-4818-818d-de4bcf7569f7",
  "model": "alibaba:happyhorse@1.0",
  "positivePrompt": "Create a polished six-second product demonstration for museum conservators, combining the exact handheld multispectral scanner from reference image 1 with the illuminated manuscript leaf from reference image 2. Portrait composition in a bright, immaculate conservation laboratory. Begin with a close three-quarter overhead view of the manuscript lying flat on an archival white work surface. A conservator's clean pale-gray nitrile-gloved hand holds the scanner a few centimeters above the page and moves it steadily downward in one smooth pass. Preserve the scanner's proportions, matte-white shell, black optical window, and cobalt status light. A narrow cool-blue illumination band travels beneath the device; directly behind the scan, a restrained false-color analytical layer becomes visible within the flower, revealing an earlier red underdrawing and subtle pigment variations while the physical parchment remains unchanged. Make the reveal precise and localized, like a credible scientific visualization rather than magic. Slow controlled camera push-in, crisp macro detail, soft shadowing, clinical diffuse daylight, white, cobalt, vermilion, and muted gold palette. Stable manuscript and work surface, realistic hand motion, premium industrial product cinematography, clear cause-and-effect demonstration. No captions, logos, interface graphics, charts, borders, or watermark.",
  "width": 832,
  "height": 1088,
  "duration": 6,
  "inputs": {
    "referenceImages": [
      "https://assets.runware.ai/assets/inputs/2f1b0dee-abe2-40cb-9d72-8845fb2a59a1.jpg",
      "https://assets.runware.ai/assets/inputs/36533691-a54d-4d1a-90c8-c14437c2275f.jpg"
    ]
  }
}
```

---

### video-edit (video-edit)

[Watch video](https://assets.runware.ai/examples/alibaba-happyhorse-1-0/c452ed5c-f8a0-42f3-b4e7-becc92ecb8fd.mp4)

```json
{
  "taskType": "videoInference",
  "taskUUID": "5c50dcd2-dcba-4122-90e2-058946f694df",
  "model": "alibaba:happyhorse@1.0",
  "positivePrompt": "Transform the source into a premium professional moving headshot for an aviation safety conference speaker profile. Preserve the woman’s exact identity, facial proportions, age, expression, eye line, natural blinking, speech articulation, body position, and original camera timing. Apply refined but believable portrait retouching: even the skin tone, soften temporary blemishes and excess shine, gently reduce under-eye shadows, tidy flyaway hairs, brighten the eyes without changing their color, and retain authentic pores, fine lines, and facial texture. Correct the fluorescent color cast and create flattering soft key light with a clean cool-cobalt background and a subtle safety-orange rim light, suggesting aviation operations without visible logos, text, screens, or graphics. Keep her navy field shirt realistic and neatly presented. Stabilize minor handheld jitter while preserving natural head movement and perfect lip synchronization. The finished clip should feel confident, intelligent, crisp, contemporary, and editorial rather than glamorous or overprocessed. Preserve the source video’s original spoken audio exactly, with no replacement voice, added music, altered timing, or new sound effects.",
  "duration": 5,
  "settings": {
    "audio": "origin"
  },
  "inputs": {
    "video": "https://assets.runware.ai/assets/inputs/8ce2b2fd-0fd3-4a75-a930-55a9bb3138d1.mp4"
  }
}
```