Skip to main content
Floodgate implements a standard OpenAI-compatible API at:
Send your API key as a bearer token in the Authorization header:

Available Endpoints


Chat Completions


Image Generations

Floodgate supports high-performance image generation using gpt-image-2 (0.30/call)and‘gpt−image−2.5‘(0.30/call) and `gpt-image-2.5` (0.40/call).
For detailed image parameter references, resolution options, and image edit/inpainting examples, read the Image Generation Guide.

Streaming Responses

Floodgate supports Server-Sent Events (SSE) streaming for all completion models. Simply pass "stream": true in your request body:
Python Streaming
Always include the /v1 prefix in your base URL (https://api.floodgate.dev/v1) when configuring OpenAI SDKs or compatible tooling.