Flux 2 Dev

Vendor: Black Forest Labs

Image

Fast creative drafts and prompt testing

Typical latency
5-10s
Reference inputs
Up to 6
toolId
flux-2-dev

Input modes

text-to-imageimage-to-image

Parameters

ParameterTypeDefaultValuesNotes
image_sizeselectsquareauto | square | square_hd | landscape_4_3 | landscape_16_9 | portrait_4_3 | portrait_16_9Output frame shape and size. Auto matches the reference image when editing.
num_inference_stepsslider281–50More steps = higher quality but slower
guidance_scaleslider3.51–20Higher = more literal; lower = more creative
output_formatselectpngpng | jpegFile format for the result. PNG keeps transparency; JPEG is smaller.
enable_safety_checkertoggletrue—NSFW content filter

Pricing

Pricing will be published shortly — contact us for early access rates

Prices last updated: —

API example

POST /v1/generations — flux-2-dev
curl -X POST https://api.mukelabs.com/v1/generations \
  -H "Authorization: Bearer $MUKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "toolId": "flux-2-dev",
    "inputMode": "text-to-image",
    "prompt": "your prompt here",
    "params": { "image_size": "auto" },
    "references": [],
    "idempotencyKey": "a-unique-key-per-task",
    "subjectId": "your-user-id"
  }'

FAQ

How do I call Flux 2 Dev on Muke Labs?
Submit POST /v1/generations with toolId "flux-2-dev" and one of its input modes (text-to-image, image-to-image), then poll GET /v1/generations/{jobId} for the result.
What does Flux 2 Dev cost?
Public pricing for this model is being finalized — contact us for early access rates. All tasks are billed from your prepaid USD balance and failed tasks refund automatically.
What happens if a task fails?
The job returns status "failed" with a typed error code, and its charge is returned to your balance automatically.
Where do I get an API key?
Create one in the developer portal (https://portal.muke.name), then send it as a Bearer token on every request.

Related models