FLUX.1 Image Generation, One REST Endpoint
The ModelsLab Flux API gives developers FLUX models through a single REST endpoint. You pass a model_id and a prompt to /api/v7/images/text-to-image and receive hosted image URLs in JSON. FLUX.1 dev, FLUX.1 Kontext dev, FLUX.2 klein 9B and FLUX.2 dev run on ModelsLab GPUs; FLUX1.1 pro, Kontext pro, FLUX.2 pro and FLUX.2 max are served by Black Forest Labs through the same key.
FLUX, from Black Forest Labs, is a rectified-flow transformer known for sharp detail, strong prompt adherence and legible in-image text. On one key you can draft with FLUX.2 klein, produce with FLUX.1 dev or FLUX.2 dev, edit with Kontext, and send the final render to a pro model with a one-line change.
ModelsLab manages GPU allocation, model loading and auto-scaling, so there is no worker image for you to build or keep warm. The same API key also covers 10,000+ other image, video, audio, and LLM models when your product grows beyond FLUX.






















