Skip to content

FLUX API

FLUX image generation, via API.

Send a prompt, get a photorealistic image. FLUX.1 Dev for quality, FLUX.1 Schnell for 4-step speed, through an OpenAI-compatible images endpoint.

Hand this to your agent

Add a Runcrate model to this project: run curl -fsSL"https://runcrate.ai/agents.md?intent=build"and follow it.

Your agent asks for an API key. Create a key

Works inClaude CodeCodexOpenCodeClineRoo CodeKilo CodeCursor
Parameters12B
Schnell steps4
ResolutionUp to 1024x1024

Quick start

Hand it to your agent. Or read the request it sends.

Your agent writes and runs it. The same key works for every model and every GPU.

Docs
Generate a 1024x1024 hero image of a mountain cabin with FLUX.1 Dev on Runcrate and save it as hero.png. Runs curl https://api.runcrate.ai/v1/images/generations \ -H "Authorization: Bearer rc_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "black-forest-labs/FLUX.1-dev", "prompt": "A cat astronaut floating in space, photorealistic", "size": "1024x1024" }'.

Available models

Models you can call today. Billed prices, as charged.

ModelMakerPriceDetail
black-forest-labs/FLUX.1-devBlack Forest Labs$0.0313 per image12B, maximum quality, 50 steps
black-forest-labs/FLUX.1-schnellBlack Forest Labs$0.00375 per image12B, 4-step fast generation
See every model price

Why Runcrate

Built for production. One key, one balance.

  • Photorealistic output

    FLUX.1 produces photorealistic images and handles human faces, hands, and text rendering better than earlier diffusion models.

  • Schnell mode

    Need speed over polish? FLUX.1 Schnell generates images in 4 denoising steps instead of about 50.

  • 12B parameters

    FLUX.1 is a 12-billion parameter rectified flow transformer. More parameters means better prompt adherence and finer detail than smaller models.

  • No GPU required

    FLUX.1 needs 24GB+ VRAM to run locally. Skip the hardware and use the API. Scale from one image to thousands without infrastructure changes.

FAQ

Common questions.