← Back to directory

Use when an agent needs spoken audio from short text (voice reply, narration, ac...

https://1gateway.dev/v1/ai/tts

Overview

Use when an agent needs spoken audio from short text (voice reply, narration, accessibility). Input: text (max 500 chars), lang (en, ko, ja, zh, es, fr; default en). Output: JSON with an MP3 (base64), voice, model, safety verdict. Fixed built-in voices, no voice cloning. Text screened by Llama Guard 3; unsafe 422, not charged. Not stored. Example: ?text=Hello%20from%201gateway&lang=en

Protocol x402
Price $0.0040
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Text-to-Speech
Source bazaar
Indexed 2026-11-01 01:36:57

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "lang": "en", "text": "Hello from 1gateway" }, "type": "http" }

Output Schema

{ "example": { "audio": { "base64": "//uQZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "bytes": 108, "mimeType": "audio/mpeg" }, "estimatedSeconds": 1.4, "lang": "en", "model": "@cf/myshell-ai/melotts", "notes": [ "Synthesized by MeloTTS (MyShell.ai, MIT license) on Cloudflare Workers AI with a fixed built-in voice per language; no voice cloning. Text is screened by Llama…" ], "safety": { "textModel": "@cf/meta/llama-guard-3-8b", "textVerdict": "safe", "voiceCloning": false }, "text": "Hello from 1gateway", "upstreamCostUsd": 0.000005, "voice": "melotts-en-default" }, "type": "json" }