Console

FLUX.2 Dev

Max size
2048x2048
Input → output
text, image → image
Weights
–
Providers
1
01

Providers

1 provider · price, latency and uptime
ProviderPer imageLatency p50Uptime 24hRetention
1
MachGen
≤ $0.02– – may retain
Listed price
$0.004 / megapixel
Most per image
$0.02
Precision
–
Regions
default
Headquarters
–
Data retention
May retain prompts
Supported parameters
nsizeseedimage_urlsenhance_prompt

By default the router tries our listings in routing order and fails over before the first byte — never mid-answer. Uptime is our own 24h measurement; a dash means too few requests to measure yet. Open the row for the provider's specs and policies.

02

Quickstart

any SDK — only the base URL changes
curl --max-time 630 https://api.routerplus.com/v1/images/generations \
  -H "Authorization: Bearer $TM_API_KEY" -H "content-type: application/json" \
  -d '{"model":"machgen/flux-2-dev","prompt":"a red dot","size":"1024x1024"}'
03

Pricing

billed at the cost MachGen reports · at most $0.02 per image
output image$0.004 / megapixel

Every billed response carries usage.cost — recompute your bill from the wire.

04

Parameters

n — integer 1–1 (default 1)
size — 1024x1024 · 1024x768 · 1024x1808 · 2048x1536 · 2048x2048 (default 1024x1024) · default "1024x1024"
seed — integer 0–2147483647
image_urls — array · up to 3 items · Up to 3 reference images to edit or combine, as public https URLs (PNG, JPEG or WebP). MachGen fetches each one; inline data URIs are not accepted.
enhance_prompt — supported

Values outside these are refused with a 400 that names the field.