🎉 New Year Sale: Get 20% OFF on all plans — Use code NEWYEAR2026.

Upgrade now
Flux 2 Max Image Editing thumbnail

Black Forest Labs/Flux 2 Max Image Editing

flux-2-max
Flux 2 Max Image EditingLLMs.txt
Production-grade **image editing** AI with **up to 4MP** output, multi-reference support, precise prompt adherence, and photorealistic detail for e-commerce, marketing, and pro workflows. (128 characters)[1][2][5]
API PlaygroundAPI Documentation

API Endpoint URL

Base URL for all API requests to this endpoint.

https://modelslab.com/api/v7/images/image-to-image

API Authentication

Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.

Integration Examples

Production-ready code samples for API integration

{
"init_image": [
"https://assets.modelslab.com/generations/9f8b17c2-5b41-42da-8bcb-290710eb53bd.png",
"https://assets.modelslab.com/generations/8e7ff52e-124b-4f6a-a04a-3340f41a1bc0.png"
],
"prompt": "Match a pose from a reference image",
"model_id": "flux-2-max",
"height": "1024",
"width": "1024",
"key": "YOUR_API_KEY"
}

SDKs

Official SDKs

Production-ready SDKs and client libraries for all major programming languages

API Parameters

Technical specifications for API request parameters.

Field NameParameterTechnical Description
Init Imageinit_imageAdd your URLs in JPEG, PNG, You can add upto 10 Images
PromptpromptThe text prompt for the type of image you want to generate
Model Idmodel_idModel ID
HeightheightEnter the height for the image you want to generate
Widthwidthselect the width for the image you want to generate