Text-to-Image
Diffusers
Safetensors
PRXPipeline
diffusion
photoroom
prx
open-source
image-generation
flow-matching
Instructions to use Photoroom/prx-1024-t2i-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Photoroom/prx-1024-t2i-beta 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/prx-1024-t2i-beta", dtype=torch.bfloat16, device_map="cuda") prompt = "A close-up portrait in a photography studio, multiple soft light sources creating gradients of shadow on her face, minimal background, cinematic 4 K realism, artistic focus on light and emotion rather than glamour." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| { | |
| "_class_name": "PRXPipeline", | |
| "_diffusers_version": "0.31.0.dev0", | |
| "_name_or_path": "prx-1024-t2i", | |
| "default_sample_size": 1024, | |
| "scheduler": [ | |
| "diffusers", | |
| "FlowMatchEulerDiscreteScheduler" | |
| ], | |
| "text_encoder": [ | |
| "prx", | |
| "T5GemmaEncoder" | |
| ], | |
| "tokenizer": [ | |
| "transformers", | |
| "GemmaTokenizerFast" | |
| ], | |
| "transformer": [ | |
| "diffusers", | |
| "PRXTransformer2DModel" | |
| ], | |
| "vae": [ | |
| "diffusers", | |
| "AutoencoderKL" | |
| ] | |
| } |