Skip to main content

Flux Krea Dev - Image Generator

Balanced AI image generation model by Black Forest Labs. Flux Krea Dev offers an optimal balance between quality and speed with image-to-image capabilities, guidance control, and professional-grade output suitable for development and creative workflows.

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-krea-dev
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
prompt_strengthnumberNoInfluence of prompt vs input image (0-1)0.8
num_inference_stepsnumberNoNumber of inference steps (1-50)28
guidancenumberNoGuidance scale for prompt adherence (0-50)3.5
seednumberNoRandom seed for reproducibility (0-4294967295)Random
output_qualitynumberNoOutput image quality (0-100)80
disable_safety_checkerbooleanNoDisable built-in safety filteringfalse
go_fastbooleanNoEnable fastest generation modefalse
megapixelsstringNoOutput resolution in megapixels (0.25, 1)1

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

Image-to-Image Features

FeatureDescription
Image UploadUse existing image as starting point
Prompt StrengthControl balance between prompt and input image
Style TransferApply new styles to existing images

Quality Settings

SettingRangeDescription
Inference Steps1-50More steps = higher quality but longer generation time
Guidance0-50How closely to follow the prompt (higher = more adherence)
Prompt Strength0-1For img2img: strength of prompt vs input image
Megapixels0.25, 1Output resolution (0.25 = ~512×512, 1 = ~1024×1024, 2 = ~1448×1024)

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-krea-dev",
"promptObject": {
"prompt": "Professional architectural photography, modern building design",
"aspect_ratio": "1:1",
"num_inference_steps": 28,
"guidance": 3.5,
"megapixels": "1",
"output_quality": 80
}
}'

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
Influence of prompt vs input image (0-1)
Number of inference steps (1-50)
Guidance scale for prompt adherence (0-50)
Output resolution in megapixels
Enable fastest generation mode
Disable built-in safety filtering
Output image quality (0-100)
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-krea-dev",
"promptObject": {
"prompt": "Professional architectural photography, modern building design",
"aspect_ratio": "1:1",
"prompt_strength": 0.8,
"num_inference_steps": 28,
"guidance": 3.5,
"megapixels": "1",
"output_quality": 80
}
}'

Response Format

{
"aiRecord": {
"uuid": "762c8e07-caf1-4691-aeb4-5bdb308f06dc",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"teamUser": {
"teamId": "a4e176b2-dabb-451e-9c58-62b451fa9630",
"userId": "c937fbcc-fa8f-4565-a440-c4d87f56fcb2",
"userName": "John Doe",
"userAvatar": "https://lh3.googleusercontent.com/a/ACg8ocLqgsNsHRfmWF9d-E1RvJetVsEzxNOsOg-NXWNTpMxLDPJbwELI=s96-c",
"status": "ACTIVE",
"role": "ADMIN",
"creditLimit": 100000000,
"usedCredit": 2528205,
"createdAt": "2025-10-20T04:13:40.847Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-10-24T08:20:34.497Z",
"updatedBy": "SYSTEM"
},
"model": "black-forest-labs/flux-krea-dev",
"type": "IMAGE_GENERATOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-10-24T08:31:25.704Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "Professional architectural photography, modern building design",
"guidance": 3.5,
"megapixels": "0.25",
"aspect_ratio": "1:1",
"output_quality": 80,
"prompt_strength": 0.8,
"num_inference_steps": 28
},
"resultObject": [
"development/images/2025_10_24_15_31_27_956_110757.undefined"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_10_24_15_31_27_956_110757.undefined?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAVRUVQEFIHSKAXGE7%2F20251024%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251024T083129Z&X-Amz-Expires=604800&X-Amz-Signature=63cbed41b1d2c2fbf04a969a10429504c040ca267523724df8fef9f0da45fb8e&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}

Use Cases

  • Development Workflows: Balanced quality and speed for iterative design
  • Image-to-Image Generation: Transform existing images with new prompts
  • Creative Projects: Professional quality for art, design, and marketing
  • Prototyping: Quick high-quality concepts and mockups
  • Style Transfer: Apply artistic styles to photographs

Tips for Best Results

  1. Quality vs Speed Balance:

    • Use 28 steps for optimal quality-to-speed ratio
    • 15-20 steps for faster iterations
    • 35-50 steps for maximum quality
  2. Image-to-Image Usage:

    • Use prompt strength 0.6-0.8 for balanced transformation
    • Lower values (0.3-0.5) preserve more of original image
    • Higher values (0.8-1.0) allow more dramatic changes
  3. Guidance Settings:

    • Guidance 3.5 for balanced results
    • Lower guidance (1-3) for more creative freedom
    • Higher guidance (4-7) for stricter prompt adherence

Notes

Image-to-Image Capability

This model supports image-to-image generation. Upload an image via the Asset API and use the path in the image parameter to transform existing images.