Painting-ART-AI
Collection
5 items β’ Updated β’ 28
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("openfree/van-gogh")
prompt = "a self-portrait of Vincent van Gogh, painted by the renowned artist himself. The painting is composed of a variety of colors, including blues, greens, yellows, and reds, creating a vibrant and lively atmosphere. The man in the painting has a serious expression on his face, and his eyes are focused intently on something in the distance. His hair is dark and his beard is full and well-groomed. He is wearing a white shirt and a dark coat, and the background is a mix of blues and greens. [trigger]"
image = pipe(prompt).images[0]I developed a flux-based learning model trained on a curated collection of high-resolution masterpieces from renowned global artists. This LoRA fine-tuning process leveraged the exceptional quality of open-access imagery released by prestigious institutions including the Art Institute of Chicago. The resulting model demonstrates remarkable capability in capturing the nuanced artistic techniques and stylistic elements across diverse historical art movements.




You should use gogh to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('openfree/van-gogh', weight_name='van-gogh.safetensors')
image = pipeline('a self-portrait of Vincent van Gogh, painted by the renowned artist himself. The painting is composed of a variety of colors, including blues, greens, yellows, and reds, creating a vibrant and lively atmosphere. The man in the painting has a serious expression on his face, and his eyes are focused intently on something in the distance. His hair is dark and his beard is full and well-groomed. He is wearing a white shirt and a dark coat, and the background is a mix of blues and greens. [trigger]').images[0]
image.save("my_image.png")
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
Base model
black-forest-labs/FLUX.1-dev