ToolAssay

Use when you need text to speech, a voice audio file or narration of a short tex

Use when you need text to speech, a voice audio file or narration of a short text. Do not use for voice cloning, a chosen voice, SSML or audio longer than about two minutes. Returns JSON with your text read aloud as WAV audio (base64, 44.1 kHz mono) by MeloTTS on Workers AI, in English, Spanish, French, Chinese, Japanese or Korean for 0.023 USDC per call. Typical response time 8000 ms (p95). Category: Media.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
1526 msmedian answer time
$0.023listed price per call
$0.023price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://x402-gateway.blackwoodstate8.workers.dev/v1/text-to-speech

CategoryImage and media
Provider hostx402-gateway.blackwoodstate8.workers.dev
Networkseip155:8453
Payment schemesexact, upto
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.023 1526 ms

Example input (from the provider)

{
  "body": {
    "lang": "en",
    "text": "Hello from Blackwood State. This audio was generated on demand."
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "lang": {
              "description": "Speech language: en (default), es, fr, zh, ja or ko",
              "enum": [
                "en",
                "es",
                "fr",
                "zh",
                "ja",
                "ko"
              ],
              "type": "string"
            },
            "text": {
              "description": "Text to read aloud, e.g. Welcome to our store (up to 1000 characters)",
              "maxLength": 1000,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "audioBase64": {
              "type": "string"
            },
            "bytes": {
              "type": "number"
            },
            "chars": {
              "type": "number"
            },
            "lang": {
              "type": "string"
            },
            "mimeType": {
              "enum": [
                "audio/wav",
                "audio/mpeg"
              ],
              "type": "string"
            },
            "model": {
              "type": "string"
            },
            "next": {
              "additionalProperties": false,
              "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "POST"
                  ],
                  "type": "string"
                },
                "sample": {
                  "description": "Free fixed sample of the whole family",
                  "type": "string"
                },
                "service": {
                  "description": "Service id of the suggested next paid call",
                  "type": "string"
                },
                "tool": {
                  "description": "MCP tool name of the same call",
                  "type": "string"
                },
                "url": {
                  "description": "Paid route of the next call",
                  "type": "string"
                },
                "useWhen": {
                  "description": "When the next call is the right one",
                  "type": "string"
                }
              },
              "required": [
                "service",
                "tool",
                "method",
                "url",
                "useWhen",
                "sample"
              ],
              "type": "object"
            }
          },
          "required": [
            "mimeType",
            "audioBase64",
            "bytes",
            "lang",
            "chars",
            "model"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON