# MeiGen-AI InfiniteTalk Image to Video API

> InfiniteTalk turns a portrait image and speech audio into a long-form talking video with natural lip sync, head and body motion.

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

## Facts

- Provider: MeiGen-AI
- Type: Video model
- Model ID: `meigen/infinitetalk/image-to-video`
- Price: From $2.32 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": "meigen/infinitetalk/image-to-video",
  "audio": "https://v3.fal.media/files/penguin/PtiCYda53E9Dav25QmQYI_output.mp3",
  "image": "https://v3.fal.media/files/koala/gmpc0QevDF9bBsL1EAYVF_1c637094161147559f0910a68275dc34.png",
  "prompt": "A woman with colorful hair talking on a podcast.",
  "num_frames": 145,
  "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 MeiGen-AI InfiniteTalk Image to Video through SandBase?

Create a SandBase API key, then send requests with the model ID "meigen/infinitetalk/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 MeiGen-AI account?

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

## README

### InfiniteTalk Image to Video

InfiniteTalk turns a portrait and speech audio into a long-form talking video with natural lip sync and head and body motion.

#### Fields

| Field | Type | Default | Notes |
|---|---|---|---|
| `prompt` | string, required | — | Scene and gesture direction. |
| `image` | image URL, required | — | Portrait. JPEG, PNG, or WebP URL. |
| `audio` | audio URL, required | — | Speech that drives the lips. |
| `num_frames` | integer 41–721 | 145 | Frames at 25fps when the length is not set by audio. |
| `resolution` | `480p` / `720p` | `720p` | Sets the per-second rate. |
| `seed` | integer 0–2147483647 | random | Fix it to compare prompt changes. |

#### Billing

Per output second: $0.20 at 480p and $0.40 at 720p. Length follows the audio; without it, `num_frames` at 25fps (default 145 frames, 5.8 seconds).

| Output | 480p | 720p |
|---|---|---|
| 6s | $1.20 | $2.40 |
| 30s | $6.00 | $12.00 |
| 60s | $12.00 | $24.00 |

Failed runs are not charged.

#### Prompting

- Use a front-facing portrait with the mouth visible.

#### Also on SandBase

Other InfiniteTalk endpoints: `meigen/infinitetalk/text-to-video`, `meigen/infinitetalk/video-to-video`.
