FeiHou Easy H3 提示词预览
See what your prompt actually became
- text
This is the smallest node in the pack and arguably the most useful debugging one. FeiHouEasyH3PromptPreview takes a STRING, shows it on the canvas, and passes it through unchanged. That's it. Its whole job is to make the prompt optimizer legible.
Here's the problem it solves. When you enable the pack's prompt optimizer on the main node, your terse "cyberpunk street at night, rain" prompt gets sent to a configured LLM API - Zhipu, Ollama, DeepSeek, whatever you set up in ComfyUI Settings → 🐵Easy H3 - and what comes back is an expanded prompt that H3 actually conditions on. The main node also carries a prompt_preview for reference mode, reflecting what the media inference produced. But that final, rewritten text lives inside the MINIMAX_H3_CONTEXT; you'd never see it without a way to surface it. The Prompt Preview node is that way.
How it works
Wire it up like this: FeiHouEasyH3 → FeiHouEasyH3Output (the prompt_preview output) → this node's text input. It renders the string in its own UI panel and passes it out the text output unchanged, so you can also string it into a text widget or another node if you want to inspect or reuse it. It's marked as an output node, meaning ComfyUI shows its result in the UI rather than treating it as a dead end.
There's one input (text, forced to come from a wire, not typed by hand) and one output (the same text). No settings, no models, no state. If you've used ComfyUI's built-in Preview Text, the shape is identical - this is the pack's own version wired for the H3 Context pipeline.
When you'll reach for it
Two moments. First, right after you turn on the prompt optimizer and wonder whether the API call actually did anything - run the workflow, look at the preview, and you'll immediately see whether your prompt got expanded, mangled, or ignored. Second, in reference mode, when H3's media conditioning has inferred a prompt you didn't write and you need to know what it thinks your video is about. It's also the honest way to verify the optimizer is consuming your credits as intended: if you didn't enable an API provider, the prompt you see is just your original text, which tells you the feature is off regardless of what you toggled.
How to install it
Pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/FX-FeiHou/ComfyUI-FeiHou-Easy-H3
restart, or ComfyUI Manager → search "ComfyUI-FeiHou-Easy-H3". No dependencies, no models.
Common issues
The one thing that trips people up is expecting the preview to show text when nothing is connected - if you've wired the main node straight to a sampler without the Output node, there's no prompt_preview pin to grab, so the node's input sits empty. And remember the display text is the expanded prompt, not the raw one you typed; if it looks longer and richer than what you wrote, the optimizer is working as intended, not hallucinating.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |