# 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.

**ID**: `black-forest-labs/flux-2-dev`  
**Creator**: Black Forest Labs  
**Category**: image  
**Context**: 1 tokens  
**Status**: Disabled (since 2026-07-26) — no longer routable or listed; kept for history/usage reference.  
**Reason**: The catalogue was narrowed to models whose output is text or embeddings; this model's output is an image, so it was taken out of service. Related: #1551 (these SKUs bill $0 on a metered backend).  
**Pricing**: $0.00021 per input 512x512 tile per step; $0.00041 per output 512x512 tile per step  
**Released**: 2025-11-25  
**Web page**: https://anyrouter.dev/model/black-forest-labs/flux-2-dev

**Input modalities**: text, image  
**Output modalities**: image  

**Capabilities**: image-generation, text-to-image

**Supported parameters**: prompt, width, height, steps, seed

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "black-forest-labs/flux-2-dev",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| Cloudflare AI Workers | $0.00021 per input 512x512 tile per step; $0.00041 per output 512x512 tile per step | — |

## Source

- Upstream docs: https://developers.cloudflare.com/workers-ai/models/flux-2-dev/
