🚀 T-Shirt Vector Style - FLUX
T-Shirt Vector Style - FLUX 是一個用於文本到圖像生成的 LoRA 模型,它能夠生成具有特定矢量風格的圖像,尤其適合用於 T 恤設計,能生成純色背景的圖像,便於去除背景並打印到 T 恤或其他物品上。
🚀 快速開始
下載模型
本模型的權重以 Safetensors 格式提供。你可以在 Files & versions 標籤頁 下載。
使用 diffusers 庫
以下是使用 🧨 diffusers
庫的示例代碼:
from diffusers import AutoPipelineForText2Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to(device)
pipeline.load_lora_weights('SouthbayJay/t-shirt-vector-style-flux', weight_name='vector_shirt_flux_v1.safetensors')
image = pipeline('`5h1rt`').images[0]
更多細節,包括 LoRA 的加權、合併和融合,請查看 diffusers 中加載 LoRA 的文檔。
✨ 主要特性
- 特定風格觸發:使用觸發詞
5h1rt
可以觸發特定的圖像生成風格。
- 適合 T 恤設計:旨在生成具有純色背景的矢量圖像,方便去除背景並用於 T 恤或其他物品的印刷。
- 易於使用:可以與
diffusers
庫輕鬆集成。
💻 使用示例
基礎用法
在提示詞的末尾使用 "in the style of 5h1rt"
來觸發該風格的圖像生成。例如:
tshirt design, a beautiful woman standing next to a chevy impala hot rod, Los Angeles skyline in the background, in the style of 5h1rt
高級用法
你可以根據自己的需求調整提示詞的內容,以生成不同的圖像。例如:
circular tshirt design, illustration of a woman with white hair and backpack standing in front of a futuristic cyberpunk city, teal and orange color scheme, pop art style, comic drawing, intricate abstract details, 2d game art for gta cover 5h1rt
📚 詳細文檔
觸發詞
你應該使用 5h1rt
來觸發圖像生成。建議在提示詞的末尾使用 "in the style of 5h1rt"
,例如:
tshirt design, (你的提示內容), in the style of 5h1rt
模型描述
此 LoRA 的觸發詞是 5h1rt
,最好在提示詞的末尾使用 "in the style of 5h1rt"
。該 LoRA 旨在創建具有純色背景的矢量圖像,方便去除背景並打印到 T 恤或其他物品上。目前該模型仍處於實驗階段,作者正在尋找改進數據集的方法。
作者 95% 的圖像生成使用 SwarmUI,並鼓勵你嘗試。以下是 官方 GitHub 倉庫 的鏈接,你還可以查看 Kleebz Tech AI 的安裝視頻 來開始使用。
📄 許可證
本模型使用 bespoke-lora-trained-license 許可證。