Skip to main content

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

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

Parameters

ParameterTypeRequiredDescription
typestringYesFeature type identifier. Must be IMAGE_GENERATOR
modelstringYesAI model identifier. Must be black-forest-labs/flux-1.1-pro
promptObjectobjectYesConfiguration object containing all generation parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
promptstringYesText description of the image to generate-
image_promptstringNoPath to input image from Asset API for image-to-image generation-
aspect_ratiostringNoImage aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:5, 5:4, custom)1:1
widthnumberNoCustom image width in pixels (when aspect_ratio is "custom")1024
heightnumberNoCustom image height in pixels (when aspect_ratio is "custom")1024
output_qualitynumberNoOutput image quality (0-100)80
safety_tolerancenumberNoSafety filtering tolerance level (0-5)2
prompt_upsamplingbooleanNoEnable automatic prompt enhancementfalse
seednumberNoRandom seed for reproducibility (0-4294967295)Random

Supported Aspect Ratios

RatioUse Case
1:1Square images, social media posts
16:9Widescreen, video thumbnails
9:16Vertical video, mobile screens
3:2Standard photography
2:3Portrait photography
4:5Instagram posts
5:4Landscape photography
customUse specific width/height values

Custom Resolution

When using aspect_ratio: "custom", specify exact dimensions:

ParameterRangeDescription
Width256-2048Image width in pixels
Height256-2048Image height in pixels
Max Resolution2MPTotal pixels limited to ~2 megapixels

Safety Controls

LevelToleranceDescription
0StrictestMaximum content filtering
1HighStrong safety measures
2MediumBalanced filtering (default)
3ModerateRelaxed filtering
4LowMinimal filtering
5MinimalLeast restrictive

Advanced Features

FeatureDescription
Custom ResolutionPrecise width/height control up to 2MP
Safety ToleranceGranular content filtering control
Prompt UpsamplingAI-enhanced prompt optimization
Image-to-ImageTransform existing images with text guidance
Professional QualityState-of-the-art generation quality

Code Examples

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
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Describe 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

  1. Prompt Optimization:

    • Enable prompt upsampling for enhanced AI prompt interpretation
    • Use detailed, descriptive language for maximum quality
    • Include technical photography terms (aperture, lighting, composition)
  2. 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
  3. Safety Tolerance:

    • Start with default level 2 for balanced filtering
    • Adjust based on content requirements and use case
    • Higher tolerance allows more creative freedom
  4. 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.