# HeyGen Avatar 6 Reference Video to Video API

> HeyGen Avatar 6 by HeyGen animates an illustrated or animated character from a reference video, lip-synced to speech audio.

Source: https://www.sandbase.ai/models/heygen/avatar6/ref-video-to-video
API reference: https://www.sandbase.ai/models/heygen/avatar6/ref-video-to-video#api

## Facts

- Provider: HeyGen
- Type: Video model
- Model ID: `heygen/avatar6/ref-video-to-video`
- Price: From $0.60 per run
- Capabilities: video 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": "heygen/avatar6/ref-video-to-video",
  "audio": "https://v3b.fal.media/files/b/0ab0e602/eeEMX2kTC9XI8yzGCEi1w_a.mp3",
  "video": "https://v3b.fal.media/files/b/0ab2b575/0eH80do4MnO_TpIw8EtOa_Pd3QnkN8.mp4",
  "resolution": "1080p",
  "motion_expressiveness": "default"
}'
```

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 HeyGen Avatar 6 Reference Video to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "heygen/avatar6/ref-video-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 HeyGen account?

No. One SandBase API key and balance gives you access to HeyGen Avatar 6 Reference Video to Video and the other models in the catalog; you do not need to sign up with HeyGen separately.

## README

### HeyGen Avatar 6 Reference Video to Video
HeyGen Avatar 6 animates an illustrated or animated character from a reference video, lip-synced to a speech track.
#### Fields
| Field | Type | Default | Notes |
|---|---|---|---|
| `video` | video file or URL, required | — | Animated or illustrated character only. |
| `audio` | audio file or URL, required | — | Sets the video length. |
| `image` | image file or URL | — | Optional extra reference. |
| `motion_prompt` | string | — | Direction for motion and expression. |
| `motion_expressiveness` | `default` / `less` | `default` | `less` for calmer motion. |
| `resolution` | `1080p` / `2k` | `1080p` | Sets the per-second rate. |
#### Billing
$0.12 per output second at 1080p, $0.145 at 2k. Length follows the speech audio; the quote before submission assumes 5 seconds.
| Output | 1080p | 2k |
|---|---|---|
| 10s | $1.20 | $1.450 |
| 60s | $7.20 | $8.70 |
Failed runs are not charged.
#### Also on SandBase
Related: `heygen/avatar6/image-to-video`, `heygen/avatar6/identity-to-video`, `heygen/avatar5/digital-twin`.
