PRX
PRXは、Photoroomによるオープンソースのテキストから画像を生成するモデルで、256、512、1024 pxの9つのチェックポイントとして公開された1.3BのTransformerです。PRX Pixelは、オートエンコーダーを使わずにピクセルを直接ノイズ除去する7Bの兄弟モデルです。LibreYOLOは10種類すべてを、diffusersのパイプライン上でLibreGenファクトリーを通じて実行します。
- タスク
- image generation
- サイズ
- prxpixel: 7b at 1024 px
- インストール
pip install "libreyolo[gen]"- サポートティア
- 姉妹ティア、v1.8.0以降。独自のファクトリと契約を持つ、独立した製品インターフェースです。
- ライセンス
- コード:MIT、重み:Apache-2.0 (PRX's T5Gemma text encoder: Gemma Terms of Use)。商用利用
インストール
pip install "libreyolo[gen]"PRX Pixelにはdiffusers>=0.39が必要で、読み込み時にその旨を表示します。extraの下限は、Marigoldのextraと共存できるよう0.38になっています。
生成
重みは初回使用時に、Photoroomのリポジトリをバイト単位で複製したLibreYOLOのミラーからダウンロードされます。
from libreyolo import LibreGen model = LibreGen("prx-512-sft")result = model("a red fox sleeping in fresh snow", seed=0)result.save("fox.png") # PNGにはプロンプト、シード、パラメータも保存from libreyolo import LibreGen model = LibreGen("prx-512-sft-distilled") # 8ステップの蒸留版result = 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、diffusers>=0.39が必要results = model(["a red fox", "a blue jay"], n=2, save=True)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文字列は常にプロンプトです。1つのプロンプトでn=1ならResultsを返し、プロンプトのリストまたはn > 1ならフラットなリストを、stream=Trueならジェネレーターを返します。result.generatedは画像(array、image)、prompt、それを再現するseed、適用されたparamsを保持します。ファミリーの調整項目はすべて省略可能です。ファミリーにない項目を指定すると例外が発生し、対応する項目が一覧表示されます。プロンプト、シード、デバイス、オフロードについては画像生成のタスクページを参照してください。
バリアント
| モデル | パラメータ数 | 調整項目(デフォルト) | GPUメモリ(ライブラリの数値) |
|---|---|---|---|
prx-1024-beta(エイリアスprx) | 1.3B | steps(28)、guidance(5.0)、negative("") | 約21 GB |
prx-512-sft-distilled | 1.3B | steps(8)、guidance(1.0)、negative("") | 約16 GB |
prx-512-sft、prx-512 | 1.3B | steps(28)、guidance(5.0)、negative("") | 約16 GB |
prx-512-dc-ae-sft-distilled | 1.3B | steps(8)、guidance(1.0)、negative("") | 約16 GB |
prx-512-dc-ae-sft、prx-512-dc-ae | 1.3B | steps(28)、guidance(5.0)、negative("") | 約16 GB |
prx-256-sft、prx-256 | 1.3B | steps(28)、guidance(5.0)、negative("") | 約16 GB |
prxpixel-7b(エイリアスprxpixel) | 7B | steps(28)、guidance(5.0)、negative("") | 約18 GB |
数字はネイティブ解像度です。-dc-aeはFLUX.1のVAEの代わりに32xのDC-AEオートエンコーダーを使うため、辺の長さは16ではなく32の倍数に切り上げられます。-sftはそのまま使える教師ありファインチューニング版で、-sft-distilledはその8ステップの蒸留版です。-sftの付かないチェックポイントは、ファインチューニング用のベースモデルです。prx-1024-betaはPhotoroomの1024のプレビュー版です。PRX PixelはQwen3-VLのテキストエンコーダーを同梱し、オートエンコーダーを持ちません。
エクスポート
| タスク | ONNX | TorchScript | ExecuTorch | TensorRT | OpenVINO | Paddle | MNN | RKNN | Axelera | ncnn | TFLite | CoreML | Core AI |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Image generation | Image generation to ONNX:非対応 | Image generation to TorchScript:非対応 | Image generation to ExecuTorch:非対応 | Image generation to TensorRT:非対応 | Image generation to OpenVINO:非対応 | Image generation to Paddle:非対応 | Image generation to MNN:非対応 | Image generation to RKNN:非対応 | Image generation to Axelera:非対応 | Image generation to ncnn:非対応 | Image generation to TFLite:非対応 | Image generation to CoreML:非対応 | Image generation to Core AI:非対応 |
すべてのLibreGenファミリーと同じく、export()、train()、val()は例外を発生させます。
ライセンス
ダウンロードする特定の重みについて、Hugging Faceリポジトリのライセンスを確認してください。LibreYOLO orgの各チェックポイントにはライセンスが付与されており、同じファミリー内でも常に同一とは限りません。そのリポジトリが正式な情報源です。以下の概要は、このページを最後に検証した時点で適用されていた内容を示します。
これは関連するライセンスの説明であり、法的助言ではありません。商用上重要な場合は、自分でライセンスを読み、専門家の助言を受けてください。
- 原著作物
- PRX and PRX Pixel, Photoroom
- アップストリームのライセンス
- Apache-2.0
- アップストリームのソース
- github.com/Photoroom/PRX
- LibreYOLOのコード
- MIT
- 重み
- Apache-2.0 (PRX's T5Gemma text encoder: Gemma Terms of Use)、huggingface.co/LibreYOLOで再公開
- 解釈
- 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とPRX PixelはPhotoroomによるものです。重みはApache-2.0のため、商用利用が可能です。例外はPRXに同梱のT5Gemma 2Bテキストエンコーダーで、GoogleのGemma Terms of UseとProhibited Use Policyの下にあります。商用利用は可能ですが、禁止用途は共有先にも引き継がれ、PRXのモデルカードはモデル全体についてそれらを禁止しています。オートエンコーダーはFLUX.1 [schnell]のVAE(Apache-2.0)またはDC-AE(MIT)です。PRX PixelのQwen3-VL-Embedding-2BテキストエンコーダーはApache-2.0です。
LibreYOLOのアダプターは、Apache-2.0のdiffusersのPRXPipelineとPRXPixelPipelineの上に書いた独自のMITのコードです。重みはLibreYOLO/LibrePRX<size>とLibreYOLO/LibrePRXPixel7bからダウンロードされます。これらはコミットを固定したバイト単位で同一のミラーで、ゲートされていません。
引用
@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},
}著者によるgithub.com/Photoroom/PRX#citationの引用ブロックからコピーしています。