InputPOST /api/v1/x402/speech
{
"input": "Your agent task is complete.",
"model": "tts-1",
"voice": "alloy",
"response_format": "wav",
"speed": 1
}
AI media generation · audio
Convert text to natural spoken WAV audio with this Kokoro-82M text to speech API (TTS) for agents at $0.005 USDC via x402 on Base or Solana. Call when you need short narration, voiceover, IVR prompts, or audio notifications without a TTS subscription; accepts native text or OpenAI-shaped input/voice/speed (up to 500 characters) and returns a durable WAV URL plus SHA-256 receipt. No API key, no subscription; not a phone carrier or realtime voice session.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/speech -m POST -H 'x-delx-source: product-page' --max-amount 0.005 -b '{"input":"Your agent task is complete.","model":"tts-1","voice":"alloy","response_format":"wav","speed":1}'
{
"input": "Your agent task is complete.",
"model": "tts-1",
"voice": "alloy",
"response_format": "wav",
"speed": 1
}
{
"generation_id": "0de6f22023df47f4a96c260bd980257a",
"audio_url": "https://api.delx.ai/api/v1/generated-audio/0de6f22023df47f4a96c260bd980257a.wav",
"model": "jaaari/kokoro-82m",
"provider": "replicate",
"voice": "af_bella",
"speed": 1,
"prompt_policy_version": "raw/v1",
"media_type": "audio/wav",
"bytes": 48128,
"duration_ms": 1000,
"sample_rate_hz": 24000,
"channels": 1,
"sample_width_bits": 16,
"provider_attempts": 1,
"sha256": "cb45a6e6fa30b28b791a6256f9f522f13fc9c6de5b407030bd853cab62523d63",
"sale_price_usdc": 0.005
}
Machine-readable evidence