# LatentSync - API, Playground & Pricing

> Run LatentSync by ByteDance via API, Playground, or MCP from $0.04 per run - no provider API key needed. ByteDance's open lip-sync model: match a speaker's mouth to any new voice track.

Page: https://flymy.ai/models/latentsync/

Models / Video editing

LatentSync from ByteDance syncs the lips in a video to a new audio track, end to end with audio-conditioned latent diffusion. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No ByteDance API key: runs are billed to your FlyMy.AI balance.

[▶ Try in Playground](https://app.flymy.ai/models/flymyai/latentsync) [<> Get API](https://flymy.ai/models/latentsync/#api)

**Provider**

[ByteDance](https://flymy.ai/models/provider/bytedance/)

**Category**

[Video editing](https://flymy.ai/models/video-editing/) / Lip sync

**Price**

$0.04 / run ($0.04 at the defaults)

**Returns**

`video`

**Commercial use**

Allowed

**Model ID**

`flymyai/latentsync`

![LatentSync by ByteDance: lip sync sample, lip sync a video to audio](https://flymy.ai/img/models/latentsync.jpg)

LatentSync sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use LatentSync in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/models/latentsync.md. Help me connect the FlyMy.AI MCP to this assistant, then run LatentSync (flymyai/latentsync) for this task: Sync the lips in my video to this voice-over with LatentSync.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/models/latentsync.md)

## What LatentSync does

Send video and audio as URLs and get the video back with lip movements matched to the speech. It works without an intermediate motion step, which keeps the mouth area sharp. It is priced per run.

## LatentSync inputs

Every input of `flymyai/latentsync` as its live schema lists them. Returns `video` (array).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/models/latentsync/#input-video) `video` | string required |
| [#](https://flymy.ai/models/latentsync/#input-audio) `audio` | string required |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Sync the lips in my video to this voice-over with LatentSync.”** runs `flymyai/latentsync`

**“Use LatentSync to dub my product demo with the Spanish audio track I attach.”** runs `flymyai/latentsync`

**“Match the speaker's mouth in my interview clip to the new audio with LatentSync.”** runs `flymyai/latentsync`

## LatentSync price

$0.04 per run. A run at the default settings costs $0.04. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

[Every model's price →](https://flymy.ai/models/pricing/) [Usage pricing →](https://flymy.ai/pricing/)

## LatentSync vs similar models

Popular video editing models beside it, with prices from billing and settings from each live schema.

| Model | Provider | Kind | Price | Default run | Resolution |
|---|---|---|---|---|---|
| **LatentSync** | ByteDance | Lip sync | $0.04 / run | $0.04 |  |
| [Gemini Omni 1.2 Flash Video Edit](https://flymy.ai/models/gemini-omni-1-2-flash-edit/) | Google | Video editing | from $0.024 / s | from $0.072 | 360p, 720p, 1080p, 4k |
| [Sync Lipsync 3](https://flymy.ai/models/sync-3-lipsync/) | sync. labs | Lip sync | from $0.133333 / run | about $1.33 |  |
| [ByteDance Video Upscaler](https://flymy.ai/models/bytedance-video-upscaler/) | ByteDance | Video upscaling | from $0.0072 / s | $0.072 | 1080p, 2k, 4k, 6k, 8k |

## LatentSync API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the `X-API-KEY` header; [get a key](https://app.flymy.ai/developers) in your account.

### cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/latentsync/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/latentsync/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'video=...' \
  -F 'audio=...'
```

### Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/latentsync",
    payload={
        "video": "...",
        "audio": "..."
    },
)
print(response.output_data)
```

### JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

```
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "video": "...",
    "audio": "..."
  },
  "flymyai/latentsync",
);
console.log(response.output_data);
```

### MCP

Your agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/latentsync",
  "input": {
    "video": "...",
    "audio": "..."
  }
}
```

## Questions about LatentSync

**Do I need a ByteDance API key for LatentSync?**

No. LatentSync runs on FlyMy.AI's account, so you need no ByteDance key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does LatentSync cost?**

$0.04 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

**Can I try LatentSync before I write code?**

Yes. Open LatentSync in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/latentsync, fill in its inputs and run it; the same run is one API call later, billed the same way.

**How do I use LatentSync in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Sync the lips in my video to this voice-over with LatentSync." Your agent reads the inputs with get_model_schema and runs flymyai/latentsync with run_model.

**What does LatentSync need as input?**

LatentSync requires video and audio; it also takes 0 optional inputs, each listed on this page with its allowed values and default.

**Can I call LatentSync from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/latentsync/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More reference video, editing and lip sync models

Keep characters and products from references, edit, extend, reframe or upscale a clip, dub it into another language, sync lips to a voice, make a photo talk or time a video to your audio.

### Seedance 2.5 Reference to Video

Seedance 2.5 from many references: keep a cast consistent, or edit and extend a clip.

Reference to video / from $0.10794 / s

Link: https://flymy.ai/models/bytedance-seedance-2-5-reference-to-video/

### OmniHuman 2.0

One photo plus a voice track: a presenter, singer or character that moves in sync.

Talking video / $0.07 / s

Link: https://flymy.ai/models/bytedance-omnihuman-2-0/

### Seedance 2.0 Reference to Video

Seedance 2.0 for brand and character consistency across a whole clip.

Reference to video / from $0.0673 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-reference-to-video/

### Seedance 2.0 Fast Reference to Video

Quick Seedance 2.0 drafts that keep a character or style from your references.

Reference to video / from $0.0538 / s

Link: https://flymy.ai/models/bytedance-seedance-2-0-fast-reference-to-video/

### ByteDance Video Upscaler

Target-resolution upscaling to 8K with presets for AI clips, user video and old film.

Video upscaling / from $0.0072 / s

Link: https://flymy.ai/models/bytedance-video-upscaler/

### SeedVR2 Video Upscale

Faithful frame-by-frame upscales of AI clips and phone footage at a low price.

Video upscaling / from $0.001 / run

Link: https://flymy.ai/models/seedvr2-video-upscale/

## Go to the source

[LatentSync in the playground →](https://app.flymy.ai/models/flymyai/latentsync), [Video editing models →](https://flymy.ai/models/video-editing/), [ByteDance models →](https://flymy.ai/models/provider/bytedance/), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Every model on FlyMy.AI →](https://flymy.ai/models/), [Model prices →](https://flymy.ai/models/pricing/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog)

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
