F5-TTS

Replicate
Text-to-Speech

F5-TTS, a flow-matching TTS that clones a voice from a reference clip plus its transcript and reads new text in that voice. Fast non-autoregressive synthesis with optional silence removal.

Speak with F5-TTS
Type any text and hear it spoken in a chosen voice.
Sign in to try this model with €5 free credits.
Sign in
Audio player appears here.
TL;DR·Last updated June 24, 2026

F5-TTS is text-to-speech AI model from Replicate, priced at €0.000 per 1M input tokens with a unknown context window.

About this model

F5-TTS from the X-LANCE lab uses flow matching with diffusion transformers for non-autoregressive speech, giving quick generation and clean cloning. It needs the reference audio and matching ref_text, then synthesizes gen_text in the cloned voice. Hosted by x-lance on Replicate.
Try F5-TTS

1x

Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€2.00

API Integration

Use our OpenAI-compatible API to integrate F5-TTS into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple — just pass a string
const reply = await rw.run("f5-tts-replicate", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("f5-tts-replicate", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("f5-tts-replicate", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€2.00
Developer
Replicate
Category
Text-to-Speech
Supported Formats
text
audio
Tags
replicate
f5-tts
tts
voice-cloning
flow-matching

Frequently asked questions

Start using F5-TTS today

Get started with free credits. No credit card required. Access F5-TTS and 100+ other models through a single API.