Skip to content
onelayer.
All tools

Tool detail

BlockRun.AI

Synthesizes speech audio (mp3/opus/pcm/wav) from input text using an ElevenLabs voice or model, billed per call in USDC on Base.

Categories: Speech audio

Use when

  • convert text to speech audio using a chosen voice
  • generate an mp3/wav/opus voice clip from a script

Not for

  • not free-form voice cloning - voice must be an alias or existing ElevenLabs voice_id
  • not video or music generation - speech synthesis only

Inputs

POST JSON body: { input: string (required, text to synthesize) }; optional model, voice, response_format (mp3/opus/pcm/wav), speed (0.7-1.2)

Admitted input schema

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Text to synthesize into speech"
    },
    "model": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Speech model ID (e.g., elevenlabs/flash-v2.5)"
    },
    "response_format": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Audio format: mp3 (default), opus, pcm, wav"
    },
    "speed": {
      "type": "number",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Playback speed 0.7-1.2 (optional)"
    },
    "voice": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Voice alias (e.g., sarah, george) or raw ElevenLabs voice_id"
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://blockrun.ai/api/v1/audio/speech

Payment

Protocol
x402
Listed price
0.0535 USDC per call on Base (~ElevenLabs Flash v2.5 rate)
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://blockrun.ai/api/v1/audio/speech
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z