Skip to main content

Flux 2 Max - Image Editor

Highest-fidelity text-based image editing by Black Forest Labs. Applies natural language edits with maximum quality and consistency, preserving fine details across professional photography, fine art, and premium commercial imagery.

Endpoint

Request Headers

FieldValue
API-KEY<api-key>
Content-Typeapplication/json

Parameters

ParameterTypeRequiredDescription
typestringYesMust be IMAGE_EDITOR
modelstringYesMust be black-forest-labs/flux-2-max
promptObjectobjectYesConfiguration object containing all editing parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
imageUrlstringYesAsset path of the image to edit (from Asset API)-
promptstringYesText description of the desired edit-
aspect_ratiostringNoOutput aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:5, 5:4)match_input_image
output_formatstringNoOutput file format (jpg, png)png
output_qualitynumberNoOutput image quality (0-100)80
stepsnumberNoNumber of diffusion steps (15-50)50
guidancenumberNoPrompt adherence scale (2-5)3
safety_tolerancenumberNoContent safety threshold (1=strictest, 6=most permissive)2
prompt_upsamplingbooleanNoAutomatically enhance prompt for more creative outputfalse
seednumberNoRandom seed for reproducibilityRandom

Code Examples

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "black-forest-labs/flux-2-max",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "Transform the setting to golden hour lighting with warm tones",
"steps": 50,
"guidance": 3,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Asset path of the source image to edit
Describe the edit you want to apply
Number of diffusion steps (15-50)
Prompt adherence scale (2-5)
Content safety threshold (1=strictest, 6=most permissive)
Output image quality (0-100)
Random seed for reproducibility

Generated cURL Command:

curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "black-forest-labs/flux-2-max",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "Transform the setting to golden hour lighting with warm tones",
"steps": 50,
"guidance": 3,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
}
}'

Response Format

{
"aiRecord": {
"uuid": "d4e5f6a7-b8c9-0123-defa-234567890123",
"model": "black-forest-labs/flux-2-max",
"type": "IMAGE_EDITOR",
"status": "SUCCESS",
"createdAt": "2026-03-27T10:00:00.000Z",
"aiRecordDetail": {
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_cat.png",
"prompt": "Transform the setting to golden hour lighting with warm tones",
"steps": 50,
"guidance": 3,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
},
"resultObject": [
"development/images/2026_03_27_10_00_04_001_edited.png"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2026_03_27_10_00_04_001_edited.png?..."
}
}

Use Cases

  • Lighting & Atmosphere: Transform time of day, weather, or mood with maximum fidelity
  • Professional Retouching: Fine-detail edits for product and portrait photography
  • Fine Art Editing: Apply complex style transformations to high-resolution artwork
  • Premium Campaign Imagery: Modify commercial visuals while preserving production quality