---
title: &quot;Use InfiniteTalk in OpenClaw via RunAPI — Talking Avatar API Guide&quot;
url: &quot;https://runapi.ai/openclaw-infinitetalk.md&quot;
canonical: &quot;https://runapi.ai/openclaw-infinitetalk&quot;
locale: &quot;en&quot;
model: &quot;infinitetalk&quot;
---

# Use InfiniteTalk in OpenClaw.

InfiniteTalk generates lip-synced talking avatar videos from an audio file and a face image. OpenClaw agents call it through RunAPI with the same API key used for chat — send audio_to_video, poll the task, and receive a video URL.

## API example

```bash
curl -X POST https://runapi.ai/api/v1/infinitetalk/audio_to_video \
  -H &quot;Authorization: Bearer $RUNAPI_API_KEY&quot; \
  -H &quot;Content-Type: application/json&quot; \
  -d &#39;{
    &quot;model&quot;: &quot;infinitetalk-from-audio&quot;,
    &quot;source_audio_url&quot;: &quot;https://example.com/speech.mp3&quot;,
    &quot;source_image_url&quot;: &quot;https://example.com/avatar.jpg&quot;,
    &quot;prompt&quot;: &quot;A professional presenter delivering a product overview&quot;
  }&#39;

```

### Response

```json
{
  &quot;task_id&quot;: &quot;tsk_abc123&quot;,
  &quot;status&quot;: &quot;pending&quot;,
  &quot;model&quot;: &quot;infinitetalk-from-audio&quot;
}

```

## How it works

1. **Configure RunAPI** — Set RUNAPI_API_KEY in your environment. If you already configured RunAPI for chat in OpenClaw, the same key works for InfiniteTalk — no extra provider setup needed.
2. **Call InfiniteTalk** — Send a POST request to the audio_to_video endpoint with the model, audio URL, image URL, and a prompt describing the output. OpenClaw can build and send this request in your agent workflow.
3. **Poll for the result** — The endpoint returns a task_id immediately. Poll the task status endpoint until the status is completed, then read the output video URL from the response.

## Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `model` | `string` | Required. Use infinitetalk-from-audio. |
| `source_audio_url` | `string` | Required. URL of the source audio file to lip-sync. |
| `source_image_url` | `string` | Required. URL of the face or avatar image to animate. |
| `prompt` | `string` | Required. Text description of the desired video output. Max 5000 characters. |
| `output_resolution` | `string` | Optional. Output video resolution. Accepted values: 480p, 720p. Defaults to 480p. |
| `seed` | `integer` | Optional. Reproducibility seed. Integer between 10000 and 1000000. |
| `callback_url` | `string` | Optional. Webhook URL that receives a POST when the task completes. |

## FAQ

### Can I use InfiniteTalk in OpenClaw?

Yes. OpenClaw agents can call the RunAPI InfiniteTalk endpoint directly. Configure RunAPI as a provider with your RUNAPI_API_KEY, then send a POST to /api/v1/infinitetalk/audio_to_video with the model, audio URL, and image URL.

### Can InfiniteTalk generate unlimited-length talking videos from a single photo?

Yes. InfiniteTalk uses a sparse-frame approach that supports unlimited-length video generation from one reference image. The output length is determined by the duration of your source audio file.

### What is the difference between image-to-video and video-to-video mode?

Image-to-video takes a still photo and animates it with lip sync and head movement. Video-to-video takes an existing video and re-animates the face to match new audio, useful for dubbing or replacing dialogue.

### What does InfiniteTalk cost on RunAPI?

InfiniteTalk uses per-task billing. Check the RunAPI pricing page for current rates. Credits are deducted from the same balance used for all RunAPI models.


## Links

- [OpenClaw setup guide →](https://runapi.ai/openclaw)
- [InfiniteTalk on RunAPI →](https://runapi.ai/models/infinitetalk)
- [Model catalog](https://runapi.ai/models)
- [API docs](https://runapi.ai/docs)
