🚀 FLUX-SyntheticAnime LoRA模型
本项目是一个基于LoRA技术的文本到图像生成模型,它在特定风格的AI生成图像美学上进行训练,能够生成具有独特风格的图像,如80年代动漫截图风格、VHS画质的图像。
🚀 快速开始
你可以使用以下代码快速开始使用该模型进行图像生成:
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('dataautogpt3/FLUX-SyntheticAnime', weight_name='Flux_1_Dev_LoRA_syntheticanime.safetensors')
image = pipeline('1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head').images[0]
更多详细信息,包括LoRA的加权、合并和融合,请查看 diffusers中加载LoRA的文档。
✨ 主要特性
- 独特风格:基于r/SyntheticAnime的独特风格和提示进行训练,能够生成具有80年代动漫截图风格、VHS画质的AI图像。
- 高效训练:使用超过300张图像进行了15个epoch的训练,确保模型的效果。
- 低秩适配:采用32 rank的LoRA技术,提高模型的训练效率和泛化能力。
💻 使用示例
基础用法
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('dataautogpt3/FLUX-SyntheticAnime', weight_name='Flux_1_Dev_LoRA_syntheticanime.safetensors')
image = pipeline('1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head').images[0]
高级用法
目前文档未提供高级用法示例,若有更多需求,请参考 diffusers中加载LoRA的文档 进行探索。
📚 详细文档
模型描述
该LoRA模型在r/SyntheticAnime的独特风格和提示AI生成图像美学上进行训练。使用了超过300张图像对这个LoRA进行了15个epoch的训练。采用32 rank的LoRA技术。
触发词
你应该使用 1980s anime screengrab, VHS quality,
或 syntheticanime
来触发图像生成。
示例展示
输入提示 |
输出图像 |
1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head |
angel.png |
Still frame from a 1980s vintage manga, cell shaded, a wall made of eyes, VHS quality |
eyes.png |
Still frame from a 1980s vintage manga, cell shaded, where a girl is holding a lantern to a wall made out of faces, VHS quality |
wall.png |
Still frame from a 1980s vintage manga where an anime couple dip their toes in a galaxy lake, nature, VHS quality |
galaxy.png |
📄 许可证
请遵守 此处 描述的许可条款。