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
| 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-krea-dev |
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 |
prompt_strength | number | No | Influence of prompt vs input image (0-1) | 0.8 |
num_inference_steps | number | No | Number of inference steps (1-50) | 28 |
guidance | number | No | Guidance scale for prompt adherence (0-50) | 3.5 |
seed | number | No | Random seed for reproducibility (0-4294967295) | Random |
output_quality | number | No | Output image quality (0-100) | 80 |
disable_safety_checker | boolean | No | Disable built-in safety filtering | false |
go_fast | boolean | No | Enable fastest generation mode | false |
megapixels | string | No | Output resolution in megapixels (0.25, 1) | 1 |
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 |
Image-to-Image Features
| Feature | Description |
|---|---|
| Image Upload | Use existing image as starting point |
| Prompt Strength | Control balance between prompt and input image |
| Style Transfer | Apply new styles to existing images |
Quality Settings
| Setting | Range | Description |
|---|---|---|
| Inference Steps | 1-50 | More steps = higher quality but longer generation time |
| Guidance | 0-50 | How closely to follow the prompt (higher = more adherence) |
| Prompt Strength | 0-1 | For img2img: strength of prompt vs input image |
| Megapixels | 0.25, 1 | Output resolution (0.25 = ~512×512, 1 = ~1024×1024, 2 = ~1448×1024) |
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-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
}
}'
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-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
}
})
})
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-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
}
}
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
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
-
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
-
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
-
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.