
Black Forest Labs/Flux 2 Max Image Editing
flux-2-maxFlux 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 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 Name | Parameter | Technical Description |
|---|---|---|
| Init Image | init_image | Add your URLs in JPEG, PNG, You can add upto 10 Images |
| Prompt | prompt | The text prompt for the type of image you want to generate |
| Model Id | model_id | Model ID |
| Height | height | Enter the height for the image you want to generate |
| Width | width | select the width for the image you want to generate |