Skip to main content

Overview

Elumenta supports streaming for text generation via Server-Sent Events (SSE). Instead of waiting for the full response, tokens are delivered as they’re generated. Enable streaming by setting "stream": true in your request.

Basic Example

SSE Event Format

Streaming responses are sent as SSE events:

Event Types

React Integration Example

Which Models Support Streaming?

All text models support streaming. Image, video, and audio models do not — they return a URL when complete.