FLUX.2 DevFreeMiễn phí

black-forest-labs/flux-2-dev

FLUX.2 Dev is Black Forest Labs' text-to-image model for highly realistic and detailed image generation, with multi-reference support on Workers AI.

Upstream Providers
ZDR only
cloudflare
In$0.00021 per input 512x512 tile per step; $0.00041 per output 512x512 tile per stepOutTTFT1.5s
ZDR
Uptime & Health
No uptime data yet

These providers haven't been health-probed for this model yet. The router still routes around upstreams that fail live requests — uptime fills in once probe history accrues.

Code samples
POST /api/v1/images/generations
curl https://anyrouter.dev/api/v1/images/generations \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "black-forest-labs/flux-2-dev",
    "prompt": "A photo of a Cloudflare-orange cloud, soft studio lighting"
  }'
No API key yetSet ANYROUTER_API_KEY Dashboard → Keys
Request example
{
  "model": "black-forest-labs/flux-2-dev",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}

Change sort, ZDR, effort, or pin a provider to add routing params.