Api Endpoint

Treza

Text to speech (AI voice generation): send text, get a natural ElevenLabs voiceover MP3 back in the same response. Use it when an agent needs narration, a voiceover for a video, or a spoken version of text. Eleven v3 (expressive, takes [whispers]-style directions) or Multilingual v2 (29 languages), a choice of ElevenLabs narrators, up to 3000 characters, $0.42 per 1,000 characters. GET this URL for the voices. No account or API key: the payment is the only credential.

Open interactive test console

Offering

Provider
www.trezalabs.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.trezalabs.com/api/x402/speech
MIME type
Not provided
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
text-to-speech, tts, elevenlabs, voice, voiceover

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.04 USDC
Atomic price: 40000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.04 USDC
Atomic price: 40000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "40000",
    "payTo": "0xaE393a9CD728F7397F50f6f8C88096a0F3D2b42C"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "40000",
    "payTo": "EX4MyYWHc7NKBGuytmMpxixM7ovSWYLNy5acN2mFfoGd"
  }
]

Observed health

Status
Healthy
Latest latency
71 ms
Average latency
536 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "async": {
          "default": false,
          "description": "true: answer at once, status running with a statusUrl.",
          "type": "boolean"
        },
        "model": {
          "default": "eleven-v3",
          "enum": [
            "eleven-v3",
            "eleven-multilingual-v2"
          ],
          "type": "string"
        },
        "text": {
          "description": "What to say.",
          "maxLength": 3000,
          "type": "string"
        },
        "voice": {
          "default": "george",
          "description": "A voices[].id from GET on this URL, e.g. george, brian, alice.",
          "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 schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "async": {
              "default": false,
              "description": "true: answer at once, status running with a statusUrl.",
              "type": "boolean"
            },
            "model": {
              "default": "eleven-v3",
              "enum": [
                "eleven-v3",
                "eleven-multilingual-v2"
              ],
              "type": "string"
            },
            "text": {
              "description": "What to say.",
              "maxLength": 3000,
              "type": "string"
            },
            "voice": {
              "default": "george",
              "description": "A voices[].id from GET on this URL, e.g. george, brian, alice.",
              "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": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}