← Back to directory

Base text-to-speech API paid via x402. Converts text input into a hosted audio U...

https://x402factory.ai/base/tts

Overview

Base 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: 15. Prepaid price for this request: 0.009000 USDC.

Protocol x402
Price $0.0090
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider x402factory
Source bazaar
Indexed 2026-03-02 01:01:28

Health

Status healthy
Latency (p50) 560ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-09-27 22:48:17
Last Healthy 2026-09-27 22:48:17
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Invalid
Asset Verified —
Facilitator —

Input Schema

{ "bodyFields": { "action": { "description": "Optional action. Omit for TTS. Use 'list' to list available voices instead of generating speech.", "enum": [ "list" ], "required": false, "type": "string" }, "text": { "description": "Text to convert to speech when action is omitted (TTS mode). Required for paid TTS calls.", "required": false, "type": "string" }, "voice_id": { "description": "Optional ElevenLabs voice_id. If omitted, a default narrator voice is used.", "required": false, "type": "string" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "action": { "description": "Action performed: 'tts' for text-to-speech, 'list' for voice listing.", "type": "string" }, "chars": { "description": "Number of characters used for pricing in TTS calls.", "type": "number" }, "ok": { "description": "True on success", "type": "boolean" }, "price_usdc": { "description": "Price charged for this call in USDC (6 decimals, rounded up). Minimum is 0.001 USDC.", "type": "number" }, "tts_url": { "description": "Public URL of the generated audio file hosted on ImageKit (TTS only).", "type": "string" }, "voice_id": { "description": "Voice ID used for the TTS call (TTS only).", "type": "string" }, "voices": { "description": "For action=list: available voices with trimmed metadata (voice_id, name, accent, descriptive, age, language, use_case).", "type": "array" } }

Recent Health Checks

Time Status HTTP Latency Error
2026-09-27 22:48:17 healthy 402 547ms
2026-09-27 16:06:09 healthy 402 587ms
2026-09-27 06:29:32 healthy 402 566ms
2026-09-27 00:28:35 healthy 402 560ms
2026-09-26 16:39:45 healthy 402 509ms
2026-09-26 10:34:15 healthy 402 547ms
2026-09-26 02:30:14 healthy 402 479ms
2026-09-25 14:52:08 healthy 402 2678ms
2026-09-24 23:36:29 healthy 402 573ms