Endpoints
Voice and Music
Generate narration previews, commercial voiceover audio, and background music for Content Studio workflows.
POST
These dashboard endpoints are session-authenticated. They use the caller’s
active business context and return generated audio directly as
The response body is the MP3 audio. Metadata headers include
audio/mpeg.
They are not API-key endpoints.
Generated audio responses are never cached by the browser or CDN. Saved voice
profiles continue to expose only NearIQ profile IDs, not provider voice
identifiers.
Selectable voices
The dashboard voice selector returns built-in narration presets, optional saved voice profiles for the active business, and a sanitized library list when premium voice generation is configured.Generate narration
POST /api/businesses/me/content/voice
X-NearIQ-Audio, X-NearIQ-Voice, X-NearIQ-Speech-Pace,
X-NearIQ-Speech-Rate, and provider request/character-count metadata when
available.
Generate background music
POST /api/businesses/me/content/music
Access
Voice and music generation require Growth plan or higher. Organization members needmanage_voice for narration and content_studio_generate for music. Saved
voice cloning requires Agency plan or higher and the manage_voice permission.
AI Chat voice endpoints
AI Chat also uses session-authenticated voice endpoints:POST /api/voice/transcribeaccepts browser-recorded audio (webm,mp4/m4a,mp3,wav, orogg) and returns{ "text": "..." }.POST /api/voice/speakaccepts{ "text": "..." }and returns generated audio for the Listen action. Repeated matching playback returnsX-NearIQ-Audio-Cache: hit; cache hits do not spend another generation. Free-plan, permission-denied, over-limit, and unavailable-provider responses return JSON withfallback: "browser_voice"so the client can use browser speech fallback.