🚀 test-bag4
这是一个使用 AI Toolkit by Ostris 训练的模型,可用于文本到图像的生成。
🚀 快速开始
触发词
你应该使用 handbag
来触发图像生成。
下载模型并在不同平台使用
此模型的权重以 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('seawolf2357/test-bag4', weight_name='test-bag4.safetensors')
image = pipeline('a woman wearing a white shirt and black leggings, standing on a set of stairs with a black Chanel bag in her hand. The background of the image is a building. [trigger]').images[0]
image.save("my_image.png")
更多详细信息,包括 LoRAs 的加权、合并和融合,请查看 diffusers 中加载 LoRAs 的文档。
✨ 主要特性
- 文本到图像生成:通过输入文本描述,生成相应的图像。
- 多平台支持:可以在 ComfyUI、AUTOMATIC1111、SD.Next、Invoke AI 等平台使用。
- LoRA 支持:使用 LoRA 技术,可灵活加载和调整模型。
📦 安装指南
模型权重以 Safetensors 格式提供,你可以在 Files & versions 标签页 下载。
💻 使用示例
基础用法
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('seawolf2357/test-bag4', weight_name='test-bag4.safetensors')
image = pipeline('a woman wearing a white shirt and black leggings, standing on a set of stairs with a black Chanel bag in her hand. The background of the image is a building. [trigger]').images[0]
image.save("my_image.png")
📚 详细文档
更多详细信息,包括 LoRAs 的加权、合并和融合,请查看 diffusers 中加载 LoRAs 的文档。
📄 许可证
本模型使用 flux-1-dev-non-commercial-license
许可证,详情请见 许可证链接。
📋 模型信息
属性 |
详情 |
基础模型 |
black-forest-labs/FLUX.1-dev |
实例提示词 |
handbag |
许可证 |
other |
许可证名称 |
flux-1-dev-non-commercial-license |
许可证链接 |
https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md |