A newer version of the Gradio SDK is available:
5.45.0
title: FLUX Kontext Style Transfer
emoji: π¨
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
hardware: zero-gpu
π¨ FLUX Kontext Style Transfer
Transform your images with 20+ artistic styles using the powerful FLUX.1 Kontext model and style-specific LoRA adapters!
This Hugging Face Space provides an easy-to-use interface for applying various artistic styles to your images using the Owen777/Kontext-Style-Loras model.
π Features
- 20+ Artistic Styles: From Studio Ghibli to Van Gogh, Pixel Art to 3D Chibi
- High-Quality Results: Powered by FLUX.1 Kontext model
- Easy-to-Use Interface: Simple upload and style selection
- Customizable: Adjust inference steps, guidance scale, and LoRA strength
- GPU-Accelerated: Runs on Hugging Face ZeroGPU for fast inference
π Available Styles
Style | Description |
---|---|
3D_Chibi | Cute 3D chibi character style |
American_Cartoon | Classic American cartoon aesthetics |
Chinese_Ink | Traditional Chinese ink painting |
Clay_Toy | Clay toy/sculpture appearance |
Fabric | Textile and fabric textures |
Ghibli | Studio Ghibli anime style |
Irasutoya | Japanese illustration style |
Jojo | JoJo's Bizarre Adventure anime style |
Oil_Painting | Classic oil painting technique |
Pixel | Retro pixel art style |
Snoopy | Peanuts comic strip style |
Poly | Low-poly 3D art style |
LEGO | LEGO brick construction style |
Origami | Paper folding art style |
Pop_Art | Pop art movement style |
Van_Gogh | Van Gogh's distinctive painting style |
Paper_Cutting | Paper cutting art technique |
Line | Clean line art style |
Vector | Vector graphics style |
Picasso | Picasso's cubist style |
Macaron | Soft pastel macaron colors |
Rick_Morty | Rick and Morty cartoon style |
π How to Use
- Upload an Image: Click on the image upload area and select your image
- Choose a Style: Select from 20+ available artistic styles
- Customize (Optional):
- Add a custom prompt for specific styling
- Adjust advanced settings like inference steps and LoRA strength
- Generate: Click the "Generate Styled Image" button
- Download: Save your stylized image
βοΈ Advanced Settings
- Inference Steps: Higher values (20-50) generally produce better quality but take longer
- Guidance Scale: Controls how closely the model follows the prompt (7.5 is recommended)
- LoRA Strength: Adjusts the intensity of the style application (0.1-2.0)
- Dimensions: Control output image size (512-1536 pixels)
- Seed: Set a specific seed for reproducible results
π― Tips for Best Results
- Use high-quality input images (1024x1024 recommended)
- Experiment with different LoRA strengths for varying style intensity
- Try custom prompts to guide the style transformation
- For detailed styles like "Line" or "Vector", consider using higher inference steps
π§ Technical Details
- Base Model: black-forest-labs/FLUX.1-Kontext-dev
- LoRA Adapters: Owen777/Kontext-Style-Loras
- Framework: Diffusers, PyTorch
- Interface: Gradio
- Hardware: Hugging Face ZeroGPU
π Model Information
The LoRA adapters are trained on high-quality paired data generated by GPT-4o and sourced from Omniconsistency. The training methodology ensures consistent and high-quality style transfers across various artistic domains.
Training Code: Available at Owen718/Kontext-Lora-Trainer
π Contributors
- Tian YE & Song FEI - HKUST Guangzhou
π License
This project is licensed under the Apache 2.0 License. See the original model repository for detailed license information.
π€ Contributing
Feel free to open issues or contact the original authors for feedback or collaboration! More style LoRAs will be released soon.
π Links
Transform your creativity with AI-powered artistic style transfer! β¨