🚀 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 |
📄 許可證
請遵守 此處 描述的許可條款。