# Vidu Q4 Image to Video API

> Vidu Q4 Preview by Shengshu animates a first-frame image into a 3 to 16 second video at up to 4K. Prompts can direct motion, camera cuts, and spoken dialogue, with native speech and sound effects.

Source: https://www.sandbase.ai/models/vidu/q4/image-to-video
API reference: https://www.sandbase.ai/models/vidu/q4/image-to-video/docs

## Facts

- Provider: Vidu
- Type: Video model
- Model ID: `vidu/q4/image-to-video`
- Price: From $0.47 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": "vidu/q4/image-to-video",
  "image": "https://storage.googleapis.com/falserverless/web-examples/vidu/stylish_woman.webp",
  "prompt": "The woman turns toward the camera and smiles, then the shot cuts to a close-up as she says: \"Let'"'"'s go.\"",
  "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 Vidu Q4 Image to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "vidu/q4/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 Vidu account?

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

## README

### Vidu Q4 Image to Video

Vidu Q4 Preview image-to-video: animate a first frame into a 3–16 second clip at up to 4K, with native audio such as speech and sound effects directed by the prompt.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string | empty | Up to 5,000 characters. Describe motion, camera cuts, and dialogue. |
| `image` | image URL, required | — | First frame. PNG, JPEG, or WebP up to 50 MB. |
| `resolution` | `540p` / `720p` / `1080p` / `2K` / `4K` | `720p` | Sets the per-second rate. |
| `duration` | integer 3–16 | 5 | Output length in seconds. |
| `seed` | integer | random | Fix it to compare prompt changes. |

#### Billing

You pay for output seconds: $0.045 at 540p, $0.095 at 720p, $0.12 at 1080p, $0.19 at 2K, $0.39 at 4K.

| Output | 540p | 720p | 1080p | 2K | 4K |
|---|---|---|---|---|---|
| 3s | $0.135 | $0.285 | $0.36 | $0.57 | $1.17 |
| 5s (default) | $0.225 | $0.475 | $0.60 | $0.95 | $1.95 |
| 8s | $0.36 | $0.76 | $0.96 | $1.52 | $3.12 |
| 16s | $0.72 | $1.52 | $1.92 | $3.04 | $6.24 |

Failed runs are not charged.

#### Prompting

- Describe subject, action, camera, and sound. Put spoken lines in quotes.
- This endpoint has no audio switch.

#### Also on SandBase

`vidu/q4/reference-to-video` keeps characters, products, and voices consistent from reference images and audio. Vidu Q3 endpoints such as `vidu/q3/image-to-video` remain available.
