🚀 梵高風格圖像生成模型
本項目開發了一個基於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 |
相關項目鏈接