- Published: December 3, 2026
- Last checked: December 3, 2026
- Updated: later on December 3, 2026, to add the retirement of the two FLUX.1 Kontext models
- Status: Retired; replaced by FLUX 3. LaoZhang API no longer offers any FLUX.1 or FLUX.2 model, only the eight
flux-3-image*models
Which model to use instead
- If your FLUX.2 output was about 1 MP (for example 1024×1024), use 1K; for about 4 MP (for example 2048×2048), use 2K.
- For batch jobs, drafts, and fast, low-cost edits,
flux-3-image-kleincosts $0.009 per 1K image and returns in about 10 seconds. - Kontext already used
aspect_ratio, so changing the model name is enough. For edits, send the source image asinput_image(or several inimages) and the instruction asprompt. - Edits cost the same as generations, and reference images are free. All eight FLUX 3 model IDs and prices are in the FLUX 3 API guide.
Key facts
Who is affected
How to migrate
1
Change the model name
Set
model to the FLUX 3 ID from the table. The model name sets the resolution, so you don’t need resolution.2
Replace pixel sizes with an aspect ratio
- Drop
widthandheightand sendaspect_ratioinstead; 1792×1024, for example, becomes"aspect_ratio": "16:9" sizeaccepts only1024x1024,1536x1024, and1024x1536; any other size returns 400
3
Keep your reference images
prompt and input_image work as before. For several references, put them in the images array, up to 10.4
Check the result and the charge
Result URLs expire after about an hour, so download each image right away. After switching, confirm the model name and charge in your call logs.
data[0].url points to a 1360×768 image. A 1K FLUX 3 Image generation takes about 25–32 seconds, so give the client a timeout of about 300 seconds. The save script, edits, and multi-image composition are in the FLUX 3 API guide.
FAQ
What does a call to flux-2-pro return now?
HTTP 404. The call isn’t billed and isn’t routed to another model. Forflux-2-pro the error reads:
flux-2-flex and flux-2-max return the same message with the replacements from the table.
Can I still use flux-kontext-pro and flux-kontext-max?
No. Both were still available when this page was first published, but later on December 3 the two FLUX.1 Kontext models were retired as well. Calls return HTTP 404 and aren’t billed. The error reads as follows (flux-kontext-max differs only in the model name):
- Set
modeltoflux-3-image(1K, $0.048); useflux-3-image-2k($0.10) for higher resolution orflux-3-image-klein($0.009) for fast, low-cost edits - Send the source image as
input_image(or up to 10 inimages) and the edit instruction asprompt - Keep sending
aspect_ratio
What do I change in my code?
Usually three things:- Set
modelto a FLUX 3 name that includes the resolution tier - Replace
widthandheightwithaspect_ratio - Put multiple reference images in the
imagesarray
prompt, and input_image stay the same. You still download the result from data[0].url, which now stays valid for about an hour instead of about 10 minutes.
What happens if I still send width and height?
FLUX 3 doesn’t accept them: the request returns 400 with a hint to useaspect_ratio, and it isn’t billed.
size accepts only 1024x1024, 1536x1024, or 1024x1536.
Why was FLUX.2 retired?
FLUX.2 and the older FLUX.1 Kontext have been replaced by FLUX 3, the newer generation, which runs on the same endpoint and supports up to 4K output and up to 10 reference images.Will FLUX.2 come back?
There’s no plan to bring back FLUX.2 or FLUX.1 Kontext. If that changes, this page and the announcement index will be updated.Sources and related docs
- LaoZhang API: the retired status and error text are based on live calls on December 3, 2026; current models and prices are in the model catalog
- Related docs: FLUX 3 API guide, FLUX 3 launch announcement, FLUX.2 API: image generation, Retired models and replacements
- Black Forest Labs: FLUX pricing