🚀 梵高风格图像生成模型
本项目开发了一个基于Flux的学习模型,该模型在精心挑选的全球知名艺术家高分辨率杰作数据集上进行训练。通过LoRA微调技术,利用了包括芝加哥艺术学院等知名机构发布的优质开放图像资源。最终模型能够出色地捕捉不同历史艺术运动中的细微艺术技巧和风格元素。
🚀 快速开始
触发词
你需要使用 gogh
来触发图像生成。
下载模型并在不同工具中使用
此模型的权重以Safetensors格式提供。你可以在 Files & versions 标签页 下载。可用于 ComfyUI、AUTOMATIC1111、SD.Next、Invoke AI 等工具。
使用 diffusers
库
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")
✨ 主要特性
- 基于Flux的学习模型,在优质数据集上训练。
- 通过LoRA微调,能捕捉不同艺术运动的风格元素。
- 支持多种图像生成工具和
diffusers
库。
📚 详细文档
社区交流
加入社区:https://discord.gg/openfreeai
更多细节
关于LoRA的权重、合并和融合等更多细节,请查看 diffusers 中加载 LoRA 的文档。
📄 许可证
本项目使用 flux-1-dev-non-commercial-license
许可证,详情请见 许可证链接。
🔍 示例展示
输入输出示例
输入文本 |
输出图片链接 |
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] |
samples/1746161368958__000001000_0.jpg |
a painting of a bedroom with a bed, two chairs, a table with various objects on it, a window, a door, and photo frames on the wall. The painting is done in a style reminiscent of Vincent van Gogh's bedroom, with the bed and chairs in the foreground and the window and door in the background. [trigger] |
samples/1746161398920__000001000_1.jpg |
Vincent van Gogh's painting of two boats on the Seine at Argenteuil, with a person sitting in one of the boats, surrounded by trees and a bridge in the background, and a sky above. [trigger] |
samples/1746161428908__000001000_2.jpg |
A swirling night sky filled with luminous stars and a crescent moon, painted in bold, expressive brushstrokes of deep blues, vibrant yellows, and flowing whites. Below the dramatic, turbulent heavens lies a peaceful village with a prominent church spire reaching toward the sky. Cypress trees rise dramatically in the foreground, creating a dark, flowing silhouette against the cosmic dance above. The entire scene captures both serenity and cosmic energy through thick, textured paint and the characteristic swirling patterns that define Vincent van Gogh's unique post-impressionist style. The stars pulse with their own light, each surrounded by radiating circles of energy, while the landscape appears to be in motion, as if the boundary between earth and sky is dissolving in waves of celestial movement. gogh |
samples/b784ca17-8381-455c-a290-fffb233df8fb.jpg |
相关项目链接