Post
438
๐ 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! ๐
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! ๐