Streaming
Stream Text To Speech Playground
Internal playground endpoint for streaming TTS — not shown in the public schema.
Reads the API key from the PLAYGROUND_API_KEY environment variable and delegates to :func:stream_text_to_speech. Rate-limited independently via the RATELIMIT.PLAYGROUND config section.
Args: tts_request: TTS parameters (text, voice, model, format, etc.). background_tasks: FastAPI background-task queue. _request: Raw FastAPI Request object used for rate-limiting and app.state access. rl: Playground-specific rate-limiter dependency.
Returns: StreamingResponse: SSE stream of audio chunks (same as the main endpoint).
Raises: Exception: If PLAYGROUND_API_KEY is not configured.
post/text_to_speech/streaming/hidden/playground
Request
- Base URLhttps://api.async.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"transcript": "Hello, world!"
}Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.