Flux 2 Max - Image Generator
The highest-fidelity image generation model from Black Forest Labs. Delivers maximum quality with top consistency across generations, making it the definitive choice for professional photography, fine art, and premium commercial work.
Also supports Image Editing
This model also supports IMAGE_EDITOR mode for text-based image editing. See Flux 2 Max - Image Editor.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Must be IMAGE_GENERATOR |
model | string | Yes | Must be black-forest-labs/flux-2-max |
promptObject | object | Yes | Configuration object containing all generation parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
prompt | string | Yes | Text description of the image to generate | - |
aspect_ratio | string | No | Image aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:5, 5:4) | 1:1 |
output_format | string | No | Output file format (jpg, png) | png |
output_quality | number | No | Output image quality (0-100) | 80 |
steps | number | No | Number of diffusion steps (15-50) | 50 |
guidance | number | No | Prompt adherence scale (2-5) | 3 |
safety_tolerance | number | No | Content safety threshold (1=strictest, 6=most permissive) | 2 |
prompt_upsampling | boolean | No | Automatically enhance prompt for more creative output | false |
seed | number | No | Random seed for reproducibility | Random |
Code Examples
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "black-forest-labs/flux-2-max",
"promptObject": {
"prompt": "A cinematic portrait of a woman in a rainy street at night, bokeh lights, film grain, ultra detailed",
"aspect_ratio": "2:3",
"steps": 50,
"guidance": 3.5,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_GENERATOR',
model: 'black-forest-labs/flux-2-max',
promptObject: {
prompt: 'A cinematic portrait of a woman in a rainy street at night, bokeh lights, film grain, ultra detailed',
aspect_ratio: '2:3',
steps: 50,
guidance: 3.5,
output_format: 'png',
output_quality: 95,
safety_tolerance: 2
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_GENERATOR",
"model": "black-forest-labs/flux-2-max",
"promptObject": {
"prompt": "A cinematic portrait of a woman in a rainy street at night, bokeh lights, film grain, ultra detailed",
"aspect_ratio": "2:3",
"steps": 50,
"guidance": 3.5,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresDescribe the image you want to generate
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_GENERATOR",
"model": "black-forest-labs/flux-2-max",
"promptObject": {
"prompt": "A cinematic portrait of a woman in a rainy street at night, bokeh lights, film grain, ultra detailed",
"aspect_ratio": "2:3",
"steps": 50,
"guidance": 3.5,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
}
}'
Response Format
{
"aiRecord": {
"uuid": "f6a7b8c9-d0e1-2345-fabc-456789012345",
"model": "black-forest-labs/flux-2-max",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2026-03-27T10:00:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "A cinematic portrait of a woman in a rainy street at night, bokeh lights, film grain, ultra detailed",
"aspect_ratio": "2:3",
"steps": 50,
"guidance": 3.5,
"output_format": "png",
"output_quality": 95,
"safety_tolerance": 2
},
"resultObject": [
"development/images/2026_03_27_10_00_06_001_portrait.png"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2026_03_27_10_00_06_001_portrait.png?..."
}
}
Use Cases
- Professional Photography: Ultra high-fidelity photorealistic portraits and scenes
- Fine Art: Museum-quality digital artwork at maximum detail
- Film & Advertising: Premium campaign visuals requiring top production value
- E-commerce: Flawless product imagery with perfect consistency
- Brand Campaigns: Character and style consistency at the highest quality level