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

Upgrade now
Flux 2 Pro Image Editing thumbnail

Black Forest Labs/Flux 2 Pro Image Editing

flux-2-pro
Flux.2 Pro Image EditingLLMs.txt
Flux 2 Pro Image Editing is a high-performance AI tool that allows you to enhance, modify, and transform images with exceptional accuracy. It delivers seamless object removal, realistic background changes, detailed retouching, and professional-quality.
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-pro",
"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