ImageBlack Forest Labs$0.05 / image

FLUX 2 Pro

Fast, detailed, photographic. By Black Forest Labs.

black-forest-labs/flux-2-pro/image-edit

View docsAbout FLUX 2 Pro
const res = await fetch("https://api.elyum.ai/v1/generations", {  method: "POST",  headers: {    Authorization: `Bearer ${process.env.ELYUM_API_KEY}`,    "Content-Type": "application/json",    Prefer: "wait=55",  },  body: JSON.stringify({    "model": "black-forest-labs/flux-2-pro/image-edit",    "prompt": "A slow push-in on a lighthouse at dusk, waves breaking below",    "inputs": [      {        "role": "reference",        "url": "https://example.com/reference.jpg"      }    ]  }),});const generation = await res.json();console.log(generation.status, generation.outputs);

Input

Referenceimage · up to 8

Result

A sample FLUX 2 Pro render
Example
Price

$0.05 per image. Charged when the file is delivered; a render that fails or is canceled costs nothing.

More models by Black Forest Labs

FLUX 2 Pro task by task, then the lowest price of each other model. What a render costs depends on the resolution and length you choose.

ModelPriceResolutionLength
FLUX 2 Pro Text to image$0.05 / image——
FLUX 2 Pro Image edit$0.05 / image——
FLUX 3 MaxText to video · Image to videofrom $0.06 / s720p – 1080p5 – 20 s
Flux.3 VideoText to video · Image to videofrom $0.23 / s720p – 1080p5 – 20 s
FLUX 2 MaxText to image · Image edit$0.07 / image——
FLUX 2 FlexText to image · Image edit$0.05 / image——
FLUX 2 FlashText to image · Image edit$0.02 / image——
FLUX 2 Klein 9BText to image · Image edit$0.02 / image——
FLUX.1 Kontext MaxText to image · Image edit$0.07 / image——
FLUX 1.1 Pro UltraText to image$0.05 / image——