Skip to main content
Endpoint: POST https://fal.run/fal-ai/flux-lora Endpoint ID: fal-ai/flux-lora

Try it in the Playground

Run this model interactively with your own prompts.

Quick Start

Examples

Gal gadot, wearing jacket and tie
Generated image: Gal gadot, wearing jacket and tie
a trtcrd of a person on a computer, on the computer you see a meme being made with an ancient looking trollface, “the shitposter” arcana, in the style of TOK a trtcrd, tarot style
Generated image: a trtcrd of a person on a computer, on the computer you see a meme being made wi
two warriors fighting, in the middle, white background
Generated image: two warriors fighting, in the middle, white background

Input Schema

string
required
The prompt to generate an image from.
ImageSize | Enum
default:"landscape_4_3"
The size of the generated image. Default value: landscape_4_3Possible values: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
integer
default:"28"
The number of inference steps to perform. Default value: 28Range: 1 to 50
integer
The same seed and the same prompt given to the same version of the model will output the same image every time.
list<LoraWeight>
default:""
The LoRAs to use for the image generation. You can use any number of LoRAs and they will be merged together to generate the final image.
float
default:"3.5"
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Default value: 3.5Range: 0 to 35
boolean
default:"false"
If True, the media will be returned as a data URI and the output data won’t be available in the request history.
integer
default:"1"
The number of images to generate. This is always set to 1 for streaming output. Default value: 1Range: 1 to 4
boolean
default:"true"
If set to true, the safety checker will be enabled. Default value: true
OutputFormatEnum
default:"jpeg"
The format of the generated image. Default value: "jpeg"Possible values: jpeg, png
AccelerationEnum
default:"none"
Acceleration level for image generation. ‘regular’ balances speed and quality. Default value: "none"Possible values: none, regular

Output Schema

list<Image>
required
The generated image files info.
Timings
required
integer
required
Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
list<boolean>
required
Whether the generated images contain NSFW concepts.
string
required
The prompt used for generating the image.

Input Example

Output Example

FLUX.1 [dev] with LoRAs - High-Performance Text-to-Image Generation

Transform your text descriptions into stunning images with FLUX.1 [dev] with LoRA support, enabling rapid and high-quality image generation using pre-trained LoRA adaptations for personalization, specific styles, brand identities, and product-specific outputs.

Overview

FLUX.1 [dev] with LoRAs is a super fast endpoint powered by a 12 billion parameter flow transformer architecture that delivers exceptional image generation capabilities with LoRA support. Whether you’re creating personalized content, generating marketing assets with specific styles, or exploring creative ideas with custom adaptations, FLUX LoRA provides the perfect balance of speed, quality, and customization.

Key Features

Experience industry-leading capabilities designed for both personal and commercial projects:

Advanced LoRA Integration

Transform your vision with precise control over image generation through pre-trained LoRA adaptations. Apply custom styles, brand identities, and personalized elements seamlessly.

Lightning-Fast Generation

Generate high-quality images in seconds with our optimized inference pipeline, leveraging the power of the FLUX.1 [dev] model architecture.

Commercial-Ready Output

All generated images are cleared for commercial use, making FLUX LoRA ideal for professional creative workflows and business applications.

Getting Started

Getting started with FLUX LoRA is straightforward. Here’s how to begin:
  1. Install the SDK Choose your preferred language:
  1. Configure Authentication
  1. Generate Your First Image

Best Practices

Maximize your results with these proven approaches:

Prompt Engineering

Write detailed, specific prompts that describe both content and style. For example, instead of “a cat,” try “a Persian cat sitting in a sunlit window, painted in soft watercolor style.”

LoRA Configuration

  • Use appropriate LoRA scales (typically 0.5-1.5) to balance style application
  • Combine multiple LoRAs for complex styling effects
  • Test different LoRA combinations for unique results

Parameter Optimization

Start with default parameters and adjust based on your needs. The model is optimized for rapid generation while maintaining high quality output.

Technical Specifications

Model Architecture

  • 12 billion parameter FLUX.1 [dev] model
  • Flow transformer architecture
  • LoRA adaptation support
  • Support for multiple image dimensions
  • Commercial use licensing

Input Capabilities

  • Text prompts with detailed descriptions
  • Multiple LoRA model support
  • Negative prompts for content exclusion
  • Resolution control and customization

Performance

  • Super fast inference optimized for speed
  • Concurrent request handling
  • Reliable uptime and availability

API Reference

The FLUX LoRA API accepts the following core parameters:

Pricing and Usage

Your request will cost $0.035 per megapixel. Images are billed by rounding up to the nearest megapixel. Our transparent, usage-based pricing scales with your needs:
  • Pay-per-use model based on image resolution
  • No subscription fees or minimum commitments
  • Commercial usage rights included
  • Competitive rates for high-volume usage
View detailed pricing or contact sales for enterprise solutions.

Support and Resources

Take advantage of our comprehensive support system:

Documentation

Access detailed guides and reference materials at our documentation portal at https://docs.fal.ai/

Community Support

Join our active developer community for tips, tricks, and troubleshooting help.

Professional Support

Enterprise users receive dedicated support channels and priority assistance. Ready to transform your creative workflow with FLUX LoRA? Sign up for an API key and start generating stunning, personalized images today. Visit our dashboard to begin your journey with one of the most powerful text-to-image models with LoRA support available.

Limitations

  • image_size restricted to: square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9
  • num_inference_steps range: 1 to 50
  • guidance_scale range: 0 to 35
  • num_images range: 1 to 4
  • output_format restricted to: jpeg, png
  • acceleration restricted to: none, regular
  • Content moderation via safety checker
  • strength range: 0.01 to 1