🚀 PS1風格Flux
PS1風格Flux是一款文本到圖像的模型,基於Stable Diffusion,能生成具有懷舊風格的PS1遊戲截圖效果的圖像,為圖像創作帶來獨特體驗。
🚀 快速開始
本模型在提示詞中包含 ps1 game screenshot
時效果最佳。使用 ps1
觸發圖像生成,你可以按照以下代碼示例,使用 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('veryVANYA/ps1-style-flux', weight_name='ps1_style_flux_v1.safetensors')
image = pipeline('`ps1`').images[0]
更多細節,包括LoRA的加權、合併和融合,請查看 diffusers中加載LoRA的文檔。
✨ 主要特性
- 風格獨特:能夠生成具有90年代末/2000年代初PS1/N64遊戲機圖形風格的圖像,帶來懷舊的遊戲截圖效果。
- 特定觸發:使用
ps1
作為觸發詞即可生成相關風格圖像。
📦 安裝指南
本模型的權重以Safetensors格式提供,你可以在 Files & versions 標籤中下載。
💻 使用示例
基礎用法
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('veryVANYA/ps1-style-flux', weight_name='ps1_style_flux_v1.safetensors')
image = pipeline('`ps1`').images[0]
高級用法
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('veryVANYA/ps1-style-flux', weight_name='ps1_style_flux_v1.safetensors')
prompt = 'ps1 game screenshot, the flash in a wheelchair, winning the boston marathon, hot streaks behind him as his wheelchair drives across the finish line, there is a banner overhead at the finish line with text ps1 flux by veryvanya, the flashs wheelchair is sleek and high-tech, with glowing blue accents and a bold, red stripe running along the side, his iconic red and gold costume is torn and worn, but still vibrant, with a few loose threads and scorch marks, the finish line is crowded with cheering spectators, the sky above is a bright, sunny blue, with a few puffy white clouds, the flashs face is set in a determined expression, his eyes fixed intently on the finish line, his arms are muscular and toned, with a few scars and bruises visible, the wheelchairs wheels are blurred, conveying a sense of speed and motion, the hot streaks behind the flash are long and curved, like a comets tail, and are colored in shades of orange, yellow, and red, the banner overhead is made of a shiny, metallic material, and the text ps1 flux by veryvanya is written in bold, graffiti-style letters'
image = pipeline(prompt).images[0]
📚 詳細文檔
模型描述
本模型在提示詞中包含 ps1 game screenshot
時效果最佳,具有90年代末/2000年代初PS1/N64遊戲機圖形風格。模型訓練了5000步,使用了15張由GPT4O標註和調整的PS1/N64遊戲截圖,訓練工具可參考 https://github.com/ostris/ai-toolkit/tree/main。
觸發詞
使用 ps1
來觸發圖像生成。
📄 許可證
本模型使用 bespoke-lora-trained-license 許可證。
信息表格
屬性 |
詳情 |
模型類型 |
文本到圖像模型,基於Stable Diffusion的LoRA模型 |
訓練數據 |
15張由GPT4O標註和調整的PS1/N64遊戲截圖 |
基礎模型 |
black-forest-labs/FLUX.1-dev |