Flux Pro 1.1 - Image Generator
Premium AI image generation model by Black Forest Labs. Flux Pro 1.1 delivers state-of-the-art image quality with advanced controls, custom resolution support, safety tolerance settings, and professional-grade output for demanding creative applications.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_GENERATOR |
model | string | Yes | AI model identifier. Must be black-forest-labs/flux-1.1-pro |
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 | - |
image_prompt | string | No | Path to input image from Asset API for image-to-image generation | - |
aspect_ratio | string | No | Image aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:5, 5:4, custom) | 1:1 |
width | number | No | Custom image width in pixels (when aspect_ratio is "custom") | 1024 |
height | number | No | Custom image height in pixels (when aspect_ratio is "custom") | 1024 |
output_quality | number | No | Output image quality (0-100) | 80 |
safety_tolerance | number | No | Safety filtering tolerance level (0-5) | 2 |
prompt_upsampling | boolean | No | Enable automatic prompt enhancement | false |
seed | number | No | Random seed for reproducibility (0-4294967295) | Random |
Supported Aspect Ratios
| Ratio | Use Case |
|---|---|
| 1:1 | Square images, social media posts |
| 16:9 | Widescreen, video thumbnails |
| 9:16 | Vertical video, mobile screens |
| 3:2 | Standard photography |
| 2:3 | Portrait photography |
| 4:5 | Instagram posts |
| 5:4 | Landscape photography |
| custom | Use specific width/height values |
Custom Resolution
When using aspect_ratio: "custom", specify exact dimensions:
| Parameter | Range | Description |
|---|---|---|
| Width | 256-2048 | Image width in pixels |
| Height | 256-2048 | Image height in pixels |
| Max Resolution | 2MP | Total pixels limited to ~2 megapixels |
Safety Controls
| Level | Tolerance | Description |
|---|---|---|
| 0 | Strictest | Maximum content filtering |
| 1 | High | Strong safety measures |
| 2 | Medium | Balanced filtering (default) |
| 3 | Moderate | Relaxed filtering |
| 4 | Low | Minimal filtering |
| 5 | Minimal | Least restrictive |
Advanced Features
| Feature | Description |
|---|---|
| Custom Resolution | Precise width/height control up to 2MP |
| Safety Tolerance | Granular content filtering control |
| Prompt Upsampling | AI-enhanced prompt optimization |
| Image-to-Image | Transform existing images with text guidance |
| Professional Quality | State-of-the-art generation quality |
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-1.1-pro",
"promptObject": {
"prompt": "A majestic mountain landscape at golden hour with dramatic clouds",
"aspect_ratio": "16:9",
"output_quality": 90,
"safety_tolerance": 2,
"prompt_upsampling": true
}
}'
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-1.1-pro',
promptObject: {
prompt: 'A majestic mountain landscape at golden hour with dramatic clouds',
aspect_ratio: '16:9',
output_quality: 90,
safety_tolerance: 2,
prompt_upsampling: true
}
})
})
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-1.1-pro",
"promptObject": {
"prompt": "A majestic mountain landscape at golden hour with dramatic clouds",
"aspect_ratio": "16:9",
"output_quality": 90,
"safety_tolerance": 2,
"prompt_upsampling": True
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
API Playground
https://api.1min.ai/api/featuresDescribe the image you want to generate
Path to input image from Asset API for image-to-image generation
Choose aspect ratio for your image
Custom image width in pixels (when aspect_ratio is custom)
Custom image height in pixels (when aspect_ratio is custom)
Output image quality (0-100)
Safety filtering tolerance level (0-5, higher = less restrictive)
Enable automatic prompt enhancement
Random seed for reproducibility (0-4294967295)
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-1.1-pro",
"promptObject": {
"prompt": "A majestic mountain landscape at golden hour with dramatic clouds",
"aspect_ratio": "16:9",
"output_quality": 90,
"safety_tolerance": 2,
"prompt_upsampling": true
}
}'
Response Format
{
"aiRecord": {
"uuid": "e4f5g6h7-i8j9-0123-4567-890123defghi",
"userId": "user-12345",
"teamId": "team-67890",
"model": "black-forest-labs/flux-1.1-pro",
"type": "IMAGE_GENERATOR",
"status": "SUCCESS",
"createdAt": "2025-01-15T10:50:00.000Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "A majestic mountain landscape at golden hour with dramatic clouds",
"aspect_ratio": "16:9",
"output_quality": 90,
"safety_tolerance": 2,
"prompt_upsampling": true
},
"resultObject": [
"development/images/2025_01_15_10_50_45_001_mountain_landscape.webp"
]
},
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_01_15_10_50_45_001_mountain_landscape.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
}
}
Use Cases
- Professional Photography: High-end commercial imagery and artistic photography
- Marketing & Advertising: Premium visual content for campaigns and branding
- Fine Art Creation: Museum-quality digital art and creative expression
- Product Visualization: Detailed product renders and lifestyle imagery
- Custom Resolution Work: Precise sizing for specific design requirements
Tips for Best Results
-
Prompt Optimization:
- Enable prompt upsampling for enhanced AI prompt interpretation
- Use detailed, descriptive language for maximum quality
- Include technical photography terms (aperture, lighting, composition)
-
Custom Resolution:
- Use custom aspect ratio for precise sizing requirements
- Stay within 2MP limit (e.g., 1600×1200, 2048×1024)
- Consider final use case when choosing dimensions
-
Safety Tolerance:
- Start with default level 2 for balanced filtering
- Adjust based on content requirements and use case
- Higher tolerance allows more creative freedom
-
Quality Settings:
- Use 90-100 output quality for professional work
- Lower quality (70-80) for web previews and iterations
- Balance file size vs quality based on distribution needs
Notes
Premium Quality
Flux Pro 1.1 represents the pinnacle of AI image generation, offering unmatched quality and control for professional applications. The combination of custom resolution, safety tolerance, and prompt upsampling provides maximum creative flexibility.