API Reference
API Reference / Endpoints / Speech

Streaming text to speech

/v1/speech/text-to-speech/stream

Reserved streaming TTS surface.

POST/v1/speech/text-to-speech/stream
Auth: API keyBilling: ReservedBehavior: ReservedScopes: audio:generate
POSTReservedNo bodyaudio:generate

When to use it

Do not use this in production today. It exists as a reserved route and returns 501 in v1.

Behavior on success

Reserved route. Current behavior is 501 Not Implemented.

Integration shape

Authorization model
audio:generate
Request format
No request body
Polling pattern
Do not wire yet.

Example request

POST /v1/speech/text-to-speech/stream
const response = await fetch('https://prod-backup-backend.wubble.ai/v1/speech/text-to-speech/stream', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.WUBBLE_API_KEY}`,
  },
});

const payload = await response.json();
console.log(payload);

Example response

Response shapejson
{
  "success": false,
  "data": null,
  "error": {
    "code": "NOT_IMPLEMENTED",
    "message": "Streaming TTS is not available in API v1."
  }
}

Implementation notes

Keep integrations on the async text-to-speech route until the streaming surface is enabled.

Reserved route

This route exists for future compatibility but currently returns 501 Not Implemented.
Keep this off your launch-critical path until the product team enables it.
Was this page helpful?