Image
Flux
by Black Forest Labs
Flux image generation with Dev, Pro, and 2 Klein, plus single-image editing with Dev and Pro.
Capabilities
- Text to image
- Edit image
- LoRA
Available models
Pass any of these IDs in the model field.
| Model ID | Detail | Price |
|---|---|---|
| flux-pro-1.1 | 1024×1024 | $0.040 / call |
| flux-dev | 1024×1024 | $0.030 / call |
| flux-2-klein | 1024×1024 | $0.020 / call |
Pricing starts at
$0.030 / call
Pay only for what you use. Each response returns the exact amount settled against your balance — no subscriptions, no minimums.
Quickstart
Flux · flux-pro-1.1
cURL
curl -X POST https://capi.ai/api/v1/images/generations \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"model":"flux-pro-1.1","prompt":"A lighthouse at dusk"}'More Image models
View allImage
Flux 2
Black Forest Labs
Flux 2 API access for text-to-image and remix-image with strong prompt adherence from Black Forest Labs.
from $0.070 / callView
Image
Flux Kontext
Black Forest Labs
Flux Kontext API access for in-context image editing, local edits, style transfer, and character consistency.
from $0.110 / callView
Image
GPT Image
OpenAI
OpenAI GPT Image for instruction-following generation and conversational image editing.
from $0.020 / callView