🚀 Tosti vector 1 (1500 steps)
本項目是一個基於特定訓練流程得到的模型,可用於生成具有特定風格的圖像,藉助相關工具和庫,能方便地實現圖像生成功能。
🚀 快速開始
你可以使用 in a dark fantasy style, grainy
來觸發圖像生成。
示例展示
✨ 主要特性
- 多風格圖像生成:能夠生成多種不同風格和主題的數字卡通插畫,涵蓋人物、動物、奇幻生物等多種元素。
- 特定風格觸發:使用特定的觸發詞
in a dark fantasy style, grainy
可以生成具有黑暗奇幻風格且帶顆粒感的圖像。
- 與
diffusers
庫兼容:可以與 diffusers
庫結合使用,方便進行圖像生成操作。
📦 安裝指南
使用該模型前,你需要安裝 diffusers
庫,可參考以下代碼示例:
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('lichorosario/flux-samhtr-remastered', weight_name='lora.safetensors')
💻 使用示例
基礎用法
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('lichorosario/flux-samhtr-remastered', weight_name='lora.safetensors')
image = pipeline('your prompt').images[0]
高級用法
若你想了解更多細節,包括 LoRAs 的加權、合併和融合等操作,請查看 diffusers 中加載 LoRAs 的文檔。
📚 詳細文檔
模型信息
屬性 |
詳情 |
模型類型 |
基於 black-forest-labs/FLUX.1-schnell 的文本到圖像生成模型 |
訓練數據 |
未提及 |
觸發詞說明
你應該使用 in a dark fantasy style, grainy
來觸發圖像生成。
示例展示
以下是一些使用該模型生成的圖像示例:
- 示例一
- 輸入文本:This is a playful digital cartoon illustration featuring a young boy and a white cat... in a dark fantasy style, grainy
- 輸出圖像:images/example_xi42rsvku.png
- 示例二
- 輸入文本:This is a digital cartoon illustration that portrays a character reminiscent of a horror or dark fantasy figure... in a dark fantasy style, grainy
- 輸出圖像:images/example_q27aeqwdr.png
(此處省略其他示例,可根據原文檔依次列出)
📄 許可證
本模型使用 flux-1-dev-non-commercial-license 許可證。