FLUX.2 Dev

Black Forest Labs' open-weight FLUX.2 Dev for text-to-image with reference images.

Modalities
IntextimageOutimage
Price
$0.024/image
Providers
2 live
A real FLUX generation on NinjaChat
"A cinematic photograph of a lone red canoe on a perfectly still alpine lake, towering dark g…"

Playground

Preparing playground

Providers

primary
fallback

API

POST/api/v1/images/generations
flux-2-dev
curl https://www.ninjachat.ai/api/v1/images/generations \
  -H "Authorization: Bearer $NINJACHAT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "model": "flux-2-dev", "prompt": "a red fox in a snowy forest, golden hour", "aspect_ratio": "16:9" }'
promptmodelnsizeaspect_ratioimagewidthheight

Pricing

Per image
$0.024/image

Reference estimate for the catalog configuration. For video, this may reflect the maximum duration; request options and actual duration determine the final price.