Example inputPOST /api/v1/x402/speech
{
"input": "Your agent task is complete.",
"model": "tts-1",
"voice": "alloy",
"response_format": "wav",
"speed": 1
}
Portable intent card · audio
Synthesize up to 500 characters for $0.001 and receive a durable WAV URL with a SHA-256 receipt.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/speech -m POST -H 'x-delx-source: intent-card-text-to-speech-api' --max-amount 0.001 -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
}
{
"intent": "turn text into a short speech clip",
"tool_name": "generate_speech",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/text-to-speech-api.json"
}
Portable and inspectable