# Alibaba Happy Horse Image to Video API

> Alibaba's #1-ranked Happy Horse 1.0 generates stunning 1080p videos with synchronized native audio and multilingual lip-sync, transforming text prompts or images into cinematic, true-to-life motion content for next-generation AIGC creation.

Source: https://www.sandbase.ai/models/alibaba/happy-horse/image-to-video
API reference: https://www.sandbase.ai/models/alibaba/happy-horse/image-to-video/docs

## Facts

- Provider: Alibaba
- Type: Video model
- Model ID: `alibaba/happy-horse/image-to-video`
- Price: From $0.70 per run
- Capabilities: image to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "alibaba/happy-horse/image-to-video",
  "image": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250925/wpimhv/rap.png",
  "prompt": "Bring the scene in the image to life.",
  "duration": 5,
  "resolution": "720p"
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call Alibaba Happy Horse Image to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/happy-horse/image-to-video" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate Alibaba account?

No. One SandBase API key and balance gives you access to Alibaba Happy Horse Image to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.

## README

### Happy Horse Image to Video

Happy Horse 1.0 image-to-video: animate a picture over 3–15 seconds. `prompt` is optional; without it the model brings the scene to life on its own.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `image` | image URL, required | — | First frame. JPEG, PNG, or WebP URL. |
| `prompt` | string | `Bring the scene in the image to life.` | Optional direction for motion and camera. |
| `duration` | 3–15 | 5 | Output length in seconds. |
| `resolution` | `720p` / `1080p` | `720p` | Sets the per-second rate. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

You pay for output seconds: $0.14 at 720p and $0.24 at 1080p, Alibaba's list price.

| Output | 720p | 1080p |
|---|---|---|
| 3s | $0.42 | $0.72 |
| 5s (default) | $0.70 | $1.20 |
| 10s | $1.40 | $2.40 |
| 15s | $2.10 | $3.60 |

Failed runs are not charged.

#### Prompting

- Describe the motion and camera, not what is already in the picture.

#### Limits

- 720p and 1080p only.

#### Also on SandBase

Other Happy Horse endpoints: `alibaba/happy-horse/text-to-video`, `alibaba/happy-horse/reference-to-video`, `alibaba/happy-horse/video-edit`, `alibaba/happy-horse/1.1/image-to-video` (newer).
