Skip to content

Speech Text API

A text-to-speech API generates spoken audio from a supplied script and returns the provider response. fal and MiniMax provide this through Longwave. Published rates start at $0.1 per 1k characters (MiniMax).

Add to Longwave

Speech Text API with your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

providers
2

Providers compared

Provider Price Access
fal Generate speech from text (Kokoro) fal.speech.kokoro $0.02 per 1k characters Kokoro American English: $0.02 per 1,000 input characters. Your key
MiniMax minimax.speech.generate $0.10 per 1k characters speech-2.8-hd model: $100 per million billed characters. Your key

Prices are each vendor's published rate. Functions marked “No key needed” are billed at that rate in Longwave credits, with no markup. Functions marked “Your key” are billed to your own vendor account.

Run it

In Claude Code, Codex, Cursor or ChatGPT, add the Longwave MCP server once, then ask for the result. In Longwave, ask in any thread.

Questions people ask

Which providers offer a Speech Text API?

Through Longwave: fal and MiniMax. The table above compares their prices and access. To use one in particular, name it to your agent or give its function id.

Do I need an API key?

Providers marked "Your key" need your own key, added once in Longwave settings. Providers marked "Connect account" need you to sign in to that account.

Speech Text API in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave