Omnichar Character (.char)
Build a .char character once and use it across image and video models in ComfyUI.
Nodes (8)
The Node That Would Rather Fail Than Render Your Character's Cousin
Pick Slot Three, Not Your Favourite Image
How FLUX.2 Actually Sees Your Character
Five Slots, One Node, No Wrong Order
The One Node Every Other Omnichar Node Hangs Off
Build the Character Once, Compile It for Two Model Families
Where ComfyUI Looks for Your .char Files
The Node That Won't Overwrite Your Character
ComfyUI Omnichar
One .char format for consistent, portable characters.
Official .char integration for ComfyUI. Build a character once and keep the same face, body,
clothes and voice across every model you already use. Currently MiniMax H3, Krea 2, FLUX.2 dev and
klein 9B / 4B, with consistent voice on MiniMax H3.
Install · Omnichar Studio · Try it in your browser · How licensing works? · workflows
<img width="1590" alt="Omnichar nodes in a ComfyUI graph" src="https://raw.githubusercontent.com/omnichar/ComfyUI-Omnichar/main/public/image.png" /> </div>A .char holds a character's reference images, its locked description, and often a trained LoRA.
Build one here with Encode Character, or in Omnichar Studio on your own GPU
or Omnichar Cloud. The same file then feeds FLUX.2, MiniMax H3 and
anything else that takes references.
Features
- Character Files: Open a
.charbuilt in Omnichar Studio or Cloud - Reference Images: One batch, or one per numbered slot, both from the same resolved set
- Positions Kept: Reference order is preserved, because a prompt addresses images by number
- Conditioning: Wire a CLIP to get conditioning straight out, or take the prompt as text
- Trained LoRA: Applied to MODEL and CLIP when the character carries one
- Build Characters: Encode face, body and wardrobe references into a new
.char, three slots each - Voice: Store a short voice clip in the character and send it to MiniMax H3 when the prompt has dialogue
- Python Library: Omnichar's standalone package for
.charintegration, no dependencies
Requirements
- ComfyUI
- Python 3.10+
omnichar-sdk(installed fromrequirements.txt)
Installation
-
Go to your ComfyUI custom nodes directory:
cd ComfyUI/custom_nodes -
Clone this repository:
git clone https://github.com/omnichar/ComfyUI-Omnichar cd ComfyUI-Omnichar -
Install the reader:
pip install -r requirements.txt -
Restart ComfyUI
Where Characters Live
Put .char files in ComfyUI/models/characters/. The loader lists whatever is there.
To share one folder with Omnichar Studio, set INLINE_CHARACTERS_DIR to its characters directory
and both read the same files.
Nodes
| Node | Inputs | Outputs |
| --- | --- | --- |
| Load Character | char, char_path, output | char |
| Decode Character | char, style, clip, prompt, arch, max_references, size_from, fit, voice, audio_position, license_key | conditioning, references, refs, sheet, prompt, voice |
| Character Reference | refs, index | image, role, count |
| Character References Split | refs | image_0 to image_4, count |
| Character Reference Latent | conditioning, refs, vae | conditioning |
| Apply Character LoRA | model, clip, char, strength, arch, min_key_coverage | model, clip |
| Encode Character | name, description, resolution, face/body/cloths (3 slots each), voice | char |
| Save Character | char, filename, overwrite | path |
Decode Character's sheet is the character sheet Omnichar Cloud makes, in the same 1920x1080
layout: references, a profile read from the description, a palette, the voice, the models the
character works with and, for a licensed character, its license. Each reference tile is labelled
with the image number the prompt uses. Every shipped workflow shows it in a Character Sheet preview.
Guide
A character is a few reference images plus a description. Encode Character sorts them by role, so face comes first and the prompt numbers follow that order.
<table> <tr> <td align="center"><img src="workflows/images_sia/face.png" width="110"></td> <td align="center"><img src="workflows/images_sia/body.jpg" width="110"></td> <td align="center"><img src="workflows/images_sia/cloth1.jpg" width="110"></td> <td align="center"><img src="workflows/images_sia/cloth2.jpg" width="110"></td> </tr> <tr> <td align="center"><code>face</code></td> <td align="center"><code>body</code></td> <td align="center"><code>cloths</code></td> <td align="center"><code>cloths_2</code></td> </tr> </table>Those four go into Encode Character, which writes sia.char. Save Character puts it in
ComfyUI/models/characters/, and Load Character picks it up from there.
Decode Character turns a character into a prompt and a resolved reference list. Models
that take one batch read references. Models with numbered slots, like MiniMax H3, take refs into
a Character References Split node, or a Character Reference node per slot. Edit models that read references as latents, like FLUX.2, take
refs into a Character Reference Latent node on both the positive and the negative conditioning.
Voice
A character can carry a voice for MiniMax H3 Reference to Video. Wire Load Audio into Encode
Character's voice input: about 30 seconds of clean speech, no music. On Decode Character, use the
token style and wire voice into the H3 node's ref_audio_0.
With voice on auto, the clip is sent only when the prompt has dialogue:
| Prompt | Voice |
| --- | --- |
| sia faces the camera and says "I built this look one frame at a time." | sent |
| close-up of sia as she whispers to someone off camera | sent |
| sia walks along the lake at dusk | not sent |
The match is on words, so "no speaking" still counts as dialogue; set never for a silent shot
like that, or always to force the voice in. H3 speaks new words in a voice like the clip, so
expect a likeness rather than a copy.
Workflows
- Build a
.charfrom face, body and wardrobe references - FLUX.2 Klein 9B, references as latents, to an image
- MiniMax H3, references in numbered slots, to a video
- Build a
.charwith a voice, a face reference plus a voice clip from Load Audio - MiniMax H3 with voice, the character's voice wired into
ref_audio_0, to a talking video - FLUX.2 Klein 9B with a licensed character, the FLUX.2 graph with a note on entering the license key
Licensed characters
A character licensed to you in Omnichar Cloud carries its license inside the .char. Decode
Character won't decode it without the license key: paste the key from the provider's share email
(or from Characters → Licensed → Local apps in Omnichar Cloud) into license_key. Before each
run, Decode Character sends the license ID from the file and that key to Omnichar, and decodes only
if the license is valid for this character and output. With no key, or a key that isn't valid, the
run stops on Decode Character.
The key is treated as a secret:
- It is never saved with the workflow, so it is not in a workflow file or the workflow copy inside a saved image. Paste it again after you reopen the workflow.
- Decode Character blanks it from the run's prompt before anything else runs on it, so the prompt that history and saved images record carries an empty key. Keep any Save Image downstream of Decode Character, as the shipped workflows do: a save node that runs before Decode could record the key.
- It is never stored on disk or written to a log.
- If a run fails before Decode Character runs (say, Load Character can't open the file), ComfyUI's history keeps that run's prompt, key included, in memory until ComfyUI restarts.
Set output (under advanced on Load Character) to video when the character feeds a video model,
since a license can allow images only.
Load Character can also keep a secret on this machine, for graphs that use a licensed character
without decoding it (Apply Character LoRA, Save Character). Pick the character, click Enter
secret and paste it; it is kept in ComfyUI/user/omnichar/licenses.json (owner-only on Linux and
macOS). Forget removes it. A stored secret doesn't replace the key on Decode Character.
Each queued run reports one generation to the provider as soon as the license is cleared. That counts the run even if it fails later, and a batch of several images still counts as one. Load and Decode on the same character report once per run; two Decode or two Load nodes on one character report once on ComfyUI versions that expose the running prompt to nodes, and once each on older versions.
| Message | What to do |
| --- | --- |
| This licensed character can't be decoded: no license key was supplied. ... | Paste the key into license_key on Decode Character. |
| This licensed character can't be decoded: the license key is not valid. ... | Copy the key again from the share email. A test key doesn't work on a live license. |
| This licensed character can't be decoded: <reason> | Omnichar's reason, such as a revoked or expired license. Ask the provider. |
| Can't reach OmniChar to check this license. Connect and try again. | Get online, then queue again. A check from the last few minutes still counts. |
| Too many attempts. Try again in a few minutes. | Wait, then check the key you entered. |
| This licensed character hasn't been verified. ... | A node other than Decode got the character first. Enter the key on Decode Character, or the secret on Load Character, and queue again. |
| Update omnichar-sdk to use licensed characters. | Run pip install -U 'omnichar-sdk>=0.1.2,<0.2' in ComfyUI's environment. |
Unlicensed characters work as before, ignore license_key and never touch the network. Try the
licensed FLUX.2 workflow.
Python Library
Omnichar's standalone package for .char integration. Install it anywhere, not only in ComfyUI:
pip install omnichar-sdk
See packages/omnichar-sdk/README.md.
License
packages/omnichar-sdk/ is Apache-2.0, so closed-source tools can read .char files.
Everything else is GPL-3.0-or-later, because ComfyUI is.