cURL
curl --request POST \ --url https://api.oryntai.xyz/api/v1/ai/tts \ --header 'Content-Type: application/json' \ --header 'X-Network: <x-network>' \ --data ' { "model": "gpt-voice-1", "text": "Hello world", "voice": "alloy", "options": {} } '
{ "model": "gpt-voice-1", "audioUrl": "https://example.com/audio.mp3" }
Blockchain network to use (e.g., solana, solana-devnet, base, polygon)
On-chain payment proof for HTTP 402 requests
TTS model to use
"gpt-voice-1"
Text to convert to speech
"Hello world"
Voice style or name
"alloy"
Provider-specific options
Generated speech/audio file