# Alibaba Happy Horse 1.1 Image to Video API

> Happy Horse 1.1 by Alibaba - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

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

## Facts

- Provider: Alibaba
- Type: Video model
- Model ID: `alibaba/happy-horse/1.1/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/1.1/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 1.1 Image to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "alibaba/happy-horse/1.1/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 1.1 Image to Video and the other models in the catalog; you do not need to sign up with Alibaba separately.

## README

### Happy Horse 1.1 Image to Video

Animate a picture with Happy Horse 1.1. `image` becomes the first frame and the prompt directs the action and camera over 3–15 seconds.

#### Fields

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

#### Billing

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

| Output | 480p | 720p | 1080p |
|---|---|---|---|
| 3s | $0.21 | $0.42 | $0.54 |
| 5s (default) | $0.35 | $0.70 | $0.90 |
| 10s | $0.70 | $1.40 | $1.80 |
| 15s | $1.05 | $2.10 | $2.70 |

Failed runs are not charged.

#### Prompting

- Describe what moves and how the camera behaves, not what is already visible.
- Draft at 480p, then rerun the chosen take at 1080p.

#### Limits

- The output follows the input image's aspect ratio.

#### Also on SandBase

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