Skip to content
onelayer.
All tools

Tool detail

base

Converts up to 500 characters of text to speech in one of 10 standard voices (M1-M5, F1-F5) across 31 languages, returned as inline WAV audio.

Categories: Speech audio

Use when

  • convert short text to a spoken WAV clip in a standard voice
  • give an agent a spoken reply or narrate a short alert

Not for

  • not for text over 500 characters — use the base-long route instead
  • not for named persona voices (Assistant, Storyteller, etc.) — those need the Custom tier

Inputs

POST JSON body: { text: string (required, 1-2000 chars) }; voice (M1-M5|F1-F5), lang (1 of 31 codes) both optional

Admitted input schema

{
  "type": "object",
  "properties": {
    "lang": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "en",
        "ko",
        "ja",
        "ar",
        "bg",
        "cs",
        "da",
        "de",
        "el",
        "es",
        "et",
        "fi",
        "fr",
        "hi",
        "hr",
        "hu",
        "id",
        "it",
        "lt",
        "lv",
        "nl",
        "pl",
        "pt",
        "ro",
        "ru",
        "sk",
        "sl",
        "sv",
        "tr",
        "uk",
        "vi"
      ],
      "description": "Language code; 31 languages supported"
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "Text to synthesize into speech, max 2000 characters. Use non-long routes for 1-500 chars and -long routes for 501-2000 chars."
    },
    "voice": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "M1",
        "M2",
        "M3",
        "M4",
        "M5",
        "F1",
        "F2",
        "F3",
        "F4",
        "F5"
      ],
      "description": "Standard voice: M1-M5 or F1-F5"
    }
  },
  "required": [
    "text"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://voice.forgemesh.io/v1/tts/base

Payment

Protocol
x402
Listed price
0.001 USDC per call on Base for 1-500 chars (longer text needs the base-long route)
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://voice.forgemesh.io/v1/tts/base
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z