Api Endpoint

DevX Voice

Text to speech (TTS) API and AI voice generator: convert text to speech and get spoken audio as a WAV voice clip (base64 in JSON, or raw audio/wav with response_format=wav). Text to speech in English, Spanish, French, Chinese, Japanese and Korean, up to 2,000 characters. Low-cost: $0.001 USDC per started 1,000 characters on Base; failures are not charged. Use when an agent needs a voice reply, narration or audio from text. dTelecom-style text/lang_code accepted. MeloTTS. By DevX.

Open interactive test console

Offering

Provider
voice.madebydevx.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://voice.madebydevx.com/v1/tts
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
text-to-speech, tts, speech, voice, audio

Payment pricing

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

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
1000 atomic units
Atomic price: 1000 · Network: eip155:42161 · Asset: 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:43114 · Asset: USDC · Scheme: exact
Payment option 6
1000 atomic units
Atomic price: 1000 · Network: eip155:196 · Asset: 0x779Ded0c9e1022225f8E0630b35a9b54bE713736 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  },
  {
    "scheme": "exact",
    "network": "eip155:43114",
    "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  },
  {
    "scheme": "exact",
    "network": "eip155:196",
    "asset": "0x779Ded0c9e1022225f8E0630b35a9b54bE713736",
    "amount": "1000",
    "payTo": "0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247"
  }
]

Observed health

Status
Healthy
Latest latency
60 ms
Average latency
117 ms
HTTP status
200
Last checked
Reachability
100% over 16 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json"
      ]
    },
    "discoverable": {
      "type": "boolean"
    },
    "body": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "text": {
          "type": "string",
          "minLength": 1,
          "maxLength": 2000,
          "description": "Text to speak (max 2,000 characters)"
        },
        "lang": {
          "type": "string",
          "enum": [
            "en",
            "es",
            "fr",
            "zh",
            "ja",
            "ko"
          ],
          "description": "Language (default en). Aliases: language, lang_code (dTelecom/Kokoro letters a, b, e, f, j, z)"
        },
        "language": {
          "type": "string"
        },
        "lang_code": {
          "type": "string"
        },
        "voice": {
          "type": "string",
          "enum": [
            "default"
          ]
        },
        "speed": {
          "type": "number",
          "enum": [
            1
          ]
        },
        "response_format": {
          "type": "string",
          "enum": [
            "json",
            "wav"
          ],
          "description": "json (default): base64 WAV inside JSON; wav: raw audio/wav body"
        },
        "requestKey": {
          "type": "string",
          "minLength": 8,
          "maxLength": 128,
          "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{7,127}$",
          "description": "Optional idempotency key: the same payer + requestKey + input within 7 days returns the stored result without a second charge."
        }
      },
      "required": [
        "text"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "operation_id": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "result": {
          "type": "object"
        },
        "payment": {
          "type": "object"
        }
      },
      "required": [
        "operation_id",
        "status",
        "result"
      ]
    }
  },
  "required": [
    "type"
  ]
}