Skip to main content
POST
Convert text to speech

Headers

X-Network
string
required

Blockchain network to use (e.g., solana, solana-devnet, base, polygon)

X-PAYMENT
string

On-chain payment proof for HTTP 402 requests

Body

application/json
model
string
required

TTS model to use

Example:

"gpt-voice-1"

text
string
required

Text to convert to speech

Example:

"Hello world"

voice
string

Voice style or name

Example:

"alloy"

options
object

Provider-specific options

Response

Generated speech/audio file