Instructions to use Layasaran/pixelora-1.0-xhigh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Layasaran/pixelora-1.0-xhigh with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Layasaran/pixelora-1.0-xhigh", torch_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
π Pixelora-1.0-xhigh
Pixelora-1.0-xhigh is a high-performance, distilled latent diffusion engine engineered for ultra-photorealistic image synthesis. By leveraging advanced distillation techniques, this model achieves cinematic-quality results in just 4 to 8 sampling steps, making it ideal for real-time production environments and high-throughput workflows.
π Key Features
- Zero-Shot Photorealism: Specialized in rendering hyper-detailed skin pores, fabric textures, and complex lighting without "over-sharpening."
- Lightning Fast: Optimized for inference on mid-tier hardware (like 2xT4 or RTX 30-series) with a ~90% reduction in generation time compared to standard models.
- Advanced Prompt Adherence: High sensitivity to technical photography terms (e.g., focal length, aperture, film stock).
- Balanced Latents: Minimized "AI artifacts" and improved anatomical consistency in low-step counts.
βοΈ Technical Specifications
To achieve the intended aesthetic, please adhere to the following inference parameters:
| Parameter | Recommended Setting |
|---|---|
| Resolution | 1024 x 1024 (Native), 832 x 1216 (Portrait) |
| Sampling Steps | 4 β 6 steps (Sweet spot: 5) |
| Guidance Scale (CFG) | 1.0 β 2.0 (Strictly) |
| Sampler | DPM++ SDE Karras or Euler A |
| VAE | Use built-in SDXL VAE |
Note: Setting the Guidance Scale above 2.0 may result in "burnt" images or color banding due to the lightning-distillation process.
License & Credits
This model is provided under the MIT and CreativeML Open RAIL++-M licenses.
It is intended for ethical use.
Users are encouraged to share their generations and provide feedback for future fine-tuning iterations.
My Awesome Model
Visualize the fantasy
π Quickstart Usage
import torch
from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
model_id = "Layasaran/pixelora-1.0-xhigh"
pipe = StableDiffusionXLPipeline.from_pretrained(
model_id,
torch_dtype=torch.float16,
).to("cuda")
pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
import torch
import uuid
def generate_image(prompt: str, pipe, device="cuda:0"):
"""
Args:
prompt (str): The text description.
pipe: The loaded StableDiffusionXLPipeline.
device (str): Which T4 or any gpu.
"""
# use negative prompt if needed.
negative_prompt = "(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), open mouth"
pipe.to(device)
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
num_inference_steps=6,
guidance_scale=1.5,
width=1024,
height=1024
).images[0]
filename = f"pixelora.{uuid.uuid4().hex[:8]}.png"
image.save(filename)
print(f"Image saved as {filename} using {device}")
return image
# Recommended Prompt Structure
prompt = "RAW photo, a close-up cinematic portrait of a sailor, weathered skin, salt-encrusted beard, soft morning light, 85mm lens, f/1.8, 8k uhd"
# Generate
generate_image(prompt, pipe)
- Downloads last month
- -
Model tree for Layasaran/pixelora-1.0-xhigh
Unable to build the model tree, the base model loops to the model itself. Learn more.