Skip to main content

Flux Schnell LoRA - Image Generator

Speed-optimized AI image generation model with LoRA support by Black Forest Labs. Flux Schnell LoRA combines rapid generation (1-4 steps) with style customization through LoRA models, perfect for quick iterations and style exploration.

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-schnell-lora
promptObjectobjectYesConfiguration object containing all generation parameters

Prompt Object Parameters

ParameterTypeRequiredDescriptionDefault
promptstringYesText description of the image to generate-
aspect_ratiostringNoImage aspect ratio (1:1, 16:9, 9:16, 3:2, 2:3, 4:5, 5:4, custom)1:1
num_inference_stepsnumberNoNumber of inference steps (1-4)4
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 modetrue
lora_weightsstringNoLoRA model identifier for style customization-
lora_scalenumberNoLoRA influence strength (0-3)0.8
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

LoRA Models

ModelStyleExample
fofr/flux-black-lightBlack light/neon effectsGlowing, fluorescent aesthetics
Popular LoRAsVarious artistic stylesCommunity-created style models

Speed Settings

SettingRangeDescription
Inference Steps1-4Fewer steps = faster generation (optimized for speed)
Go Fasttrue/falseEnable maximum speed mode
LoRA Scale0-3LoRA influence strength (higher = stronger effect)
Megapixels0.25, 1Output resolution (0.25 = ~512×512, 1 = ~1024×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-schnell-lora",
"promptObject": {
"prompt": "Futuristic cityscape at night, neon lights, cyberpunk style",
"aspect_ratio": "1:1",
"num_inference_steps": 4,
"go_fast": true,
"lora_weights": "fofr/flux-black-light",
"lora_scale": 0.8,
"megapixels": "1"
}
}'

Interactive Playground

API Playground

https://api.1min.ai/api/features
Describe the image you want to generate
Choose aspect ratio for your image
Number of inference steps (1-4, optimized for speed)
LoRA model identifier for style customization
LoRA influence strength (0-3)
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-schnell-lora",
"promptObject": {
"prompt": "Futuristic cityscape at night, neon lights, cyberpunk style",
"aspect_ratio": "1:1",
"num_inference_steps": 4,
"go_fast": true,
"lora_weights": "fofr/flux-black-light",
"lora_scale": 0.8,
"megapixels": "1"
}
}'

Response Format

{
"aiRecord": {
"uuid": "106d99bd-39d7-4d8a-bb76-c5272ac83777",
"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": 2390205,
"createdAt": "2025-10-20T04:13:40.847Z",
"createdBy": "SYSTEM",
"updatedAt": "2025-10-24T08:06:46.336Z",
"updatedBy": "SYSTEM"
},
"model": "black-forest-labs/flux-schnell-lora",
"type": "IMAGE_GENERATOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2025-10-24T08:09:21.920Z",
"aiRecordDetail": {
"promptObject": {
"prompt": "Futuristic cityscape at night, neon lights, cyberpunk style",
"go_fast": true,
"lora_scale": 0.8,
"megapixels": "1",
"aspect_ratio": "1:1",
"lora_weights": "fofr/flux-black-light",
"num_inference_steps": 4
},
"resultObject": [
"development/images/2025_10_24_15_09_24_339_371255.undefined"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset.1min.ai/development/images/2025_10_24_15_09_24_339_371255.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=20251024T080925Z&X-Amz-Expires=604800&X-Amz-Signature=68525512974b578d8ae8d55b205946a386d4b6d2d82dcb531511014ceb488121&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}

Use Cases

  • Rapid Prototyping: Quick concept visualization and idea iteration
  • Style Exploration: Testing different artistic styles with LoRA models
  • Social Media Content: Fast generation for posts and stories
  • Creative Experimentation: Exploring unique aesthetics and effects
  • Game Development: Quick asset concept generation

Tips for Best Results

  1. Speed Optimization:

    • Use 4 steps for best quality-to-speed ratio
    • Enable "Go Fast" for maximum speed
    • 1-2 steps for ultra-fast drafts
  2. LoRA Usage:

    • Start with scale 0.8 for balanced effects
    • Scale 1.5+ for stronger style influence
    • Combine popular LoRA models for unique looks
  3. Quality vs Speed:

    • 1 MP for final outputs
    • 0.25 MP for rapid iterations
    • Higher quality settings increase generation time

Notes

Personal Use License

Flux Schnell LoRA is available under a personal use license. Commercial use requires appropriate licensing from Black Forest Labs.

Speed vs Quality Trade-off

This model is optimized for speed (1-4 steps). For higher quality results, consider Flux Pro or Flux Dev models.