v1
latestOpenAPI 3.0.32026-07-2691139249.7 KBtext_generator
Text Generator (Streaming)
Streaming text generation endpoint. Authenticates via API token (X-API-KEY + X-API-ID), validates the request, checks credits, calls the Gemini streaming API, and returns an SSE stream of Gemini-native response chunks on the same connection.
The final SSE chunk includes a creatify object with the generation id and credits_used.
post/sse/text_generator/stream/
Request body
Response
SSE stream of Gemini response chunks. Content-Type: text/event-stream.