MyRouterMyRouter
/
ModelsDocsSign In
Back to catalog

FLUX 2 DEV

Provider: FluxType: Images

Description

FLUX 2 DEV

Capabilities

  • text-to-image

Model Info

Model ID
flux-2-dev
Modalities

Input: Text

Output: Image

Pricing

Price (per request)
N/A

Quick Start

Use your MyRouter API key with an OpenAI-compatible base URL, then pick the example that matches your stack.

Direct HTTP request for quick testing.

curl https://api.myrouter.ai/openai/v1/chat/completions \
  -H "Authorization: Bearer $MYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-dev",
    "messages": [
      {
        "role": "user",
        "content": "Hello from MyRouter"
      }
    ]
  }'