Mindket

P-JiT 21K

Newversion 1 · updated

Overview

Generates images from text prompts with P-JiT 21K, a diffusion transformer that works directly on pixels. Includes a prompt expander for short prompts. For image generation researchers and developers.

P-JiT 21K is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python 3.12 on your computer
  • The Python packages listed in requirements.txt
  • The huggingface_hub package, which gives you the hf command
Runs in
  • A web browser, on the Space's page at Hugging Face, with nothing to install
  • Windows, macOS or Linux with Python, from a copy you download
  • An MCP client, since the Space carries an MCP tag, though the source gives no setup for it
Start with
pip install -U huggingface_hub
hf download hugging-apps/pjit-21k --repo-type space --local-dir pjit-21k
cd pjit-21k

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

P-JiT 21K is a demo of a text to image model that works in pixel space with a diffusion transformer. Its tagline says it was trained for 21 thousand dollars. You type a prompt and get an image.

The Space uses the authors' inference code, and its example prompts and seeds are samples from the authors' gallery. A short prompt can be expanded first by a built-in prompt upsampler.

Who it suits

People who want to try a low-budget research image model, and developers who compare image generators.

IndustryWho uses itHow they use itExample
ResearchImage generation researchersLook at output from a pixel-space modelRun one of the gallery prompts
SoftwareDevelopersJudge the model before integrating itTry short and long prompts
DesignVisual artistsExplore what the model drawsType a short idea and let the upsampler expand it

You can skip it if you need a finished image tool with editing features, since this Space is a demo.

Where to use it

  • A web browser, on the Space's page at Hugging Face, with nothing to install
  • Windows, macOS or Linux with Python, from a copy you download
  • An MCP client, since the Space carries an MCP tag, though the source gives no setup for it
Use caseWhoWhat they get back
Generate an imageAnyoneAn image for your prompt
Expand a short promptDevelopersA longer prompt written by the text encoder
Replay a gallery sampleNewcomersThe authors' example prompt and seed

How to set it up

  • Python 3.12 on your computer
  • The Python packages listed in requirements.txt
  • The huggingface_hub package, which gives you the hf command
  1. Install the huggingface_hub package.
  2. Download the Space with the hf command.
  3. Move into the downloaded folder.
  4. Install the pinned Gradio version.
  5. Install the packages from requirements.txt.
  6. Start the app with Python.
pip install -U huggingface_hub
hf download hugging-apps/pjit-21k --repo-type space --local-dir pjit-21k
cd pjit-21k
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

How to use it

Open the Space's page in your browser, or start your own copy with the command below. Type a prompt or pick an example, and run it to get the image.

python app.py

Example

You pick one of the gallery prompts and its seed, then run it. The demo returns an image generated from that prompt, which you can compare with the authors' sample.

For newcomers and experts

If you are new to image models, start with a gallery example so you know what a good result looks like. Then change a few words and run it again.

If you know the field, the model denoises in pixel space instead of a learned latent space. In the original setup, prompt expansion sends the prompt to Claude via OpenRouter. This Space swaps that step for Qwen3.5-4B, which is already loaded as the text encoder, so no outside service is needed.

  1. You type a prompt or pick an example
  2. Qwen3.5-4B can expand a short prompt
  3. The diffusion transformer denoises in pixel space
  4. The image shows on the page

Good to know

  • License: the Space lists apache-2, and the README says the vendored inference code is Apache-2.0
  • Cost to run: none named, since the prompt upsampler runs locally instead of calling a paid service
  • Data it reaches: the prompts you type, plus the model weights and the text encoder
  • Not for: reproducing the authors' hosted upsampler, which the Space replaces with a smaller local model

README and files

README

P-JiT 21K

Generates images from text prompts with P-JiT 21K, a diffusion transformer that works directly on pixels. Includes a prompt expander for short prompts. For image generation researchers and developers.

Made by hugging-apps on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: P-JiT 21K is a demo of a text to image model that works in pixel space with a diffusion transformer. Its tagline says it was trained for 21 thousand dollars. You type a prompt and get an image.

The Space uses the authors' inference code, and its example prompts and seeds are samples from the authors' gallery. A short prompt can be expanded first by a built-in prompt upsampler.

Who it suits: People who want to try a low-budget research image model, and developers who compare image generators.

Industry | Who uses it | How they use it | Example
Research | Image generation researchers | Look at output from a pixel-space model | Run one of the gallery prompts
Software | Developers | Judge the model before integrating it | Try short and long prompts
Design | Visual artists | Explore what the model draws | Type a short idea and let the upsampler expand it

You can skip it if you need a finished image tool with editing features, since this Space is a demo.

Where to use it:

  • A web browser, on the Space's page at Hugging Face, with nothing to install
  • Windows, macOS or Linux with Python, from a copy you download
  • An MCP client, since the Space carries an MCP tag, though the source gives no setup for it
Use case | Who | What they get back
Generate an image | Anyone | An image for your prompt
Expand a short prompt | Developers | A longer prompt written by the text encoder
Replay a gallery sample | Newcomers | The authors' example prompt and seed

How to set it up:

  • Python 3.12 on your computer
  • The Python packages listed in requirements.txt
  • The huggingface_hub package, which gives you the hf command
  1. Install the huggingface_hub package.
  2. Download the Space with the hf command.
  3. Move into the downloaded folder.
  4. Install the pinned Gradio version.
  5. Install the packages from requirements.txt.
  6. Start the app with Python.
pip install -U huggingface_hub
hf download hugging-apps/pjit-21k --repo-type space --local-dir pjit-21k
cd pjit-21k
pip install gradio==6.31.0
pip install -r requirements.txt
python app.py

How to use it: Open the Space's page in your browser, or start your own copy with the command below. Type a prompt or pick an example, and run it to get the image.

python app.py

Example: You pick one of the gallery prompts and its seed, then run it. The demo returns an image generated from that prompt, which you can compare with the authors' sample.

For newcomers and experts: If you are new to image models, start with a gallery example so you know what a good result looks like. Then change a few words and run it again.

If you know the field, the model denoises in pixel space instead of a learned latent space. In the original setup, prompt expansion sends the prompt to Claude via OpenRouter. This Space swaps that step for Qwen3.5-4B, which is already loaded as the text encoder, so no outside service is needed.

You type a prompt or pick an example
Qwen3.5-4B can expand a short prompt
The diffusion transformer denoises in pixel space
The image shows on the page

Good to know:

  • License: the Space lists apache-2, and the README says the vendored inference code is Apache-2.0
  • Cost to run: none named, since the prompt upsampler runs locally instead of calling a paid service
  • Data it reaches: the prompts you type, plus the model weights and the text encoder
  • Not for: reproducing the authors' hosted upsampler, which the Space replaces with a smaller local model

On Hugging Face, 13 November 2026

  • Likes: 2
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
P-JiT 21K This page2gradioapache-2.0
Z Image TurboShares mcp-server · gradio1,940gradioapache-2.0
TRELLISShares mcp-server · gradio817gradiomit
SAM3 DemoShares mcp-server · gradio91gradioapache-2.0
TRELLIS.2-Text-to-3D (Rerun)Shares mcp-server · gradio58gradioapache-2.0
Multi-Agent AI - CodingShares mcp-server · gradio39gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k