# HeyGen Video Agent V3 API

> Heygen Video Agent V3 is HeyGen's text-to-video AI model. Turn written scripts and prompts into professional-quality video clips with realistic motion, lighting, and scene composition.

Source: https://www.sandbase.ai/models/heygen/video-agent/v3
API reference: https://www.sandbase.ai/models/heygen/video-agent/v3/docs

## Facts

- Provider: HeyGen
- Type: Video model
- Model ID: `heygen/video-agent/v3`
- Price: From $1.02 per run
- Capabilities: text 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/video-agent/v3",
  "prompt": "Create a 30-second product demo video showcasing our new AI features with professional lighting and modern graphics."
}'
```

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 Video Agent V3 through SandBase?

Create a SandBase API key, then send requests with the model ID "heygen/video-agent/v3" 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 Video Agent V3 and the other models in the catalog; you do not need to sign up with HeyGen separately.

## README

### HeyGen Video Agent V3

HeyGen Video Agent: describe the video you want and the agent writes, voices, and edits a complete presenter video.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | What the video should cover, its audience, length, and tone. |

#### Billing

$0.034 per output second (rounded up). The quote before submission assumes 30 seconds.

| Output | Price |
|---|---|
| 30s | $1.02 |
| 60s | $2.04 |
| 120s | $4.08 |

Failed runs are not charged.

#### Prompting

- State the target length in the prompt.
