🚀 Canopus-Pixar-Art
Canopus-Pixar-Art模型專注於生成皮克斯風格的圖像,為用戶提供高質量的圖像生成能力。當前模型仍處於訓練階段,後續會不斷優化。
🚀 快速開始
模型設置
pipe = StableDiffusionXLPipeline.from_pretrained(
"-------------xxxxxxxxx----------",
torch_dtype=torch.float16,
use_safetensors=True,
)
(or)
-----------------------------------------------------------
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Pixar-Art", weight_name="Canopus-Pixar-Art.safetensors", adapter_name="pixar")
pipe.set_adapters("pixar")
pipe.to("cuda")
觸發提示詞
以下是一些觸發圖像生成的提示詞示例:
3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750
cartoon 3D sunny bright Pixar-style image : super hero : full costume : cinematic --ar 68:128 --stylize 750 --v 5.2
A young man with light brown wavy hair and light brown eyes sitting in an armchair and looking directly at the camera, pixar style, disney pixar, office background, ultra detailed, 1 man
觸發詞
使用 Pixar
來觸發圖像生成,以下場景適合在提示詞或字符串中使用觸發詞:Pixar-style, Pixar-3D, Pixar-HD, Pixar-4K, Pixar。
✨ 主要特性
- 高質量圖像生成:The-Pixar 提供皮克斯風格的圖像生成能力,重點在於輸出高質量的圖像。
- 便捷使用:通過簡單的代碼設置和觸發提示詞,即可快速生成所需圖像。
📦 安裝指南
文檔中未明確給出具體的安裝步驟,可參考上述代碼示例進行模型的加載和設置。
💻 使用示例
基礎用法
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
pipe.load_lora_weights("prithivMLmods/Canopus-Pixar-Art", weight_name="Canopus-Pixar-Art.safetensors", adapter_name="pixar")
pipe.set_adapters("pixar")
pipe.to("cuda")
prompt = "3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750"
image = pipe(prompt).images[0]
image.show()
📚 詳細文檔
模型信息
屬性 |
詳情 |
模型名稱 |
Canopus-Pixar-Art |
基礎模型 |
stabilityai/stable-diffusion-xl-base-1.0 |
空間名稱 |
The-Pixar |
託管平臺 |
⚡Hugging Face Spaces⚡ |
默認主題 |
默認亮色主題,可更改 |
描述 |
The-Pixar 提供皮克斯風格的圖像生成能力,注重高質量輸出。 |
圖像處理參數
參數 |
值 |
參數 |
值 |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Multires Noise Iterations |
10 |
Network Alpha |
32 |
Repeat |
28 |
Epoch |
12 |
Save Every N Epochs |
1 |
觸發參數
參數 |
值 |
Prompt |
3d image, cute girl, in the style of Pixar --ar 1:2 --stylize 750 |
Sampler |
euler |
🔧 技術細節
模型訓練過程中使用了一系列的圖像處理參數,如 LR Scheduler、Optimizer 等,通過不斷調整這些參數,以達到更好的圖像生成效果。同時,模型基於 StableDiffusionXLPipeline 進行構建,並加載了 Canopus-Pixar-Art 的 LoRA 權重。
📄 許可證
本模型使用的許可證為 apache-2.0。
⚠️ 重要提示
該模型仍處於訓練階段,這不是最終版本,可能包含瑕疵,並且在某些情況下表現不佳。
💡 使用建議
可以根據不同的需求調整觸發提示詞,以獲得不同風格和內容的皮克斯風格圖像。同時,可根據實際情況調整圖像處理參數,以優化圖像生成效果。