ImageBlack Forest LabsNew

FLUX 2 Pro

Production-grade photorealism

model: "flux-pro-v2"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Text to imageprompt
Example request
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.045
Image editimage_url
Example request
{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.105

Input

Required

Prompt

Optional

Size

Optional

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

Optional

More source images (https URLs), for edits that combine several images. image_url, if sent, is the first.

Advanced options (2)

Provider settings beyond the main controls. Leave them empty to use the model's defaults.

Optional

File format of the result.

Optional

Random seed. The same seed and input reproduce the same result.

Result

FLUX 2 ProExample output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-pro-v2",
  "input": {
    "prompt": "Concept art of a geostationary relay station in the eye of a vast category-five hurricane seen from low orbit, the spiral wall cloud spreading across an entire ocean below in bands of cool slate and electric white, the station'\''s solar panels catching vivid amber sunrise light above the storm, wide cinematic horizontal sci-fi VFX environment, photorealistic hard-surface material on truss and panel detail, no crew visible, awe-inspiring scale"
  }
}'
FLUX 2 Pro 1FLUX 2 Pro 2FLUX 2 Pro 3FLUX 2 Pro 4FLUX 2 Pro 5FLUX 2 Pro 6