FLUX.2 Flex

black-forest-labs/flux-2-flexCopy model ID

Reads text and images, makes images.

1
provider

Quick start

Image generationCopy request
curl https://router.fluxapay.xyz/llm/v1/images/generations \
  -H "Authorization: Bearer $AGENTMARKET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"black-forest-labs/flux-2-flex","prompt":"A paper boat drifting down a rainy street","size":"2K"}'
AIHubMix is the only provider serving this format, so every call goes there.

Providers and prices

Per megapixel, in USD

AIHubMix is the only provider serving this model, so every call goes there. You pay only for images that come back.

ProviderOutputEach input image
AIHubMix$0.05$0.05

Each image is rounded up to whole megapixels: 1024×1024 counts as 2, so it costs $0.10.

Capabilities

Input
Text, Image
Output
Image
Sizes
1K, 2K or exact pixels
Images per call
1

More from Flux