Skip to content
Fourohtwo

Solana text-to-speech API paid via x402

x402factory.ai/solana/tts

Solana text-to-speech API paid via x402. Converts text input into a hosted audio URL. Dynamic pricing for TTS: the prepaid price is computed per request based on the input and charged upfront via x402. Estimated characters for this request: 23. Prepaid price for this request: 0.013800 USDC.

SolanaAnswering
POSThttps://x402factory.ai/solana/tts

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://x402factory.ai/solana/tts" \
  -d '{"text":{"type":"string","required":false,"description":"Text to convert to speech when action is omitted (TTS mode). Required for paid TTS calls."},"action":{"enum":["list"],"type":"string","required":false,"description":"Optional action. Omit for TTS. Use '\''list'\'' to list available voices instead of generating speech."},"voice_id":{"type":"string","required":false,"description":"Optional ElevenLab'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{"text":{"type":"string","required":false,"description":"Text to convert to speech when action is omitted (TTS mode). Required for paid TTS calls."},"action":{"enum":["list"],"type":"string","required":false,"description":"Optional action. Omit for TTS. Use 'list' to list available voices instead of generating speech."},"voice_id":{"type":"string","required":false,"description":"Optional ElevenLab