🚀 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。
⚠️ 重要提示
该模型仍处于训练阶段,这不是最终版本,可能包含瑕疵,并且在某些情况下表现不佳。
💡 使用建议
可以根据不同的需求调整触发提示词,以获得不同风格和内容的皮克斯风格图像。同时,可根据实际情况调整图像处理参数,以优化图像生成效果。