Run this model with HF Jobs
Run Photoroom/prxpixel-t2i on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Photoroom/prxpixel-t2i. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Photoroom/prxpixel-t2i on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Photoroom/prxpixel-t2i with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Photoroom/prxpixel-t2i with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Photoroom/prxpixel-t2i", 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
PRXPixel (text-to-image, pixel space)
PRXPixel is a pixel-space variant of PRX:
it denoises raw RGB directly (no VAE), conditions on a Qwen3-VL text encoder (rather than T5Gemma),
and feeds the generation resolution into the timestep modulation. The denoiser is a ~7B
PRXTransformer2DModel with a bottleneck patch projection and a resolution embedder.
- Resolution: 1024
- Transformer: ~7B params,
torch.bfloat16 - Text encoder: Qwen3-VL text tower (
Qwen3VLTextModel) - VAE: none (pixel space)
- Scheduler:
FlowMatchEulerDiscreteScheduler
Requirements
PRXPixelPipelineis not yet in a releaseddiffusers. Installdiffusersfrom the branch that adds it, and usetransformers >= 4.57(the version that introducedQwen3VLTextModel):pip install "transformers>=4.57" pip install "git+https://github.com/huggingface/diffusers.git@prx-pixel-pipeline"
Usage
import torch
from diffusers import PRXPixelPipeline
pipe = PRXPixelPipeline.from_pretrained("Photoroom/prxpixel-t2i", torch_dtype=torch.bfloat16)
pipe.to("cuda")
prompt = "A front-facing portrait of a lion in the golden savanna at sunset."
image = pipe(prompt, num_inference_steps=28, guidance_scale=5.0).images[0]
image.save("prxpixel_output.png")
License
Released under the Apache 2.0 license. See LICENSE and NOTICE.
- Downloads last month
- 206