Tencent HY partner node. The node takes a text prompt and up to 20 images and returns text: an art prompt written from a reference image, a caption, a chart breakdown, or any other answer you ask for.
Hy4 was released on November 4, 2026. It is the first Hy generation with visual understanding, and Tencent reports improvements over Hy4 preview in instruction following, long-context comprehension, and long-horizon agentic tasks. The node calls the model through Comfy API, so no model downloads and no local GPU are required.
The template covered here is the image to prompt example: it reads a photo and writes a comma-separated prompt that you can paste into an image model.
What the Tencent HY node is good at
- Image to prompt: writes a structured prompt covering subject, composition, camera, lighting, color, texture, and style
- Image understanding: captions, chart and diagram breakdowns, and fine detail checks on photos, screenshots, and documents
- Multiple images per request: up to 20 images in one call, where each image in a batch counts once
- Instruction control:
system_promptholds a standing role, whilepromptcarries the task for this run - Reasoning toggle:
reasoningmakes the model think before answering, for tasks that need it - Long answers:
max_tokensaccepts up to 64000 tokens
Tencent HY4 image to prompt workflow
The template loads a reference photo, asks Tencent HY for a standard art prompt, and can optionally save the prompt and answer with the run.
Download Workflow
Download JSON or search “Tencent: Hy4” in Template Library
LoadImage node:
blue_poppies_field.png
LoadImage node · blue_poppies_field.pngSteps to run the workflow
This workflow demonstrates how to generate a reply with Tencent HY and optionally save that conversation into ComfyUI. Load a reference image, run the graph, then read the answer inPreview Any. If you want a saved copy, keep Save Text so it writes the prompt and answer under output/Hy4/; skip or remove that node if you do not need to save.
Prompting tips
- State the output format. The template’s
Only output positive prompt, no extra explanationsline is what keeps the answer paste-ready - When you connect several images, refer to them in order (
the first image,the second image) so details land on the right one - Put repeated instructions in
system_promptand leavepromptfor the task, for exampleYou write photography prompts for a stock library seedonly decides whether the node re-runs. Answers still vary between runs
Get started
Update ComfyUI, search Template Library forTencent: Hy4, and open the image to prompt workflow.
Tencent HY4 bills from API token usage. See the pricing table for the Hy4 rates.