PRX

PRX is Photoroom's open-source text-to-image model, a 1.3B transformer released as nine checkpoints at 256, 512 and 1024 px. PRX Pixel is a 7B sibling that denoises pixels directly, with no autoencoder. LibreYOLO runs all ten through the LibreGen factory on the diffusers pipelines.

Tác vụ
image generation
Kích thước
prxpixel: 7b at 1024 px
Cài đặt
pip install "libreyolo[gen]"
Bậc hỗ trợ
Bậc song hành, từ v1.8.0. Một bề mặt sản phẩm riêng với factory và contract riêng.
Thượng nguồn
PRX and PRX Pixel của Photoroom, Apache-2.0. Bài báo, mã nguồn
Giấy phép
Mã nguồn MIT, trọng số Apache-2.0 (PRX's T5Gemma text encoder: Gemma Terms of Use). Sử dụng thương mại

Install

bash
pip install "libreyolo[gen]"

PRX Pixel needs diffusers>=0.39 and says so when it loads; the extra's floor is 0.38 so it can sit next to the Marigold extra.

Generate

Weights download from LibreYOLO's byte-identical mirrors of Photoroom's repositories on first use.

Python
from libreyolo import LibreGen model = LibreGen("prx-512-sft")result = model("a red fox sleeping in fresh snow", seed=0)result.save("fox.png")             # the PNG also stores prompt, seed and params
Settings
from libreyolo import LibreGen model = LibreGen("prx-512-sft-distilled")          # 8-step distillationresult = model("a red fox", steps=8, guidance=1.0) model = LibreGen("prx")                            # prx-1024-betaresult = model("a red fox", negative="blurry", imgsz=1024, seed=0) model = LibreGen("prxpixel", offload=True)         # prxpixel-7b, needs diffusers>=0.39results = model(["a red fox", "a blue jay"], n=2, save=True)
CLI
libreyolo generate prompt="a red fox" model=prx-512-sft negative="blurry"libreyolo generate prompt="a red fox" model=prxpixel-7b seed=0 n=4

A string is always a prompt. One prompt with n=1 returns a Results; a list of prompts or n > 1 returns a flat list, and stream=True a generator. result.generated holds the image (array, image), the prompt, the seed that reproduces it and the params in effect. Every family knob is optional; one the family does not have raises and lists the supported ones. See the image generation task page for prompts, seeds, devices and offload.

Variants

ModelParametersKnobs (defaults)GPU memory (library figure)
prx-1024-beta (alias prx)1.3Bsteps (28), guidance (5.0), negative ("")about 21 GB
prx-512-sft-distilled1.3Bsteps (8), guidance (1.0), negative ("")about 16 GB
prx-512-sft, prx-5121.3Bsteps (28), guidance (5.0), negative ("")about 16 GB
prx-512-dc-ae-sft-distilled1.3Bsteps (8), guidance (1.0), negative ("")about 16 GB
prx-512-dc-ae-sft, prx-512-dc-ae1.3Bsteps (28), guidance (5.0), negative ("")about 16 GB
prx-256-sft, prx-2561.3Bsteps (28), guidance (5.0), negative ("")about 16 GB
prxpixel-7b (alias prxpixel)7Bsteps (28), guidance (5.0), negative ("")about 18 GB

The number is the native resolution. -dc-ae uses the 32x DC-AE autoencoder instead of the FLUX.1 VAE, so its sides round up to a multiple of 32 instead of 16. -sft is the supervised fine-tune, ready to use, and -sft-distilled the 8-step distillation of it. Checkpoints without -sft are base models meant for fine-tuning. prx-1024-beta is Photoroom's 1024 preview. PRX Pixel bundles a Qwen3-VL text encoder and has no autoencoder.

Export

Tác vụONNXTorchScriptExecuTorchTensorRTOpenVINOPaddleMNNRKNNAxelerancnnTFLiteCoreMLCore AI
Image generationImage generation to ONNX: không được hỗ trợImage generation to TorchScript: không được hỗ trợImage generation to ExecuTorch: không được hỗ trợImage generation to TensorRT: không được hỗ trợImage generation to OpenVINO: không được hỗ trợImage generation to Paddle: không được hỗ trợImage generation to MNN: không được hỗ trợImage generation to RKNN: không được hỗ trợImage generation to Axelera: không được hỗ trợImage generation to ncnn: không được hỗ trợImage generation to TFLite: không được hỗ trợImage generation to CoreML: không được hỗ trợImage generation to Core AI: không được hỗ trợ

export(), train() and val() raise, as for every LibreGen family.

Licensing

Hãy kiểm tra giấy phép trong repo Hugging Face của trọng số cụ thể mà bạn tải xuống. Mỗi checkpoint trong tổ chức LibreYOLO đều có giấy phép riêng và giấy phép có thể khác nhau trong cùng một họ. Repo đó là nguồn có thẩm quyền; phần tóm tắt dưới đây mô tả các điều khoản áp dụng khi trang này được kiểm chứng lần gần nhất.

Đây là phần mô tả các giấy phép liên quan, không phải tư vấn pháp lý. Nếu câu trả lời có ý nghĩa về mặt thương mại, hãy tự đọc các giấy phép và tham khảo cố vấn của riêng bạn.

Công trình gốc
PRX and PRX Pixel, Photoroom
Giấy phép thượng nguồn
Apache-2.0
Nguồn thượng nguồn
github.com/Photoroom/PRX
Mã nguồn LibreYOLO
MIT
Trọng số
Apache-2.0 (PRX's T5Gemma text encoder: Gemma Terms of Use), được phát hành lại tại huggingface.co/LibreYOLO
Diễn giải
Photoroom releases the PRX and PRX Pixel weights under Apache-2.0, a permissive license, so they can be used in commercial and closed-source products; redistributing them means keeping the license text and notices, and the license grants a patent license. The exception is PRX's bundled T5Gemma 2B text encoder, which stays under Google's Gemma Terms of Use and the Gemma Prohibited Use Policy: commercial use is allowed, but the prohibited uses pass on to anyone you share it with, and PRX's model cards forbid those uses for the whole model. PRX's autoencoder is the FLUX.1 [schnell] VAE (Apache-2.0) or DC-AE (MIT); PRX Pixel has no autoencoder and bundles the Qwen3-VL-Embedding-2B text encoder (Apache-2.0). LibreYOLO's adapter is its own MIT code that calls the Apache-2.0 diffusers PRXPipeline and PRXPixelPipeline; no upstream source is ported. Weights download from LibreYOLO's byte-identical mirrors of Photoroom's nine PRX repositories and prxpixel-t2i (LibreYOLO/LibrePRX<size> and LibreYOLO/LibrePRXPixel7b), each pinned to a commit and not gated.

PRX and PRX Pixel are by Photoroom. The weights are Apache-2.0, so commercial use is fine. The exception is PRX's bundled T5Gemma 2B text encoder, which stays under Google's Gemma Terms of Use and Prohibited Use Policy: commercial use is allowed, but the prohibited uses pass on to anyone you share it with, and PRX's model cards forbid them for the whole model. The autoencoder is the FLUX.1 [schnell] VAE (Apache-2.0) or DC-AE (MIT); PRX Pixel's Qwen3-VL-Embedding-2B text encoder is Apache-2.0.

LibreYOLO's adapter is its own MIT code on the Apache-2.0 diffusers PRXPipeline and PRXPixelPipeline. Weights download from LibreYOLO/LibrePRX<size> and LibreYOLO/LibrePRXPixel7b, byte-identical mirrors pinned to a commit, not gated.

Citation

@misc{photoroom2026prx,
  title  = {PRX: an open-source text-to-image model},
  author = {Bertoin, David and Frigg, Roman and Almazán, Jon and Andres, Eliot},
  year   = {2026},
  url    = {https://huggingface.co/blog/Photoroom/prx-open-source-t2i-model},
}

Được sao chép từ khối trích dẫn của tác giả tại github.com/Photoroom/PRX#citation.

Đã kiểm chứng với LibreYOLO v1.8.0. Các bảng hỗ trợ, checkpoint và số liệu benchmark trên trang này được tạo từ thư viện đã phát hành và trọng số đã công bố, không phải viết thủ công.