Skip to main content
Routeway provides OpenAI-compatible endpoints for text-to-image generation and image editing. You can access top image models (including Flux 1.1 Pro, Flux 2 Turbo, Flux Kontext Max, Recraft V3, and Stable Diffusion 3.5) using standard OpenAI SDKs.

Text to Image Generation

The /v1/images/generations endpoint converts text prompts into high-resolution images.

Image Editing & Inpainting

The /v1/images/edits endpoint allows you to modify an existing image by supplying a text prompt and an optional mask.

Basic Image Edit


Parameters

Generation Parameters (/v1/images/generations)

Editing Parameters (/v1/images/edits)


Server Tools Integration

You can also trigger image generation directly inside conversation turns using Server Tools:
See Server Tools for more details.