🌟 Creating Presidential Images with FLUX: A Guide 🇰🇷
text
🌟 Creating Presidential Images with FLUX: A Guide 🇰🇷
new_line
Model Link: 
text
Model Link: 
https://huggingface.co/openfree/korea-president-yoon
openfree/korea-president-yoon
model
resource
https://huggingface.co/openfree/korea-president-yoon
new_line
Service Link: 
text
Service Link: 
https://huggingface.co/spaces/openfree/korea-president-yoon
openfree/korea-president-yoon
space
resource
https://huggingface.co/spaces/openfree/korea-president-yoon
new_line
new_line
Hello! Today we'll explore how to generate presidential images using the FLUX model!
text
Hello! Today we'll explore how to generate presidential images using the FLUX model!
new_line
📱 Basic Settings
text
📱 Basic Settings
new_line
new_line
Base Model: black-forest-labs/FLUX.1-dev
text
Base Model: black-forest-labs/FLUX.1-dev
new_line
LoRA: korea-president-yoon
text
LoRA: korea-president-yoon
new_line
License: flux-1-dev-non-commercial-license
text
License: flux-1-dev-non-commercial-license
new_line
new_line
🎨 How to Use
text
🎨 How to Use
new_line
new_line
Always include 'president yoon' in your prompts
text
Always include 'president yoon' in your prompts
new_line
Various scenarios available:
text
Various scenarios available:
new_line
new_line
In a cafe setting
text
In a cafe setting
new_line
As a soldier
text
As a soldier
new_line
Participating in a marathon, etc.
text
Participating in a marathon, etc.
new_line
new_line
new_line
new_line
💻 Running the Code
text
💻 Running the Code
new_line
pythonCopyfrom diffusers import AutoPipelineForText2Image
text
pythonCopyfrom diffusers import AutoPipelineForText2Image
new_line
import torch
text
import torch
new_line
new_line
# Load FLUX model
text
# Load FLUX model
new_line
pipeline = AutoPipelineForText2Image.from_pretrained(
text
pipeline = AutoPipelineForText2Image.from_pretrained(
new_line
    'black-forest-labs/FLUX.1-dev', 
text
    'black-forest-labs/FLUX.1-dev', 
new_line
    torch_dtype=torch.bfloat16
text
    torch_dtype=torch.bfloat16
new_line
).to('cuda')
text
).to('cuda')
new_line
new_line
# Apply LoRA weights
text
# Apply LoRA weights
new_line
pipeline.load_lora_weights(
text
pipeline.load_lora_weights(
new_line
    'openfree/korea-president-yoon', 
text
    'openfree/korea-president-yoon', 
new_line
    weight_name='korea-president-yoon.safetensors'
text
    weight_name='korea-president-yoon.safetensors'
new_line
)
text
)
new_line
new_line
# Generate and save image
text
# Generate and save image
new_line
image = pipeline('A person in a bustling cafe president yoon').images[0]
text
image = pipeline('A person in a bustling cafe president yoon').images[0]
new_line
image.save("my_image.png")
text
image.save("my_image.png")
new_line
🔧 Compatible Tools
text
🔧 Compatible Tools
new_line
new_line
ComfyUI
text
ComfyUI
new_line
AUTOMATIC1111
text
AUTOMATIC1111
new_line
SD.Next
text
SD.Next
new_line
Invoke AI
text
Invoke AI
new_line
new_line
✨ Tips and Notes
text
✨ Tips and Notes
new_line
new_line
Available in Safetensors format
text
Available in Safetensors format
new_line
Download from Files & versions tab
text
Download from Files & versions tab
new_line
For non-commercial use only
text
For non-commercial use only
new_line
new_line
For more details, please refer to the Hugging Face documentation! Happy image generation! 🎉
text
For more details, please refer to the Hugging Face documentation! Happy image generation! 🎉
🌟 Creating Presidential Images with FLUX: A Guide 🇰🇷
Model Link: https://huggingface.co/openfree/korea-president-yoon
Service Link: https://huggingface.co/spaces/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! 🎉
🔥
openfree aiqcamp seawolf2357 mple33 newyorkcheese adminnews truetekken ginipick fantaxy fantos gunship999 cutechicken aiqtech kolaslab immunobiotech John6666 Hafidaso
🚀
openfree mple33 truetekken newyorkcheese adminnews ginipick fantaxy fantos gunship999 cutechicken aiqtech kolaslab VNOM999 Star512 John6666
👀
openfree aiqcamp seawolf2357 mple33 truetekken adminnews ginipick fantaxy fantos gunship999 cutechicken aiqtech kolaslab
❤️
openfree mple33 truetekken adminnews ginipick fantaxy fantos aiqtech kolaslab
🤗
openfree mple33 newyorkcheese adminnews kolaslab Star512
😎
openfree aiqcamp seawolf2357 mple33 adminnews
➕
openfree newyorkcheese adminnews mple33
👍
openfree aiqcamp seawolf2357 immunobiotech
😔
openfree aiqcamp seawolf2357 immunobiotech
🧠
openfree aiqcamp adminnews
🤝
openfree seawolf2357 immunobiotech
🤯
openfree seawolf2357 immunobiotech
6640bbd0220cfa8cbfdce080
https://cdn-avatars.huggingface.co/v1/production/uploads/6640bbd0220cfa8cbfdce080/wiAHUu5ewawyipNs0YFBR.png
John Smith
John6666
user