Text-to-Image
GGUF
stable-diffusion
stable-diffusion-xl
sdxl
flux
wan22
lora
klein
ltx-2
ltx2
image-to-image
video
codex-webui
Instructions to use sangoi-exe/sd-webui-codex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use sangoi-exe/sd-webui-codex with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="sangoi-exe/sd-webui-codex", filename="flux-tenc/t5xxl.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use sangoi-exe/sd-webui-codex with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf sangoi-exe/sd-webui-codex:Q4_K_M # Run inference directly in the terminal: llama-cli -hf sangoi-exe/sd-webui-codex:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf sangoi-exe/sd-webui-codex:Q4_K_M # Run inference directly in the terminal: llama-cli -hf sangoi-exe/sd-webui-codex:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf sangoi-exe/sd-webui-codex:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf sangoi-exe/sd-webui-codex:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf sangoi-exe/sd-webui-codex:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf sangoi-exe/sd-webui-codex:Q4_K_M
Use Docker
docker model run hf.co/sangoi-exe/sd-webui-codex:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use sangoi-exe/sd-webui-codex with Ollama:
ollama run hf.co/sangoi-exe/sd-webui-codex:Q4_K_M
- Unsloth Studio new
How to use sangoi-exe/sd-webui-codex with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for sangoi-exe/sd-webui-codex to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for sangoi-exe/sd-webui-codex to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for sangoi-exe/sd-webui-codex to start chatting
- Docker Model Runner
How to use sangoi-exe/sd-webui-codex with Docker Model Runner:
docker model run hf.co/sangoi-exe/sd-webui-codex:Q4_K_M
- Lemonade
How to use sangoi-exe/sd-webui-codex with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sangoi-exe/sd-webui-codex:Q4_K_M
Run and chat with the model
lemonade run user.sd-webui-codex-Q4_K_M
List all available models
lemonade list
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- stable-diffusion
|
| 4 |
+
- stable-diffusion-xl
|
| 5 |
+
- sdxl
|
| 6 |
+
- flux
|
| 7 |
+
- wan22
|
| 8 |
+
- lora
|
| 9 |
+
- gguf
|
| 10 |
+
- klein
|
| 11 |
+
- ltx-2
|
| 12 |
+
- ltx2
|
| 13 |
+
- text-to-image
|
| 14 |
+
- image-to-image
|
| 15 |
+
- video
|
| 16 |
+
- codex-webui
|
| 17 |
+
license: other
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# sangoi-exe/sd-webui-codex β Official model hub for Codex WebUI
|
| 21 |
+
|
| 22 |
+
This Hugging Face repository is the **official companion model hub** for **Codex WebUI** β it exists so Codex WebUI users can download the right model files quickly, in a layout that matches the WebUI.
|
| 23 |
+
|
| 24 |
+
- **Codex WebUI (GitHub):** https://github.com/sangoi-exe/stable-diffusion-webui-codex
|
| 25 |
+
- **Codex WebUI license (code):** PolyForm Noncommercial License 1.0.0 (noncommercial only)
|
| 26 |
+
- **Codex WebUI required notice:** Copyright (c) 2025-2026 Lucas Freire Sangoi (https://github.com/sangoi-exe/stable-diffusion-webui-codex)
|
| 27 |
+
- **This repo is not the WebUI code.** It only stores model files to make downloads easier for users.
|
| 28 |
+
|
| 29 |
+
## What this is (and what it is not)
|
| 30 |
+
|
| 31 |
+
**This is:**
|
| 32 |
+
- A curated set of model files (checkpoints / LoRAs / VAEs / text encoders, depending on the folder).
|
| 33 |
+
- Organized to plug directly into Codex WebUI's default `models/` layout (as configured by `apps/paths.json` in the WebUI repo).
|
| 34 |
+
|
| 35 |
+
**This is not:**
|
| 36 |
+
- An official upstream distribution of third-party models by their authors.
|
| 37 |
+
- A claim of authorship or ownership over any model here.
|
| 38 |
+
- Legal advice.
|
| 39 |
+
|
| 40 |
+
## Ownership, licensing, and attribution (read this)
|
| 41 |
+
|
| 42 |
+
1) **I did not create or train the models stored here.** All model names, files, and trademarks remain the property of their respective owners.
|
| 43 |
+
2) **Each model keeps its own license/terms.** This repository does not change those terms. Always check the original model card/license and comply with it.
|
| 44 |
+
3) **Codex WebUI's license applies to the WebUI code, not the model weights.** Codex WebUI is licensed under the **PolyForm Noncommercial License 1.0.0** (noncommercial only). For commercial use, see the WebUI repository documentation.
|
| 45 |
+
4) **Removal / rights-holder requests:** open a **Discussion** on this Hugging Face repo (title: βRemoval requestβ) or a **GitHub issue** on the Codex WebUI repo. Include the repo path(s) and proof of ownership/authority. (I intentionally do not publish a direct email address in this README to reduce bot scraping/spam.)
|
| 46 |
+
5) **No license bypass:** if an upstream model requires accepting terms (gated access), you must obtain and use it under those terms. This repo is not intended to bypass gating or restrictions.
|
| 47 |
+
|
| 48 |
+
## Getting models
|
| 49 |
+
|
| 50 |
+
Codex WebUI is the intended client for this repository.
|
| 51 |
+
|
| 52 |
+
Use Codex WebUI to discover, download, and manage models from this official hub.
|
| 53 |
+
|
| 54 |
+
## How this repo integrates with Codex WebUI
|
| 55 |
+
|
| 56 |
+
Codex WebUI discovers model files by scanning configured model roots and then exposes them in the UI.
|
| 57 |
+
|
| 58 |
+
This repository is laid out to match Codex WebUI's default model roots as defined in `apps/paths.json` (in the WebUI repo). In other words: the folder names here are part of the contract.
|
| 59 |
+
|
| 60 |
+
If you customize model roots, update `apps/paths.json` accordingly.
|
| 61 |
+
|
| 62 |
+
## Folder layout (matches Codex WebUI defaults)
|
| 63 |
+
|
| 64 |
+
These folder names are intentionally aligned with Codex WebUI's default mapping in `apps/paths.json`. Treat the names as part of the contract (rename only if you also update the paths).
|
| 65 |
+
|
| 66 |
+
- `sd15/` β SD 1.5 checkpoints (`.safetensors`)
|
| 67 |
+
- `sd15-loras/` β SD 1.5 LoRAs
|
| 68 |
+
- `sd15-vae/` β SD 1.5 VAEs
|
| 69 |
+
- `sd15-tenc/` β SD 1.5 text encoders
|
| 70 |
+
- `sdxl/` β SDXL checkpoints (`.safetensors`)
|
| 71 |
+
- `sdxl-loras/` β SDXL LoRAs
|
| 72 |
+
- `sdxl-vae/` β SDXL VAEs
|
| 73 |
+
- `sdxl-tenc/` β SDXL text encoders
|
| 74 |
+
- `flux/` β Flux model weights (engine-dependent)
|
| 75 |
+
- `flux-loras/` β Flux LoRAs
|
| 76 |
+
- `flux-vae/` β Flux VAEs
|
| 77 |
+
- `flux-tenc/` β Flux text encoders
|
| 78 |
+
- `wan22/` β WAN 2.2 model weights (engine-dependent)
|
| 79 |
+
- `wan22-loras/` β WAN 2.2 LoRAs
|
| 80 |
+
- `wan22-vae/` β WAN 2.2 VAEs
|
| 81 |
+
- `wan22-tenc/` β WAN 2.2 text encoders
|
| 82 |
+
- `zimage/` β ZImage model weights (engine-dependent)
|
| 83 |
+
- `zimage-loras/` β ZImage LoRAs
|
| 84 |
+
- `zimage-vae/` β ZImage VAEs
|
| 85 |
+
- `zimage-tenc/` β ZImage text encoders
|
| 86 |
+
|
| 87 |
+
If you change the layout, update `apps/paths.json` accordingly (otherwise Codex WebUI won't find your files).
|
| 88 |
+
|
| 89 |
+
## Support
|
| 90 |
+
|
| 91 |
+
For WebUI issues and usage: open an issue on the Codex WebUI GitHub repo.
|
| 92 |
+
|
| 93 |
+
For missing/corrupt files in this Hugging Face repo: open a discussion/issue here.
|