> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# HappyHorse-1.0

HappyHorse 1.0 supports text-to-video, image-to-video, and video editing. It follows descriptions closely to produce detailed, natural motion.

### Model parameters

* Model IDs: `happyhorse-1.0-t2v` / `happyhorse-1.0-i2v` / `happyhorse-1.0-r2v` / `happyhorse-1.0-video-edit`
* Pricing: see the [model catalog](https://geekai.co/models?platform=dashscope\&type=video) for current rates.
* Endpoint: `https://geekai.co/api/v1/videos/generations`
* Parameters: [Video API reference](https://docs.geekai.co/en/api/video/generations.md)
* Authentication: [Get an API key](https://docs.geekai.co/en/docs/quick_start.md)

> [!NOTE]
>
> The following video API parameters are not supported:
>
> * `with_audio`
> * `size`
> * `quality`
> * `fps`
> * `audio`
>
> See [Choosing between HappyHorse and Wan 2.7](https://bailian.console.aliyun.com/cn-beijing?spm=5176.29619931.J__Z58Z6CX7MY__Ll8p1ZOR.1.74cd59fcEkLe98\&tab=doc#/doc/?type=model\&url=3026921).

HappyHorse 1.0 supports the following aspect ratios (`aspect_ratio`):

* `1:1`
* `16:9`
* `9:16`
* `4:3`
* `3:4`
* `4:5`
* `5:4`
* `9:21`
* `21:9`

HappyHorse 1.0 supports these output resolutions (`resolution`):

* `720P`
* `1080P` (default)

> [!NOTE]
>
> Use an uppercase P in `resolution`: `720P` or `1080P` (default).

HappyHorse 1.0 supports an output `duration` of `3`–`15` seconds (default: `5`). Reference videos can be `3`–`60` seconds long.

### Pricing

HappyHorse 1.0 pricing depends on output resolution and duration:

| Model | Resolution | Price (CNY per second) |
| - | - | - |
| `happyhorse-1.0-t2v` | 720P | 0.9 |
| `happyhorse-1.0-i2v` | 720P | 0.9 |
| `happyhorse-1.0-r2v` | 720P | 0.9 |
| `happyhorse-1.0-video-edit` | 720P | 0.9 |
| `happyhorse-1.0-t2v` | 1080P | 1.6 |
| `happyhorse-1.0-i2v` | 1080P | 1.6 |
| `happyhorse-1.0-r2v` | 1080P | 1.6 |
| `happyhorse-1.0-video-edit` | 1080P | 1.6 |

> [!NOTE]
>
> The `happyhorse-1.0-video-edit` editing model bills both input and output duration at the rate for the output resolution.

For [discounted GeekAI channels](https://docs.geekai.co/en/docs/model_price.md), multiply the listed rate by the channel multiplier. For example, with a multiplier of `0.8` on the high-availability, speed-first channel, a 5-second standard 720p video costs `0.9x5x0.8=3.6` CNY. Apply the same calculation to other configurations.

### Text to video

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "happyhorse-1.0-t2v",
    "prompt": "A suspenseful cinematic detective story. Shot 1 [0–3s], wide: neon flickers on a rainy New York street as a detective in a black trench coat strides past. Shot 2 [3–6s], medium: he enters an old building with his coat soaked; the door slowly closes behind him. Shot 3 [6–9s], close-up: distant sirens sound; his focused eyes narrow as he thinks. Shot 4 [9–12s], medium: he advances cautiously down a dim hallway with his flashlight. Shot 5 [12–15s], close-up: he spots a key clue, and recognition lights up his face.",
    "resolution": "720P",
    "aspect_ratio": "16:9",
    "async": true
}'
```

### Image to video

**From the first frame**

Pass the first frame image in `image`:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "happyhorse-1.0-i2v",
    "prompt": "Urban fantasy art: a spray-painted teenage graffiti character springs to life from a concrete wall beneath a city railway bridge at night. He strikes an energetic rapper’s pose while rapping in English at breakneck speed. A lone streetlamp gives the scene cinematic lighting, vivid detail and energy. The soundtrack consists entirely of rap, with no other dialogue or noise.",
    "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
    "async": true
}'
```

> [!NOTE]
>
> HappyHorse 1.0 supports a first frame, but not a first and last frame together.

### Reference to video

**Reference images**

Pass one or more reference images in `images`:

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model": "happyhorse-1.0-r2v",
    "prompt": "The boy in glasses and a blue T-shirt from @Image1 and the corgi from @Image2 sit on the lawn from @Image3, in 3D cartoon style",
    "images": [
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_1.png",
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_2.png",
        "https://ark-project.tos-cn-beijing.volces.com/doc_image/seelite_ref_3.png"
    ],
    "async": true
}'
```

> [!NOTE]
>
> HappyHorse 1.0 reference generation accepts images only, not audio or video.

### Video editing

```bash theme={null}
curl --location --request POST 'https://geekai.co/api/v1/videos/generations' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $GEEKAI_API_KEY' \
--data '{
    "model":"happyhorse-1.0-video-edit",
    "prompt": "Replace the girl’s clothes in the video with the outfit in the image",
    "video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260403/nlspwm/T2VA_22.mp4",
    "images": [
        "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260402/fwjpqf/wan2.7-videoedit-change-clothes.png"
    ],
    "async": true
}'
```

### Asynchronous tasks

Video generation can take a while. We recommend GeekAI's asynchronous workflow.

The [video API](https://docs.geekai.co/en/api/video/generations.md) uses `async` to control asynchronous generation. The default, `false`, waits for the finished video. Set it to `true` to receive a task ID you can poll.

Follow the [asynchronous task example](https://docs.geekai.co/en/docs/video/kling/kling-video-v3-omni.md#asynchronous-tasks) to retrieve the result.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.