blockrun_speech
Generate speech from text or create custom sound effects using AI voice models. Select from ElevenLabs and ByteDance voices, adjust speed and output format, and pay per call.
Instructions
AI voice via BlockRun x402 — speak text aloud (ElevenLabs or ByteDance Seed Audio), generate sound effects, list voices.
Actions:
speak (default): text-to-speech. E.g. "speak this with the sarah voice". Price = chars/1000 × rate (min $0.001), quoted before payment.
sound_effect: cinematic sound effects from a text prompt, up to 22s ($0.0525/clip)
voices: list available voices (free)
Models (speak): elevenlabs/flash-v2.5 ($0.05/1k chars, 75ms, default), elevenlabs/turbo-v2.5 ($0.05/1k), elevenlabs/multilingual-v2 ($0.10/1k, narration), elevenlabs/v3 ($0.10/1k, most expressive), bytedance/seed-audio-1.0 ($0.003/sec of output, est. from input length; max 3k chars in / 120s out) — prompt-DIRECTED audio: describe the voice, emotion, and sound staging in the input text itself ("a tired detective mutters, rain in the background: ..."); the voice parameter is ignored.
Voice aliases (ElevenLabs models only): sarah (default), george, laura, charlie, river, roger, callum, harry — or any raw ElevenLabs voice_id.
Returns a hosted audio URL — download immediately if you need to keep the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | speak: text to synthesize. sound_effect: description of the sound, e.g. 'rain on a tin roof, distant thunder' (max 1000 chars). | |
| model | No | Speech model (speak only). seed-audio-1.0 is prompt-directed: voice/emotion/staging go in the input text, the voice param is ignored, and billing is per estimated second of output. | elevenlabs/flash-v2.5 |
| speed | No | Playback speed 0.7-1.2 (speak only) | |
| voice | No | Voice alias (sarah, george, laura, charlie, river, roger, callum, harry) or raw ElevenLabs voice_id. Default: sarah. | |
| action | No | speak: text-to-speech (default). sound_effect: generate a sound effect. voices: list voices (free). | speak |
| agent_id | No | Agent identifier for budget tracking and enforcement. | |
| response_format | No | Audio format | mp3 |
| duration_seconds | No | Sound effect length in seconds (sound_effect only; default: auto) | |
| prompt_influence | No | How literally to follow the prompt, 0-1 (sound_effect only) |