Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
openfreeΒ 
posted an update about 13 hours ago
Post
611
🌟 Creating Presidential Images with FLUX: A Guide πŸ‡°πŸ‡·
Model Link: openfree/korea-president-yoon
Service Link: openfree/korea-president-yoon

Hello! Today we'll explore how to generate presidential images using the FLUX model!
πŸ“± Basic Settings

Base Model: black-forest-labs/FLUX.1-dev
LoRA: korea-president-yoon
License: flux-1-dev-non-commercial-license

🎨 How to Use

Always include 'president yoon' in your prompts
Various scenarios available:

In a cafe setting
As a soldier
Participating in a marathon, etc.



πŸ’» Running the Code
pythonCopyfrom diffusers import AutoPipelineForText2Image
import torch

# Load FLUX model
pipeline = AutoPipelineForText2Image.from_pretrained(
'black-forest-labs/FLUX.1-dev',
torch_dtype=torch.bfloat16
).to('cuda')

# Apply LoRA weights
pipeline.load_lora_weights(
'openfree/korea-president-yoon',
weight_name='korea-president-yoon.safetensors'
)

# Generate and save image
image = pipeline('A person in a bustling cafe president yoon').images[0]
image.save("my_image.png")
πŸ”§ Compatible Tools

ComfyUI
AUTOMATIC1111
SD.Next
Invoke AI

✨ Tips and Notes

Available in Safetensors format
Download from Files & versions tab
For non-commercial use only

For more details, please refer to the Hugging Face documentation! Happy image generation! πŸŽ‰

If there was a flux dev version, that would be even better...

In this post