Models / Video editing

LatentSync - API, Playground & Pricing

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.

Provider
ByteDance
Category
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
LatentSync sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny 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.AIDownload brief

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).

InputType, values and default
# video
string required
# 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.

LatentSync vs similar models

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

ModelProviderKindPriceDefault runResolution
LatentSyncByteDanceLip sync$0.04 / run$0.04
Gemini Omni 1.2 Flash Video EditGoogleVideo editingfrom $0.024 / sfrom $0.072360p, 720p, 1080p, 4k
Sync Lipsync 3sync. labsLip syncfrom $0.133333 / runabout $1.33
ByteDance Video UpscalerByteDanceVideo upscalingfrom $0.0072 / s$0.0721080p, 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 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.

Go to the source

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.