Instructions to use hanzogak/comradeshipXL-v14VT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hanzogak/comradeshipXL-v14VT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hanzogak/comradeshipXL-v14VT", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("hanzogak/comradeshipXL-v14VT", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]SDXL Hyper version of Comradeship XL v14V.
Available in 6~15 steps / CFG 1.0 settings. Using the recommended settings, you can create images quickly.
import torch
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
pipe = StableDiffusionXLPipeline.from_pretrained(
"hanzogak/comradeshipXL-v14VT",
use_safetensors=True,
add_watermarker=False
)
scheduler_args = {"prediction_type": "v_prediction", "rescale_betas_zero_snr": True}
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing", **scheduler_args)
pipe.to('cuda')
prompt = "1girl, solo, yashio rui, bang dream!, tsukinomori school uniform, very awa, masterpiece, best quality, year 2024, newest, highres, absurdes,"
negative_prompt = ""
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=832,
height=1216,
guidance_scale=1,
num_inference_steps=8
).images[0]
image.save("./yashio_rui.png")
- Downloads last month
- 21