black-forest-labs/flux-2-pro/editFrom 9 credits per image· Edit Image

FLUX.2 [pro] edit takes one to three source images and an instruction such as a new setting, new light, added text or a combined scene, keeping the source shape or a shape you choose.

Call it with the model name black-forest-labs/flux-2-pro/edit on POST /jobs/createTask, from 9 credits per image ($0.09). New accounts get 30 free credits to try it in the Playground first.

  • Create Image
  • Edit Image
  • Up to 2K
  • Up to 3 reference images
  • 9 aspect ratios

Introduction

FLUX.2 [pro] Edit runs Black Forest Labs' FLUX.2 [pro] on images you already have. It accepts one to three sources, applies the change you describe, and returns 1k or 2k in the source shape or one of nine shapes.

Choose a mode by starting material

What you haveMode
a written briefFLUX.2 [pro] Text to image
one to three images to change or combineFLUX.2 [pro] Edit

Key features

Multi-reference composites

Combine a person, a product and a place from separate photos. In our headphone ad the face, hair and cardigan and the headphones' design stayed as in the sources.

Scene and light changes

Swap the setting or relight a photo while the subject stays put. Our sunny street became a rainy neon night with raindrops on the blazer.

Text added in the edit

Add a headline to the picture in the same step. Ours was spelled as quoted.

Request parameters

ParameterRequiredDescription
aspect_ratioNoThe shape of the frame: wide, square or tall. auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 9:21 · Default: auto
image_urlsYesPhotos to edit or combine. Say in the prompt what each one adds.
promptYesSay what to change and what must stay the same.
resolutionNoOutput size. Bigger sizes look sharper and cost more. 1k · 2k · Default: 1k
seedNoReuse the same number to get a repeatable result. ≥ 0 · ≤ 2147483647

Pricing

Prices are in credits, the same credits you use on the website (1 credit = $0.01). The hold is taken when the task is accepted and settled to the actual charge when it finishes; failed tasks are refunded.

OptionCredits per image≈ USD
Standard8.67$0.087

Each task is rounded up to whole credits, so one run at the lowest tier costs 9 credits per image ($0.09).

For an exact number before you run, send the same body to POST /jobs/quote.

Use cases

Advertisements from separate assets

Bring a model photo, a product shot and a location together into one visual.

Mood variations

Show the same scene by day, at night or in rain for a client choosing a direction.

Product and place restyling

Change the background, light or style of a product, a room or a clothed portrait.

Prompt guide & pro tips

Number the sources

Say image 1 is the person, image 2 the product, image 3 the place, in upload order.

Name what must stay

After the change, list the face, outfit, pose or design that has to remain exactly as it was.

Change one thing at a time

A single clear change keeps the rest of the frame stable; chain edits instead of packing several into one.

Allow time

Edits took 45 to 120 seconds in our tests.

Keep it clothed and safe for work

This model is strict on people, so use it for products, places and clothed portraits.

API quick start

Call the FLUX.2 Pro API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow- and use the same credits as the website.
  2. Send the request. POST /jobs/createTask with model black-forest-labs/flux-2-pro/edit and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "black-forest-labs/flux-2-pro/edit",
  "input": {
    "prompt": "A ceramic teapot on a linen cloth, soft window light, muted palette",
    "image_urls": [
      "https://media.popnow.ai/influencer/examples/marco.webp"
    ],
    "aspect_ratio": "auto",
    "resolution": "1k"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

FLUX.2 Pro API questions

How much does the FLUX.2 Pro API cost?

FLUX.2 Pro starts at 9 credits ($0.09) per image with Edit Image, its cheapest task. Credits are the same as on the website (1 credit = $0.01), new accounts get 30 free credits, and failed tasks are refunded.

What is the model name for FLUX.2 Pro in the API?

Put black-forest-labs/flux-2-pro/text-to-image for Create Image; black-forest-labs/flux-2-pro/edit for Edit Image in the model field of POST /jobs/createTask.

What is FLUX.2 [pro]?

It is the production-grade model in Black Forest Labs' second FLUX generation, released on 25 November 2025, built to balance quality and speed. Black Forest Labs sped it up roughly twofold in March 2026.

Can it write text into images?

Yes. Our poster test quoted a headline and a small line and both came back spelled exactly as written, in the typeface style the prompt described. Quote the words and say where they sit.

Does it follow colour codes?

Yes. Hex codes written in the prompt steer the palette. In our poster test a dusk teal and a copper horizon band came out in the tones we specified.

How many reference images can I use?

One to three in an edit. Say what each one contributes: image 1 is the person, image 2 the product, image 3 the place.

Does the seed repeat an image?

A fixed seed is for comparing prompts side by side; it does not promise an identical result.

What are the limits of the FLUX.2 Pro API?

Resolutions: 1K · 2K; Aspect ratios: auto · 1:1 · 16:9 · 9:16 · 4:3 · 3:4 +4; Reference images: 3; Prompt length (characters): 5,000; Largest upload: 10 MB. Requests outside these limits are rejected before anything is charged.

Can I try FLUX.2 Pro without writing code?

Yes. The Playground runs FLUX.2 Pro on your PopNow credits, needs no API key, and shows the matching code for every run.

All FLUX models

FLUX.2 Max is the top-quality tier for hero portraits; FLUX.2 Flex is the one for heavy lettering. Pro balances quality and speed.

More about FLUX.2 Pro