Batch text-to-speech: synthesize up to 20 text items in a single call, standard voices onl
Batch text-to-speech: synthesize up to 20 text items in a single call, standard voices only, for 501-2000 total characters, returns JSON with base64 WAV audio plus duration and sample rate per item. Use it to: batch-voice a longer set of messages, produce audio for a multi-section script or FAQ, generate several paragraph-length voice clips in one request without repeated calls. USDC on Base via x402.
5000 (raw units)
price
5
calls / 30d
2
unique payers
2026-09-14
updated
Provider
voice.forgemesh.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x962794FB8aD92941fAf1ab446b9e30637B86F331",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 1800
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"defaults": {
"lang": "en",
"voice": "F2"
},
"items": [
{
"text": "Hello"
},
{
"text": "World"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"items": [
{
"audio_base64": "...",
"duration_s": 1.5,
"format": "wav",
"sample_rate": 44100
}
]
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"defaults": {
"additionalProperties": false,
"description": "Default standard voice and language for all items",
"properties": {
"lang": {
"description": "Language code; 31 languages supported",
"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"
],
"type": "string"
},
"voice": {
"description": "Standard voice: M1-M5 or F1-F5",
"enum": [
"M1",
"M2",
"M3",
"M4",
"M5",
"F1",
"F2",
"F3",
"F4",
"F5"
],
"type": "string"
}
},
"type": "object"
},
"items": {
"description": "Array of standard-voice text items. Total text across all items must be <= 2000 characters; use /v1/tts/batch for <=500 total chars and /v1/tts/batch-long for 501-2000 total chars.",
"items": {
"additionalProperties": false,
"properties": {
"lang": {
"description": "Language code; 31 languages supported",
"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"
],
"type": "string"
},
"text": {
"description": "Text for this batch item",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"voice": {
"description": "Standard voice: M1-M5 or F1-F5",
"enum": [
"M1",
"M2",
"M3",
"M4",
"M5",
"F1",
"F2",
"F3",
"F4",
"F5"
],
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
}
},
"required": [
"items"
],
"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": {
"properties": {
"items": {
"items": {
"properties": {
"audio_base64": {
"type": "string"
},
"duration_s": {
"type": "number"
},
"format": {
"type": "string"
},
"sample_rate": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"tags": [
"text-to-speech",
"tts",
"batch",
"bulk",
"long-form",
"audio",
"wav"
]
}Use it
curl
curl "https://voice.forgemesh.io/v1/tts/batch-long" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://voice.forgemesh.io/v1/tts/batch-long");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://voice.forgemesh.io/v1/tts/batch-long")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4561.json, and this resource appears in /discovery/resources and /discovery/search.