Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Open models: MiniMax H3 Image text to image and edits with up to 5 pictures

Adarshef0aa258d1e3
diff --git a/scripts/comfy/build-requirements.mjs b/scripts/comfy/build-requirements.mjs
index bd1de0ef..e3a76741 100644
--- a/scripts/comfy/build-requirements.mjs
+++ b/scripts/comfy/build-requirements.mjs
@@ -35,7 +35,7 @@ export const PT_EXTENSIONS = ['.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetens
export const UNLISTED_FOLDERS = new Set(['Hi3D', 'sams']);
/** Core classes of the newest families, read one by one when /object_info can't be: an older ComfyUI lacks them first. */
-const NEWEST_CORE = /^(SeedVR2|Trellis2|SAM3|LTXV|LTXAV|ComfyMathExpression|TextEncodeQwenImage21|QwenImage21Cache|Ideogram4|TextEncodeFibo2|DualModelGuider|CFGOverride)/;
+const NEWEST_CORE = /^(SeedVR2|Trellis2|SAM3|LTXV|LTXAV|ComfyMathExpression|TextEncodeQwenImage21|QwenImage21Cache|Ideogram4|TextEncodeFibo2|DualModelGuider|CFGOverride|MiniMaxH3ImageConditioning|TextGenerateV2)/;
const NEWEST_CORE_MODULES = new Set(['comfy_extras.nodes_bg_removal']);
// A pack that registers other packs' nodes again under its own name: on a ComfyUI that has it, /object_info gives
diff --git a/scripts/comfy/hand-built/minimax-h3-image-edit.json b/scripts/comfy/hand-built/minimax-h3-image-edit.json
new file mode 100644
index 00000000..7cbf7c31
--- /dev/null
+++ b/scripts/comfy/hand-built/minimax-h3-image-edit.json
@@ -0,0 +1,450 @@
+{
+ "1": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image (pruned, int8 convrot)"
+ }
+ },
+ "2": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Qwen3-VL-32B text encoder (MiniMax H3, int8 convrot)"
+ }
+ },
+ "3": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "minimax_h3_image_vae_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image VAE"
+ }
+ },
+ "4": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "In <Picture 1>, change the dress to a liquid-silver satin evening gown"
+ },
+ "_meta": {
+ "title": "Your words"
+ }
+ },
+ "5": {
+ "class_type": "MiniMaxH3ImageConditioning",
+ "inputs": {
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "prompt": [
+ "12",
+ 0
+ ],
+ "width": [
+ "40",
+ 0
+ ],
+ "height": [
+ "40",
+ 1
+ ],
+ "images.image_1": [
+ "35",
+ 0
+ ],
+ "images.image_2": [
+ "36",
+ 0
+ ],
+ "images.image_3": [
+ "37",
+ 0
+ ],
+ "images.image_4": [
+ "38",
+ 0
+ ],
+ "images.image_5": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Conditioning on the pictures (the helper's description, or your words when it is off)"
+ }
+ },
+ "6": {
+ "class_type": "ConditioningZeroOut",
+ "inputs": {
+ "conditioning": [
+ "5",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Empty negative"
+ }
+ },
+ "7": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "1",
+ 0
+ ],
+ "positive": [
+ "5",
+ 0
+ ],
+ "negative": [
+ "6",
+ 0
+ ],
+ "latent_image": [
+ "5",
+ 1
+ ],
+ "seed": 0,
+ "steps": 6,
+ "cfg": 1,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1
+ },
+ "_meta": {
+ "title": "Sampler (6 steps, CFG 1, euler / simple)"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAEDecode"
+ }
+ },
+ "9": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/minimax-h3-image-edit"
+ },
+ "_meta": {
+ "title": "SaveImage"
+ }
+ },
+ "10": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Prompt helper: Qwen3.5 9B (w4a8)"
+ }
+ },
+ "11": {
+ "class_type": "TextGenerateV2",
+ "inputs": {
+ "clip": [
+ "10",
+ 0
+ ],
+ "prompt": [
+ "13",
+ 0
+ ],
+ "max_length": 8192,
+ "sampling_mode": "on",
+ "sampling_mode.temperature": 1,
+ "sampling_mode.top_k": 20,
+ "sampling_mode.top_p": 0.95,
+ "sampling_mode.min_p": 0,
+ "sampling_mode.repetition_penalty": 1,
+ "sampling_mode.presence_penalty": 0,
+ "sampling_mode.seed": 0,
+ "thinking": true,
+ "use_default_template": true,
+ "mtp": "auto",
+ "system_prompt": [
+ "14",
+ 0
+ ],
+ "images.image1": [
+ "35",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper: your instruction to a full description, looking at Picture 1"
+ }
+ },
+ "12": {
+ "class_type": "JsonExtractString",
+ "inputs": {
+ "json_string": [
+ "11",
+ 0
+ ],
+ "key": "expanded_caption"
+ },
+ "_meta": {
+ "title": "Prompt helper's caption (expanded_caption)"
+ }
+ },
+ "13": {
+ "class_type": "StringReplace",
+ "inputs": {
+ "string": "You are an expert at enhancing a short image-editing instruction into a rich, vivid, reference-conditioned description of the intended finished target image.\n\n## What you are given\n- Input image(s), labeled sequentially starting from <Picture 1>. These are the user's source and reference images.\n- One short editing instruction. It may be terse, vague, informal, or phrased as a desired result rather than an imperative. The final text part supplies it as User Editing Instruction (JSON string).\n- User Aspect Ratio Selection: any concrete positive-integer W:H ratio, or adaptive, supplied in the final text part.\n- Each input image is immediately preceded by a Reference Media text part containing its <Picture N> label and aspect_ratio W:H. The caller has already reduced the image's original display width and height to their exact lowest integer ratio, after EXIF orientation and before preview resizing or padding. No pixel dimensions are supplied in this metadata. The ratio applies only to the immediately following image. The supplied aspect_ratio is the reference image's exact ratio, not necessarily the final target ratio. Use it as given; do not estimate the source ratio from the preview. Determine the final target ratio using the rules below. If the original dimensions are unknown, the metadata says aspect_ratio unavailable.\n- There is no target image. Construct the intended target from the visible source evidence and the instruction; never pretend to have observed a hidden result.\n\n## Response format\nReturn exactly one valid JSON object with exactly these two keys, both with string values:\n{\"expanded_caption\":\"COMPLETE_DESCRIPTION\",\"target_aspect_ratio\":\"W:H\"}\nResolve target_aspect_ratio using the rules below. Put the complete description in expanded_caption as one continuous paragraph with no actual line breaks. All narration, language, Subject, literal-text, and three-part rules below apply to expanded_caption, not to the outer JSON syntax or target_aspect_ratio. Use valid JSON escaping for quotes and backslashes without changing the decoded literal content. Do not output reasoning, a code fence, extra keys, or text outside this JSON object.\n\n## Target aspect ratio\nDetermine target_aspect_ratio before writing expanded_caption. Treat it as a constraint on the intended target image, adapting framing and composition while respecting the requested edit and reference-preservation requirements. Describe any necessary changes under the changed/new-content rules. User Aspect Ratio Selection is part of the user's request. A concrete selection governs conflicting canvas wording in the editing instruction; continue to honor all compatible content constraints. Do not mechanically copy reference metadata or routing explanations into expanded_caption, and do not treat metadata as lettering inside an image.\n\nReading aspect_ratio metadata alone must not create a <Subject N> or change a preservation relationship. However, when source framing, aspect ratio, or composition is independently preserved, changed, or borrowed, identify that source-derived scope under the rules below. If realizing the selected canvas actually changes framing, visible content, placement, or layout within a Subject's defined scope, reflect that change in its relationship and describe only the changed/new consequences in Part 3. Do not call the entire source composition fully preserved while changing it; do not automatically mark every Subject partially preserved merely because the canvas ratio differs. Limit any completion or reframing to what the user's edit and selected canvas require; preserve unrelated content.\n\nRead User Aspect Ratio Selection from the final input part.\n\nSpecified ratio:\nIf a concrete ratio is supplied, copy that exact string to target_aspect_ratio. Any positive-integer W:H ratio is allowed; it is not limited to a preset list. Neither the editing instruction nor a reference image may override it.\n\nAdaptive mode:\nOnly when the selection is adaptive, determine the aspect ratio of the intended finished target image, which may differ from the main reference image. Apply these rules in order:\n\n1. Follow an explicit final target ratio or target dimensions in the editing instruction. Use the requested final geometry rather than source or earlier geometry. Exact numeric geometry takes precedence over generic orientation. When only a final orientation is specified, use 21:9 for ultra-wide, 16:9 for landscape, 1:1 for square, and 9:16 for portrait.\n\n2. Otherwise, select the main reference that supplies the edited base canvas or overall target composition and has a usable aspect_ratio. Prioritize an explicitly designated canvas/composition reference, then the edited base, then an overall composition anchor. Break ties by Picture order and skip missing, invalid, or unavailable ratios. Images used only for identity, objects, color, or style do not determine the canvas.\n\n Use the main reference's aspect_ratio as the starting ratio. Copy it exactly unless the requested edit requires a different canvas shape. Proportional resizing or changing a subject's size alone does not require changing the ratio.\n\n When expansion or cropping changes the canvas shape, determine the ratio of the resulting target. If the available information unambiguously determines it, calculate it exactly and reduce it. For relative changes:\n target_ratio = reference_ratio × width_scale / height_scale,\n where both scales are relative to the original canvas.\n\n If the requested shape change does not determine a unique ratio, choose one that fits the intended result while preserving unrelated composition. Adjust it only as needed for the requested edit, not merely for aesthetics.\n\n3. If neither an explicit target requirement nor a usable main reference determines the ratio, output 16:9.\n\nApply these rules to the whole target canvas. Grid row/column counts, individual panels, objects inside the image, and literal text are not whole-canvas ratio requests. A portrait subject or wide-angle lens alone is not a target-orientation request. Do not use a reference board's ratio as the ratio of one panel.\n\nSerialize target_aspect_ratio as two positive integers in W:H form, with no spaces; never output adaptive. Preserve concrete user selections, explicit positive-integer target ratios in the instruction, and unchanged reference ratios exactly. Convert other explicit numeric ratios or target dimensions to their exact reduced integer ratio; reduce newly calculated or chosen ratios to their lowest integer form. Do not snap to preset ratios or clamp to a supported range.\n\nLater descriptive additions must not change the chosen ratio. Pixel-size resolution, 32 alignment, and downstream size fallback are outside this task.\n\n## Interpret the User's Intent Flexibly\nRead the instruction together with the input images and any context it supplies to understand the result the user actually wants. Terse wording, colloquial phrasing, shorthand, and requests such as 'complete this' may require reasonable interpretation and substantive completion. Do not mechanically echo the request, insist that the user prewrite every detail, or treat an illustrative example or category list as the only supported case.\n\nChoose the interpretation best supported by the visible evidence, the request's purpose, and ordinary context. Supply the visual or textual details needed to make that intended result complete and coherent, including directly supporting consequences. Be flexible in how you realize the request, but do not override explicit constraints, change specified literal wording without permission, invent source facts, or expand unrelated content. Keep the boundaries between preserved source content, requested changes, newly authored text, and actual image lettering clear.\n\n## Source-Grounded Content and New Target Content\nTreat source-derived content and instruction-introduced content differently. Source facts describe what is actually visible in the inputs; target changes describe the requested result. Source fidelity does not prohibit an explicitly requested transformation. Preservation is the default only outside requested changes and their necessary consequences.\n\nA) Descriptions of source facts and properties retained in the target must be strictly faithful. Ground identity, facial features, body shape, clothing, objects, colors, materials, text, data, count, pose, layout, scene, camera, lighting, and spatial relationships in the specific input picture where they are visible. Do not invent a source attribute, accessory, logo, word, number, object, or relationship. If something is genuinely illegible or ambiguous, describe that fact neutrally rather than guessing. When an unfamiliar source element lacks a reliable name, identify it using its location and distinctive visible cues rather than guessing its identity or function.\n\nB) Content newly introduced or substantially transformed by the instruction should still be imagined richly, concretely, and coherently. Within the changed or new scope, supply plausible visual specifics that make the requested result recognizable and renderable: materials, shapes, arrangement, depth, perspective, lighting direction, shadows, reflections, contact, overlap, occlusion, atmosphere, and surrounding details that naturally belong to the requested scene. A newly requested background, environment, design, or global style may be described as a complete vivid visual scope because that scope itself is new or changed. Do not make the answer skeletal merely to satisfy a delta format.\n\nWhenever the intended target needs visual content not already determined by a preserved Subject or an explicitly referenced property, reasonably imagine and concretely describe that new content. This applies to any new scene, entity, action, design, composition, or newly visible region, not only viewpoint changes. Treat unspecified details within that new scope as room for coherent creation, not a reason to leave it vague. Keep the invention consistent with the user's intent and remaining reference constraints; do not redesign preserved Subjects or alter properties that the request requires you to match. If a source Subject gains newly visible parts, keep its identity and Subject number; describe the plausible completion in Part 3, never as an observed source fact.\n\nCreative latitude stays inside the requested or directly supporting scope. Do not redesign unrelated source content or import incidental attributes from a donor picture merely to enrich the prose. Ground factual claims in the available reference and instruction; do not invent unsupported specifics and present them as real. Explicitly requested fictional names or illustrative sample data may be authored as fictional or illustrative target content, never as recovered source facts or verified real-world information. Omit unsupported specifics, not the requested writing itself, and do not add unrelated text beyond the requested scope.\n\nComplete every textual deliverable the user asks you to write, supplement, finish, expand, rewrite, or otherwise provide. If exact wording is not supplied, compose the complete final wording yourself; missing wording is not a reason to leave the content unspecified. This applies to any requested textual deliverable, not limited to particular genres or to text inside an image. Requested wording is the deliverable itself, not forbidden restatement of the user's instruction. Do not delegate completion to the downstream model.\n\n## Output contract\nWrite expanded_caption as one continuous plain-text paragraph. Do not add structural headings, labels, bullets, markdown, preamble, reasoning, notes, or meta-commentary to the narration. Literal content may contain such words or symbols when they belong to source text or requested writing. The paragraph has three logical parts, in this order:\n1. natural definitions of the relevant source-derived <Subject N> elements;\n2. one target overview followed by a separate preservation/change relationship clause for every defined Subject;\n3. Changed and Newly Introduced Target Details Only, together with the complete wording of any textual deliverable the user asks you to provide.\n\nDetermine each requested text's destination from the instruction. If it belongs in the image, include its literal wording and describe placement as needed. If it is requested only as a textual response, provide it as text alongside the visual delta; do not turn it into a sign, caption, label, or other image element. Quoting a textual deliverable does not mean that it should be rendered in the image.\n\nComplete all Subject definitions before the target overview. Do not expose structural commands such as 'Define', 'Let', 'Identify', 'Section 1', 'Section 2', or 'Section 3' as narration. Write natural element-first definitions, for example, 'The woman in a red coat in <Picture 1> is <Subject 1>.' Refer to the intended visual result only as 'the target image'. Narrate the result, not the user's instruction or an imperative such as 'generate' or 'please create'; this does not prohibit exact supplied text or requested authored text from containing those words. If no source-derived element is retained or referenced, omit Subject definitions and relationships and begin with the target overview; do not invent a Subject to fill the structure.\n\n## Part 1: Natural Reference Element Identification\nAssign <Subject N> only to source-derived elements that remain visible or traceable in the intended target, or that provide a visible transferred or borrowed property. Every definition must name its source with an explicit <Picture N> and concise visible cues sufficient to uniquely identify the referenced object, region, or property. Add detail only to resolve ambiguity or clarify the reference/edit scope, not to restate its full appearance. Keep the full text/data transcription required below; concise identification must not omit readable content. List source pictures individually; never use ranges or vague phrases such as 'the reference images', 'the previous images', 'all inputs', or 'these pictures'. Use one number for the same convincingly identified person or element across pictures, and keep clearly different identities separate.\n\nWhen only a source property is needed, define that property rather than the entire source object; use the source object or region to locate the property. Give the source object its own Subject only if it is independently used in the target.\n\nChoose Subject granularity by relationship scope, not by a quota. An element that is independently moved, recolored, restyled, reposed, recounted, replaced while remaining traceable, or used as a donor should be independently addressable. Split a part, pose, layout, palette, lighting setup, text block, garment, accessory, held object, or background only when it needs its own preservation/change judgment. Do not mechanically split an ordinary person into face, hair, hands, every garment, and every accessory when those parts move together and have no independent role. Do not force one Subject per picture, and do not define incidental objects merely to make the inventory longer.\n\nJudge preservation over the scope actually defined. A parent Subject cannot be fully preserved if a changed child remains inside its scope, even when the child has a separate number. A genuinely unchanged narrower region or identity may be defined explicitly, but do not call the whole person, object, or scene unchanged while editing part of it. Do not transcribe the same source field again through an overlapping parent or child Subject.\n\nThe identifiable types include the following when independently relevant:\n- Entity type: a person, animal, object, creature, garment, accessory, prop, vehicle, furniture item, or other concrete entity.\n- Scene/background type: a room, landscape, street, stage, tabletop, architecture, or other environment preserved, changed, or used by the target.\n- Attribute/style type: a source-derived texture, material language, visual medium, design style, typography, border treatment, or other transferable visible quality.\n- Shared-element type: one convincingly identical visual element shown across several pictures; define it once and list every source picture.\n- Multi-form reference type: one source element used in several intended target forms, such as a physical figure, package artwork, screen render, or line drawing; define it once and distinguish the forms later.\n- Data-bearing chart/table/plot/document type: do not collapse readable data into one undifferentiated Subject. Identify the source-derived series, bars, lines, slices, columns, labeled groups, axes, titles, legends, headers, fields, and readable cells needed to preserve or edit the visible data faithfully.\n- Dense/multi-line text type: identify every clearly readable source-derived line or field in a document, slide, poster, menu, search interface, caption block, subtitle group, or UI region. Either define lines separately or define one coherent block while transcribing its lines literally and in order; do not replace readable content with a vague 'text' Subject.\n- Text/watermark type: identify an isolated watermark, brand text, subtitle, label, sign, logo text, or other short readable element, and state its clearly readable literal content once in Part 1. Later use its Subject token unless that text is intended to change.\n- Part/region type: hair, a sleeve, a wheel, a screen area, a poster corner, a body region, a panel, or another local part that needs its own relationship judgment.\n- Spatial-layout/composition type: framing, aspect ratio, grid or split-screen geometry, panel order, placement scheme, image-text hierarchy, or whitespace when the arrangement itself is preserved, changed, or borrowed.\n- Color/palette/lighting type: a source color, palette, color grade, illumination direction, warmth, contrast, shadow design, or lighting setup when color or light itself is independently referenced. Locate the specific source object or region; for example, 'The color of the cup's body in <Picture 1> is <Subject 1>.'\n- Pose/action type: a source-derived posture, gesture, gaze, body orientation, action, or interaction that is preserved, changed, or transferred.\n- Logo/symbol/icon type: a graphical emblem, symbol, UI icon, or pictographic mark; handle any readable words under the text rules.\n- Embedded/thumbnail type: a complete or cropped source picture embedded in the target as a panel or thumbnail.\n- Partial-crop type: a target crop or zoom whose visible content comes from a specific region of a source picture.\n\nThese fifteen types form the complete supported taxonomy, not a per-example checklist or quota. Use every applicable type supported by the input images and the instruction when it needs an independent relationship judgment, but never create an inapplicable Subject merely to instantiate a type. The more specific part/layout/light/pose/icon types exist to prevent an independently changed unit from being buried inside an oversized Subject, not to force mechanical over-splitting.\n\nBrand-new target-only content has no <Subject N>. A source element explicitly removed or wholly replaced and not otherwise reused also has no Subject number; if necessary, identify it once with its <Picture N> in the target overview, then describe the positive completed region in Part 3. Editing or translating a source text field is a traceable change to that field, not removal of the entire element: retain its Subject when needed to locate the edit, record its original wording in Part 1, and give its full resulting wording in Part 3. Every defined Subject must receive a relationship later and must not be defined merely to say that it is absent, removed, unused, or forgotten.\n\nReadable source text and data require special care. For every defined source-derived chart, table, document, UI, text block, or isolated text element, transcribe exactly once in Part 1 every clearly readable source-state line, character, label, value, axis title, axis tick, legend entry, table header, field, and readable cell, including a source literal that the instruction intends to change. Preserve the original language, script, grouping, and reading order. Do not omit a clearly readable value merely because it is unchanged or peripheral to the main edit. Never guess hidden, cropped-away, or illegible source text.\n\nFor grouped or clustered bars, radar charts, multi-panel plots, and many-point plots, enumerate every clearly readable value rather than summarizing the display. Check counts only when the chart's visible semantics require them: grouped bars against the legend, radar values against the axes, and mutually exclusive percentage parts of a complete whole against approximately 100 percent. Do not impose those assumptions on unrelated chart types or incomplete, overlapping, or multi-select categories. If the source itself contains a genuine inconsistency, missing series, or illegible value, record only the visible evidence or the uncertainty in Part 1; never silently normalize or repair the source record. An explicitly requested correction belongs in the target changes and must use supplied or derivable values, not guessed real data. Exhaustive transcription does not require one Subject per value or line: a coherent series, row, field group, or text block may remain one Subject when its literals are fully enumerated and it does not need separate relationship judgments. These checks apply only where the relevant marks and values are actually readable, and they do not require turning an ordinary non-data image into a chart inventory.\n\n## Part 2: Target Overview and Reference Relationships\nAfter the definitions, write one natural sentence beginning with 'The target image'. Foreground the primary intended changed or new state and describe the overall result using the defined Subject tokens where appropriate. Target-only new content remains unnumbered. The overview may summarize several requested changes, but it should remain an overview rather than a second detailed caption.\n\nThen give every defined Subject exactly one whole-subject relationship in its own independent clause. Give each Subject its own relationship clause; do not combine several Subjects into one relationship statement, even when they share the same degree. Keep the prose natural without imposing a fixed sentence length, a fixed Subject count, or a target frequency for any relationship type. Use these four relationships:\n\n- Fully preserved: use only when the whole Subject is unchanged in identity, appearance, count, pose or state, position, topology, and intended target role. Write only the short standalone clause '<Subject N> is fully preserved.' Give each fully-preserved Subject its own sentence; never merge multiple Subjects into one fully-preserved clause. Do not append a checklist, explanation, source citation, or visual description to a fully-preserved clause.\n- Partially preserved: use when the Subject remains traceable but at least one relevant property changes. State the retained categories needed to anchor identity and the changed categories, including a concrete before-to-after relationship when the source and instruction determine it. Do not exhaustively re-render retained appearance.\n- Attribute transfer: use when a specific source-derived property is directly reused or matched on a target carrier. Name the source Subject, the transferred property, and the target carrier. Transfer only the assigned property, not unrelated donor attributes.\n- Weak reference: use when the source guides a general style, palette, atmosphere, composition principle, or similar quality without requiring a specific property to be matched exactly. Name the borrowed quality and make clear what the new design may vary. Choose by the requested use of the reference, not merely by whether the property is called a color, style, or palette.\n\nAttribute-transfer example: the user wants the coat in <Picture 2> to match the cup's body color in <Picture 1>. Part 1 defines that color as <Subject 1> and the coat as <Subject 2>. The relationship clauses can be '<Subject 1> supplies the exact color transferred to <Subject 2>. <Subject 2> is partially preserved; its color changes while its cut and material remain.' The cup's shape and material are not transferred.\n\nWeak-reference example: the user wants a new abstract composition inspired by a landscape's palette, without copying it exactly. Part 1 defines the landscape's palette as <Subject 1>. The relationship clause can be '<Subject 1> serves as a weak palette reference for the new abstract composition; related colors are redistributed among geometric blocks, with freely adapted proportions and placement.' The new composition has no Subject number. These examples illustrate the distinction, not a restriction of either relationship to color tasks.\n\nFor a Subject used in several target forms or instances, judge the intended uses together. A mix of unchanged and transformed or additional instances is partially preserved overall; distinguish those uses within that Subject's own relationship statement. Do not call the entire Subject fully preserved just because one instance is unchanged. If only a property is borrowed, use the appropriate transfer or weak-reference relationship. If a donor object remains unchanged while its color or another property is transferred elsewhere, define that property separately so the object's preservation and the property's transfer have distinct scopes.\n\nThe relationship must agree with the described target. If a requested change or its necessary integration changes a Subject's position, orientation, count, topology, role, pose, expression, clothing, color, material, lighting, state, or other property within its defined scope, the whole Subject is not fully preserved. If later changed-detail prose genuinely needs to describe a change to a Subject, classify that Subject as partially preserved instead. A source carrier may remain fully preserved while one of its properties is transferred outward; do not mark the carrier partial unless the carrier itself changes. Conversely, new shadows, reflections, occlusion, or relighting on the carrier count as changes where they affect its defined appearance; do not hide them behind a fully-preserved judgment.\n\nFor partially preserved chart, table, document, UI, and text-block Subjects, state which categories are retained and which change. For a fully preserved chart or text Subject, use only the standard fully-preserved sentence, not an extra checklist. Keep relationship statements compact: use Part 1 as the source-side record and leave complete changed or newly authored wording and values for Part 3. Do not duplicate old literals in a before-to-after phrase or new literals in both the relationship and detail blocks.\n\nTreat unmentioned source-derived content as stable by default, but do not let that conservative baseline suppress the requested imagination. The changed/new target scope may still be rich. Direct semantic, spatial, physical, compositional, environmental, camera, and lighting consequences of the requested change are part of the changed scope and may be described.\n\n## Part 3: Changed and Newly Introduced Target Details Only\nThis final logical block is a richly rendered visual delta, not a standalone T2I re-caption of the whole target image. Also supply the requested textual deliverables. For visual description, cover only:\n- the concrete final appearance of source-derived attributes that actually change;\n- target-only people, objects, text regions, environments, panels, charts, layouts, effects, or other content introduced by the instruction;\n- the newly exposed or positively completed surface or space left by a removal, or the positive new occupant of a replacement;\n- plausible supporting details inside the changed/new scope that make it visually recognizable and coherent;\n- direct integration consequences involving scale, orientation, contact, overlap, occlusion, perspective, depth, shadow, reflection, lighting, material response, anatomy, support, camera framing, or composition.\n\nThis changed/new-only rule does not impose terse writing. A newly introduced restaurant, fantasy landscape, product design, comic panel, interface, lighting scheme, or global style may be described vividly and comprehensively because that entire requested scope is new or changed. Likewise, a transformed garment, pose, object, chart, or layout may receive enough concrete detail to be rendered reliably. Be imaginative where the instruction creates room for imagination; simply keep that imagination inside the changed/new scope instead of using it to re-caption preserved source content.\n\nStrict non-repetition rules:\n- After a Subject is classified as fully preserved, never visually describe that Subject again. A later sentence may use only the bare <Subject N> token as the minimum spatial or interaction anchor needed to locate changed or new content, for example, 'A new luminous pearl rests beside <Subject 2>.' Do not attach an adjective, color, material, shape, part, pose, position, role, or other appearance detail to that preserved Subject.\n- For a partially preserved Subject, Part 3 describes only its changed attributes and their concrete intended final appearance. Do not repeat the detailed appearance of retained identity, clothing, body, object, scene, or layout attributes already grounded in Part 1 or named as retained in Part 2.\n- For attribute transfer or weak reference, describe only how the transferred or borrowed quality is realized on the intended target carrier. Do not import or re-render unrelated donor properties.\n- Do not repeat fully preserved source text or data as visual description; use the Part 1 record and bare <Subject N> references. If the user separately requests a complete transcription or quotation as a textual deliverable, write that deliverable in full even when it repeats source wording; this is required output content, not redundant visual description.\n- Write every changed or target-only text/data field and requested textual deliverable in full. Use exact supplied or deterministically derived results; preserve every supplied character within each line, including punctuation, capitalization, order, and language, unless the user explicitly requests translation or another textual transformation, in which case write its actual result. If a line is edited, write the complete resulting line, not merely the changed word or numeric difference; do not recopy separate unaffected lines as visual description. Never substitute a <Subject N> token, a description or writing instruction, placeholders, omitted middles, 'etc.', 'and so on', or ellipses for requested content; preserve an ellipsis that belongs to supplied literal text.\n- Do not describe an unchanged background, person, object, pose, camera, light, style, or image-quality property merely to make the paragraph resemble a complete T2I caption.\n- If no changed or newly introduced detail remains beyond the overview and relationship statements and no requested textual deliverable remains to be supplied, stop. Never pad the output with preserved appearance.\n\nFor example, for a reference showing a lakeside path and hills, a request to write a scenic introduction requires actual copy such as '沿着湖畔步道缓缓前行,欣赏湖水与远山相映的景色,在悠闲漫步中感受旅途的宁静。', not 'a paragraph introducing the attraction'. This illustrates completion and is not a restriction to travel copy or permission to reuse these words in unrelated tasks.\n\nCorrect pattern: 'The black horse in <Picture 1> is <Subject 1>. The target image shows <Subject 1> beside a newly added luminous pearl. <Subject 1> is fully preserved. The pearl emits a cool glow onto the ground beside <Subject 1>.' The final sentence describes the new pearl and its integration while using the bare Subject only as an anchor.\n\nIncorrect pattern: '<Subject 1> is fully preserved. <Subject 1> is a muscular black horse with segmented dark armor and a long mane.' The second sentence is a T2I-style re-caption of preserved content and must be omitted.\n\nCorrect partial pattern: '<Subject 1> is partially preserved; its identity and body armor remain, while its bare head changes to an ornate helmet. The new helmet has a pointed silver crest, a red plume, and shadows that follow the existing head orientation.' Do not subsequently re-describe the retained face, body, or armor.\n\nFor exact reference-color or palette matching, use the defined color or palette <Subject N> to specify where it is applied on the target. The visible reference, not an approximate color name, determines the color; do not replace it with inferred color names or guessed RGB/HEX values. Honor explicit user-supplied colors or values, and do not transfer unrelated donor material or lighting unless requested.\n\nWhen describing a grid, multi-panel image, storyboard, table-like arrangement, or other row-and-column layout, state the row count and column count explicitly, either in words such as '2 rows and 3 columns' or with labeled multiplication notation such as '2 x 3 (rows x columns)' or '3 x 2 (columns x rows)'. Multiplication notation is allowed; specify which number denotes rows and which denotes columns. Do not use an unlabeled '2 x 3' or '2×3' alone. When relevant, describe the cell contents in top-to-bottom row order and left-to-right column order, and name which row and column contains each changed or newly introduced element.\n\nFor uneven rows, merged cells, or a freeform composition, describe the actual arrangement directly, such as 'the top row has three panels and the bottom row has two', with positions and spans as needed; do not impose a rectangular grid that is not intended. If shorthand in the instruction is ambiguous, use the reference and context to interpret the intended arrangement and express the chosen row/column meaning explicitly. Record relevant unchanged source layout in the Subject definitions without repeating it after a fully-preserved judgment; Part 3 describes changed or new layout only. This wording rule does not authorize altering supplied literal text containing dimension notation.\n\n## Final language and self-check\nWrite all descriptive and relationship prose in fluent English, regardless of the language of the user instruction. For newly authored requested copy, use the user's requested language, or otherwise the language of the user's request. Keep literal text and completed requested textual deliverables in single quotes to distinguish them from the surrounding English visual description and relationship prose, preserving apostrophes and other punctuation inside the literal text. Represent multi-line literal content inline as separate quoted lines in reading order, describing the intended line breaks or layout in prose rather than inserting actual newline characters into the response.\n\nUse objective, concrete visual language. Richness should come from precise changed/new appearance and coherent integration, not from repetition. Describe visible expressions rather than asserting unobservable thoughts or feelings. Preserve expressions outside the changed scope; expressions for newly introduced or transformed people may be reasonably imagined within the request. Write reference markers <Picture N> and <Subject N> directly without backticks; do not rewrite a literal text string merely because it contains similar words or symbols.\n\nBefore answering, verify:\n- every source visual fact is visible in a named <Picture N>, and every intended change is supported by the editing instruction or User Aspect Ratio Selection and their necessary consequences; reference aspect ratios come only from the supplied metadata;\n- the output still imagines instruction-introduced content richly enough to be recognizable and renderable;\n- every Subject definition is concise but unambiguous about its source and reference scope, without unnecessary appearance detail or missing required text/data;\n- every Subject is naturally defined before use and has its own independent relationship clause, never merged with another Subject;\n- every fully preserved Subject has its own exact '<Subject N> is fully preserved.' sentence and receives no later visual re-description;\n- no fully preserved parent contains an edited child, and mixed target forms or integration effects are reflected in the relationship;\n- every partially preserved Subject repeats no detailed retained appearance in Part 3;\n- donor attributes do not leak beyond the property requested;\n- target-only and removed-only content has no Subject number;\n- every applicable reference-element type is supported without treating the taxonomy as a per-example quota;\n- source text/data is recorded once in Part 1 without guessing, repairing, or translating the source record;\n- all requested target text and textual deliverables are complete and literal, with source repetition only for an explicitly requested transcription or quotation;\n- each textual deliverable has the requested image or text-only destination;\n- Part 3's visual description contains changed/new content and direct integration only, with no whole-frame T2I padding;\n- all non-literal descriptive and relationship prose is English, while quoted source, user-specified, or newly authored requested text uses its required language and script;\n- any grid layout described makes the row count and column count unambiguous, either in words or with explicitly labeled multiplication notation, with positions or uneven-row structure clarified where needed;\n- expanded_caption is one fluent, complete paragraph with no structural meta-language in the narration; multi-line literals retain their wording, reading order, and intended line boundaries through inline quoted lines;\n- target_aspect_ratio copies any concrete user selection exactly; in adaptive mode, it preserves the main reference ratio when no canvas-shape change is required and reflects any requested expansion or cropping; expanded_caption and its preservation relationships agree with the final canvas;\n- the final answer is a valid JSON object containing only the two string fields target_aspect_ratio and expanded_caption.\n\nOutput only the required two-field JSON object.\nUser input: {input text}\noutput_text:\n",
+ "find": "{input text}",
+ "replace": [
+ "4",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper's task, with your words in it"
+ }
+ },
+ "14": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
+ },
+ "_meta": {
+ "title": "Prompt helper's system prompt"
+ }
+ },
+ "20": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 1 (the picture edited)"
+ }
+ },
+ "21": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 2"
+ }
+ },
+ "22": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 3"
+ }
+ },
+ "23": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 4"
+ }
+ },
+ "24": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 5"
+ }
+ },
+ "30": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "20",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 1 at 4 MP"
+ }
+ },
+ "31": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "21",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 2 at 4 MP"
+ }
+ },
+ "32": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "22",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 3 at 4 MP"
+ }
+ },
+ "33": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "23",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 4 at 4 MP"
+ }
+ },
+ "34": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "24",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 5 at 4 MP"
+ }
+ },
+ "35": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "30",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 1 on the 32 px grid"
+ }
+ },
+ "36": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "31",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 2 on the 32 px grid"
+ }
+ },
+ "37": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "32",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 3 on the 32 px grid"
+ }
+ },
+ "38": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "33",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 4 on the 32 px grid"
+ }
+ },
+ "39": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "34",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 5 on the 32 px grid"
+ }
+ },
+ "40": {
+ "class_type": "GetImageSize",
+ "inputs": {
+ "image": [
+ "35",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Canvas: Picture 1's size"
+ }
+ }
+}
diff --git a/scripts/comfy/hand-built/minimax-h3-image-t2i.json b/scripts/comfy/hand-built/minimax-h3-image-t2i.json
new file mode 100644
index 00000000..803d8bf8
--- /dev/null
+++ b/scripts/comfy/hand-built/minimax-h3-image-t2i.json
@@ -0,0 +1,213 @@
+{
+ "1": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image (pruned, int8 convrot)"
+ }
+ },
+ "2": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Qwen3-VL-32B text encoder (MiniMax H3, int8 convrot)"
+ }
+ },
+ "3": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "minimax_h3_image_vae_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image VAE"
+ }
+ },
+ "4": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "A neat poster that reads \"FUOBE\" in bold letters"
+ },
+ "_meta": {
+ "title": "Your words"
+ }
+ },
+ "5": {
+ "class_type": "MiniMaxH3ImageConditioning",
+ "inputs": {
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "prompt": [
+ "12",
+ 0
+ ],
+ "width": 2048,
+ "height": 2048
+ },
+ "_meta": {
+ "title": "Conditioning and canvas (the helper's caption, or your words when it is off)"
+ }
+ },
+ "6": {
+ "class_type": "ConditioningZeroOut",
+ "inputs": {
+ "conditioning": [
+ "5",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Empty negative"
+ }
+ },
+ "7": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "1",
+ 0
+ ],
+ "positive": [
+ "5",
+ 0
+ ],
+ "negative": [
+ "6",
+ 0
+ ],
+ "latent_image": [
+ "5",
+ 1
+ ],
+ "seed": 0,
+ "steps": 6,
+ "cfg": 1,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1
+ },
+ "_meta": {
+ "title": "Sampler (6 steps, CFG 1, euler / simple)"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAEDecode"
+ }
+ },
+ "9": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/minimax-h3-image-t2i"
+ },
+ "_meta": {
+ "title": "SaveImage"
+ }
+ },
+ "10": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Prompt helper: Qwen3.5 9B (w4a8)"
+ }
+ },
+ "11": {
+ "class_type": "TextGenerateV2",
+ "inputs": {
+ "clip": [
+ "10",
+ 0
+ ],
+ "prompt": [
+ "13",
+ 0
+ ],
+ "max_length": 8192,
+ "sampling_mode": "on",
+ "sampling_mode.temperature": 1,
+ "sampling_mode.top_k": 20,
+ "sampling_mode.top_p": 0.95,
+ "sampling_mode.min_p": 0,
+ "sampling_mode.repetition_penalty": 1,
+ "sampling_mode.presence_penalty": 0,
+ "sampling_mode.seed": 0,
+ "thinking": true,
+ "use_default_template": true,
+ "mtp": "auto",
+ "system_prompt": [
+ "14",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper: your words to a full caption"
+ }
+ },
+ "12": {
+ "class_type": "JsonExtractString",
+ "inputs": {
+ "json_string": [
+ "11",
+ 0
+ ],
+ "key": "expanded_caption"
+ },
+ "_meta": {
+ "title": "Prompt helper's caption (expanded_caption)"
+ }
+ },
+ "13": {
+ "class_type": "StringReplace",
+ "inputs": {
+ "string": "You are a caption-expansion and canvas-selection model for still-image\ntext-to-image generation. Rewrite input_text into a natural English detailed\ncaption and choose one aspect ratio for the requested final image. After private\nreasoning, serialize the complete caption and aspect ratio together as the one\nrequired two-key JSON object; no visible analysis, markdown, or self-talk. The\ncaption may be long when the requested image is a complex information or design artifact.\n\nRole: act like an expert visual designer and technical illustrator, not a word\nexpander. Preserve every hard fact from the input, then complete the image with\nvisible, inspectable content. The goal is not more words; the goal is that a\nviewer can inspect each important part of the image and find meaningful subjects,\nlabels, relationships, materials, data, and hierarchy.\n\nFirst choose which kind of image this is:\n- A depicted scene or photograph: prioritize subject identity, pose, contact,\nscale, environment, lighting, lens/medium, and physical plausibility.\n- A communication artifact such as poster, character card, product-design board,\nwebpage, UI, chart, dashboard, scientific/medical infographic, technical diagram,\nprinted page, packaging, cover, or multi-panel composite: build a finished\ninformation architecture, not just a scene containing the requested objects.\n\nAspect-ratio decision policy:\nChoose exactly one of these allowed ratios: 1:1, 5:4, 4:3, 3:2, 16:9, 21:9,\n4:5, 3:4, 2:3, or 9:16. Decide in the following order; earlier evidence\noverrides later evidence.\n\n1. Explicit final canvas\n- Preserve an explicit final-output ratio. Map explicit output pixel dimensions\n by width divided by height to the closest allowed ratio.\n- Do not confuse the final canvas with a source image, reference asset, object,\n inset, collage cell, or embedded screen.\n\n2. Requested deliverable\n- Use an explicitly requested medium or display surface. Treat each carousel\n page, card, or slide as its own canvas unless a contact sheet, storyboard,\n continuous strip, or combined overview is explicitly requested.\n- Prefer square or near-square for individual social posts, icons, avatars,\n compact logos, or compact product assets; vertical for covers, posters, phone\n stories, or mobile wallpapers; horizontal for slides, headers, banners, or\n explicitly wide displays. Do not invent a platform or deliverable.\n\n3. Primary composition\n- The main subject, action, or information structure outweighs optional context.\n A generic room, park, forest, sky, or cinematic background must not turn a\n focused subject horizontal.\n- Prefer vertical for dominant upright or full-body subjects, tall structures,\n stacked information, rising or falling motion, upward reach, or vertical\n negative space. Prefer horizontal for genuinely side-by-side structure,\n lateral action, broadly distributed subjects, a requested broad environment,\n horizontal sequences, or lateral negative space. Prefer square or near-square\n for compact, centered, radial, symmetrical, or directionally neutral content.\n\n4. Minimal completion and ratio strength\n- If the input is underspecified, form the smallest natural, content-preserving\n composition needed to choose a ratio. Lock it before adding detailed scenery\n or styling; do not invent a panorama, broad environment, or multi-panel layout\n to justify it, and do not revise it because later expansion adds detail.\n- Words such as \"portrait,\" \"cinematic,\" \"video,\" \"UE5,\" \"Weta,\"\n \"photorealistic,\" \"dramatic,\" and \"wide-angle\" do not determine orientation.\n- Use 5:4 or 4:5 for mild direction, 4:3 or 3:4 for moderate direction, and\n 3:2 or 2:3 for clear photographic direction. Reserve 16:9 and 9:16 for\n strongly directional or mobile-first compositions, and 21:9 for genuine\n banners, panoramas, timelines, or explicitly continuous wide layouts. When\n evidence remains weak, prefer 1:1 or a moderate ratio.\n\nChoose and lock the ratio from the requested canvas, deliverable, and smallest\nnatural primary composition before enriching the caption. Later details added by\nthe caption-expansion rules must not retroactively change the ratio.\n\nUniversal hard rules:\n1. Preserve exact requested text, named entities, counts, formulas, data values,\ncomponent names, style, medium, orientation, and left/right/top/bottom order.\n2. Required content must be visible, not implied. If text or a label is requested,\nplace it on the surface and describe where it sits.\n3. For active bodies, solve scene geometry before pose detail. Preserve any\ndomain-native layout first: a sport court, game grid, path, lane, stair, room,\nor interface should keep its recognizable structure unless the input changes\nit. Do not move the target or redesign the ground merely to obtain a preferred\nbody view. Choose one camera only after the scene layout is fixed, then place\nthe source and target in that camera's image frame using screen-left/screen-\nright, upper/lower image position, and nearer/farther depth. Silently trace the\nsource-to-target vector in this fixed view. Derive the actor's camera-relative\norientation from that vector and state it explicitly as front-facing, back-\nfacing, left-facing profile, right-facing profile, front three-quarter, or rear\nthree-quarter, together with a frame-absolute motion direction such as leftward,\nrightward, toward the camera/foreground, or away from the camera/deeper into the\nscene. Never use only a target-relative phrase such as \"facing square 2\" or\n\"looking toward the door\". The mapping follows the chosen geometry rather than\na fixed default: a target at screen-right implies a right-facing or rightward\nbody; a target at screen-left implies a left-facing or leftward body; a target\nfarther into the scene implies a back-facing or rear-three-quarter body moving\naway; and a target nearer the camera implies a front-facing or front-three-\nquarter body moving toward the viewer. These are coordinate mappings, not\ninstructions to relocate every target. Verify the visible body surfaces before\nwriting: movement away must show the back, back of the head, or rear shoulders\nand must not show a frontal chest or full face; movement toward the camera must\nshow the face and chest; lateral movement must read as the corresponding side\nprofile. If the stated source/target positions and visible body surfaces imply\nopposite directions, revise the body orientation instead of changing the scene\nlayout. Keep gaze, chest, torso lean, leading limb, support foot or hand, and\nmotion consistent with the derived orientation and with one frozen phase. A\nlimb cannot be simultaneously ahead and behind, planted and airborne, or\nassigned to two contacts. For actions on marked ground, use an elevated high-angle oblique or near-\noverhead three-quarter camera, never a low ground-level view. Center the camera on the complete ground map and make it the dominant, fully\ncontained region of the image: show its outer boundary, every cell or segment,\nthe source, target, and full travel path. After deriving the source-to-target\nvector, place the actor's torso outside the map on the ray extending backward\nfrom the source in the direction opposite the target. Do not move the actor to\nan arbitrary side margin if that would change the apparent travel direction.\nOnly the support foot may enter the near edge of the source cell, leaving its\nlabel visible; place the leading foot in the source-target direction near their\ngap. Keep torso, limbs, hair, clothing, and cast shadow outside every later cell\nand label. Widen or elevate the camera framing rather than rotating the actor or\nrelocating the target. This placement must preserve the previously derived front,\nback, left, right, or three-quarter camera-relative orientation. Preserve conventional topology and perspective, keep every label upright and\nlarge enough to read, and show each requested label exactly once in order. If\nthe input does not specify label colors or materials, use one neutral, uniform,\nhigh-contrast marking style for every label; unspecified styling is not permission\nto assign a different color to each item. Keep the actor's hands empty unless the\ninput names a held object. Do not add loose markers, stones, chalk pieces, buckets,\nropes, toys, shadows, limbs, or cropping over any label or grid line.\nPreserve a plausible silhouette and avoid broken foreshortening, hidden critical\njoints, mirrored layouts, alternative camera choices, and blended before-and-\nafter poses. For emotion-driven photo or video frames, keep facial anatomy\nnatural and consistent with the selected viewpoint.\n4. For hands, grips, linked fingers, hugs, carrying, pointing, tools, weapons, or\nbody-object contact, choose the framing that makes the interaction readable. Use\na medium shot or waist-up view when hand/facial detail is central; do not force a\nfull-body view if it makes the required contact or expression tiny. State which\nhand or limb touches what, how the fingers or support points align, and keep\nnonessential limbs simple.\n5. Use world knowledge as visible evidence only: cultural motifs, scientific\nstructures, medical anatomy, interface conventions, manufacturing details,\nprofessional tools, materials, units, labels, measurement marks, clothing, props,\narchitecture, or environment. Do not add lore that cannot be seen.\n6. Respect requested subject count. If the prompt names event types, two\ncharacters, or one primary subject, keep the number of primary figures to that\nminimum unless extra people are requested. Background crowds, spectators, or\nstaff should read as small silhouettes or graphic texture, not extra competing\nmain subjects.\n\nFor communication artifacts, silently make a content map before writing. Divide\nthe canvas in reading order into major slots: header/title, subtitle/tagline,\nhero visual, left panel, right sidebar, card row, icon group, diagram body,\nprocess path, chart area, formula box, exploded view, inset, specification area,\nswatch strip, instruction cards, footer, screen region, or background context.\nEach major slot should normally include at least three of these: position, visible\ntext or label, concrete visual subject, function or relationship, material/data\ntreatment, and hierarchy/style treatment. Do not use vague slot fillers such as\n\"icons,\" \"details,\" \"information,\" \"supporting graphics,\" or \"annotations\"\nwithout saying what they show.\n\nMake the artifact feel complete. If the prompt asks for a card, board, poster,\ninfographic, webpage, or product sheet, add a few plausible supporting elements\nthat belong to that artifact when they help completeness: subtitle, role/profile,\nabout note, quote, ratings, legend, color key, units, variable definitions,\ndimension labels, back/side view, material stack, use-case icons, footer tips,\nQR/logo placeholder, warning, or compact specification table. Keep these as short\nreadable on-image labels or one-line captions, not prose blocks.\n\nCorrespondence and legibility rules:\n- Multi-view outputs such as floor plan plus interior render, blueprint plus\nproduct render, map plus scene, or before/after panels need a shared inventory\nand coordinate frame. Reuse the same walls, openings, furniture/components,\nmaterials, labels, and relative positions in every panel. Name the render camera\norigin or viewing direction from the plan when useful, and do not invent major\nobjects that are absent from the paired view.\n- Dense flowcharts, medical diagrams, route maps, and process infographics should\nbe simplified into a few large numbered nodes, separated lanes, or a clean\nU-shaped loop. Arrows must be thick, directional, non-crossing, and attached to\nnamed start/end nodes. Prefer legible topology and large labels over many small\nleader lines, tiny arrows, or decorative clutter.\n\nContract affordances:\n- Scientific/medical/educational infographic: include named section headers;\nmain diagram with attached component labels; arrows with correct direction and\nstart/end nodes; legends or color keys; short functional captions; key-point\ncards with icon plus meaning; definitions and units; formula box with variable\ndefinitions; and process/system context such as body, lungs, vessels, lab setup,\nmolecule, device, or environment when implied.\n- Charts, graphs, dashboards, and data screens: include chart title when useful,\naxis labels, tick labels or scale endpoints, units, legend entries, colors, data\nmarks, selected states, and values or qualitative endpoints placed consistently\nwith the visual geometry. Even if the chart appears on a photographed stage\nscreen, the screen content still needs readable chart semantics.\n- Product/cultural design board: include title/subtitle/tagline; inspiration or\nuse-case cues; large hero render; motif-specific details; front/back/side or\nscale insets when useful; exploded layers; manufacturable joints, pins, clasps,\nfasteners, seams, ribs, holes, tolerances, or contact points; material stack;\nfinish behavior; dimension labels; palette swatches; specification and craft\nicons.\n- Character card/mascot sheet: include identity/title; name tag; role/profile or\nabout area; full-body readable proportions; attribute rows with icon, label, and\nbrief meaning; props tied to the role; material swatches or callouts; optional\nrating, quote, badge, instruction row, or contextual background so it reads as a\ndesigned card/poster rather than a plain character portrait.\n- UI/web/dashboard/data graphic: include real page/screen sections, navigation,\ncontrols, fields, buttons, cards, selected states, labels, values, icons, and\nintentional empty states only when requested.\n- Public poster/cover/packaging/display graphic: include typography hierarchy,\nheadline/subtitle/supporting copy, image slots, instruction cards, icons, badges,\nborders/rules, QR/barcode/logo placeholders if requested, palette, and intentional\nnegative space. When a poster features sports, products, or people, use one clear\nhero subject per requested category unless the prompt asks for a group.\n\nStyle comes after content. Choose clean isolation for icons/logos/cutouts and\ntechnical assets; layout-rich pages or boards for design communication; believable\nenvironment, lighting, lens, and depth for photographs. Replace abstract mood and\ngeneric adjectives with specific visible cues.\n\nFinal self-check: every input requirement is visible; every major slot has real\ncontent; required text/formulas/values are exact; labels attach to correct\nstructures; arrows and data geometry are coherent; body orientation is explicit relative to the camera and agrees with the preserved scene layout, source, target, depth, gaze, support, and motion; paired panels correspond; subject count has not grown by accident;\nworld knowledge appears as visible evidence; no important surface is blank.\n\nFinal output contract:\nUse the private thinking section to plan the caption and ratio. After thinking,\nthe visible final answer must be exactly one JSON object with exactly these two\nkeys:\n\n{{\"expanded_caption\":\"ONE_DETAILED_ENGLISH_CAPTION\",\"aspect_ratio\":\"ALLOWED_RATIO\"}}\n\nFor example, serialize a caption containing the title \"你好\" as:\n{{\"expanded_caption\":\"The title reads \\\"你好\\\".\",\"aspect_ratio\":\"16:9\"}}\n\nReplace ONE_DETAILED_ENGLISH_CAPTION with one fluent English caption paragraph\nthat follows every rule above, and ALLOWED_RATIO with exactly one allowed ratio\nstring. Keep expanded_caption as one valid JSON string. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Escape all other characters as valid JSON requires. Do not add or omit keys. Do not put thinking or think tags inside\nthe object. Do not output a Markdown fence, alternatives, or any text outside\nthe final JSON object.\n\ninput_text: {input text}\noutput_text:\n",
+ "find": "{input text}",
+ "replace": [
+ "4",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper's task, with your words in it"
+ }
+ },
+ "14": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
+ },
+ "_meta": {
+ "title": "Prompt helper's system prompt"
+ }
+ }
+}
diff --git a/scripts/comfy/install-comfyui.sh b/scripts/comfy/install-comfyui.sh
index fbcb3496..83d46ddb 100755
--- a/scripts/comfy/install-comfyui.sh
+++ b/scripts/comfy/install-comfyui.sh
@@ -14,6 +14,9 @@ COMFYUI_DIR="${COMFYUI_DIR:-/home/user/ComfyUI}"
# 0.11.100, comfy-kitchen 0.2.40, comfy-aimdo 0.6.0) has both, but the library has not been validated on it yet, so it is opt-in:
# COMFYUI_REF=17ff1dcce963bd9f23095ec9b28febbfc4db8388. Move the default only after a full re-validation on it (npm run build,
# node validate-workflows.mjs) updates the manifest's comfyuiCommit.
+# MiniMax H3 Image (minimax-h3-image-t2i / -edit) needs MiniMaxH3ImageConditioning (#17655, ede4e5fe, merged 2026-11-10): v0.45.0
+# (989d93d0) is the first release with it, and master 0439dd79 (reports 0.44.0) has it. Its graphs are built from that master's
+# /object_info and not validated yet, so it is opt-in too: COMFYUI_REF=989d93d0d968e704c589ce0146bb18c77f6b50cc.
COMFYUI_REF="${COMFYUI_REF:-fc04da91b2ab12f99e4716371a7e4f98ac982597}" # v0.41.0-7
PYTHON_VERSION="${PYTHON_VERSION:-3.13}"
diff --git a/scripts/comfy/library.spec.mjs b/scripts/comfy/library.spec.mjs
index dc529e88..bca3afe2 100644
--- a/scripts/comfy/library.spec.mjs
+++ b/scripts/comfy/library.spec.mjs
@@ -682,6 +682,12 @@ export const KNOWN_MODELS = {
'flux3-image-klein-base-bf16.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/diffusion_models/flux3-image-klein-base-bf16.safetensors' },
// BFL's prompt upsampler (Qwen3.5 9B fine-tune, Apache-2.0): the Prompt helper. The w4a8 file is the Comfy templates' (the card's
// download line names the int8 one, 9.75 GB).
+ // MiniMax H3 Image (minimax-h3-image-*): Comfy-Org's repack of the DiT and its VAE at 892de7cb, and the int8 convrot Qwen3-VL-32B
+ // encoder of Comfy-Org/MiniMax-H3 at 54472221 (the templates' encoder; it runs on cards before Blackwell, unlike the nvfp4 one the
+ // H3 video graphs load). The Prompt helper's Qwen3.5 9B w4a8 is the MOSS-Image row above (the same file).
+ 'minimax_h3_image_pruned_int8_convrot.safetensors': { folder: 'diffusion_models', url: 'https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors' },
+ 'minimax_h3_image_vae_fp16.safetensors': { folder: 'vae', url: 'https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors' },
+ 'qwen3vl_32b_minimax_h3_int8_convrot.safetensors': { folder: 'text_encoders', url: 'https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors' },
'qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors': { folder: 'text_encoders', url: 'https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors', variants: ['qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors', 'qwen3.5_9b_flux3_prompt_upsampler_bf16.safetensors'] },
};
@@ -691,6 +697,22 @@ const KLEIN_LICENSE =
'annual revenue; other commercial use needs a BFL licence; not blanket permission for commercial fine-tuning or distribution); Qwen3-VL-4B-Instruct ' +
'encoder and the FLUX 3 prompt upsampler (Qwen3.5 9B fine-tune) Apache-2.0; FLUX.2 VAE Apache-2.0';
+// MiniMax H3 Image (minimax-h3-image-*): every file's licence, as information.
+const H3_IMAGE_LICENSE =
+ 'MiniMax-H3-Image Community License (the MiniMax H3 Image model and its VAE): territory EXCLUDES the US, the EU, the UK and South Korea; ' +
+ 'annualized revenue above US$1M, or a hosted service for third parties, needs MiniMax\'s prior written authorization; show "MiniMax-H3-Image" on the ' +
+ 'product\'s interface; no outputs used to improve other AI models · MiniMax H3 Community License (the packaged Qwen3-VL-32B text encoder) · ' +
+ 'Qwen3.5 9B (the Prompt helper) Apache-2.0';
+const H3_IMAGE_NOTES =
+ 'Comfy-Org\'s image_minimax_h3_image templates (workflow_templates 0.11.105) in API form, core nodes only, without the subgraph, ResolutionSelector, ' +
+ 'ComfySwitchNode, PreviewAny, image compare and notes. MiniMaxH3ImageConditioning (ComfyUI master from ede4e5fe, PR #17655) gives the positive ' +
+ 'conditioning and the latent the KSampler starts from; the negative is ConditioningZeroOut. 6 steps, CFG 1, euler / simple, denoise 1. ' +
+ 'Prompt helper (off unless params.extra.promptHelper is "on"): the words go into the template\'s task text (StringReplace on "{input text}"), ' +
+ 'TextGenerateV2 on Qwen3.5 9B w4a8 (thinking on, temperature 1, top_k 20, top_p 0.95, 8192 tokens) writes one JSON object, and JsonExtractString ' +
+ 'reads its expanded_caption. Off, skipPromptHelper links the conditioning\'s prompt to the "Your words" node and the helper\'s nodes go. ' +
+ 'The model is tuned for 2048 x 2048 of area (about 4 MP) and works up to about 16 MP (4096 x 4096 at 1:1). VRAM: measured on a 32 GB card ' +
+ '(the DiT is 21 GB and the encoder 27 GB; ComfyUI offloads the encoder after it runs).';
+
// MiniMax H3 video (minimax-h3-*): licence and note text the seven graphs share.
const H3_LICENSE =
'MiniMax H3 Community License (the H3 FL2VA model, its video and audio VAEs, the packaged Qwen3-VL text encoder): territory EXCLUDES the US, the EU, the UK and South Korea; ' +
@@ -1269,6 +1291,44 @@ export const SPEC = [
'the empty negative now counts. The run\'s LoRAs (a trained FLUX 3 Klein Soul ID, Settings -> LoRAs) are injected after the UNETLoader as a LoraLoaderModelOnly stack. ' +
'Same prompt helper, Prompt helper off and layout rules as flux3-klein-t2i. About three times the distilled model\'s sampling time.',
},
+ // ---- MiniMax H3 Image (oss-minimax-h3-image) ----------------------------------------------------------------------------------
+ {
+ id: 'minimax-h3-image-t2i',
+ title: 'MiniMax H3 Image text to image (6 steps, about 4 MP by default, up to 16 MP; an optional prompt helper writes the full caption)',
+ capability: 't2i',
+ handBuilt: 'hand-built/minimax-h3-image-t2i.json',
+ bindings: {
+ prompt: [b('4', 'value')], width: [b('5', 'width')], height: [b('5', 'height')],
+ seed: [b('7', 'seed'), b('11', 'sampling_mode.seed')],
+ },
+ outputs: [{ node: '9', kind: 'image' }],
+ limits: { maxWidth: 6272, maxHeight: 6272, dimensionMultiple: 32 },
+ // The Prompt helper's Qwen3.5 9B is needed only when it is on (its nodes are taken out otherwise).
+ optionalModels: ['qwen3.5_9b_w4a8_gptq.safetensors'],
+ vramGb: 32,
+ license: H3_IMAGE_LICENSE,
+ notes: `${H3_IMAGE_NOTES} The canvas is the run's aspect ratio at its size (2K: 2048 x 2048 of area; 4K: 4096 x 4096), on the 32 px grid.`,
+ },
+ {
+ id: 'minimax-h3-image-edit',
+ title: 'MiniMax H3 Image edit with up to 5 pictures (<Picture 1> is the one edited; 6 steps at about 4 MP)',
+ capability: 'edit',
+ handBuilt: 'hand-built/minimax-h3-image-edit.json',
+ bindings: {
+ prompt: [b('4', 'value')], image: [b('20', 'image')], image2: [b('21', 'image')], image3: [b('22', 'image')], image4: [b('23', 'image')],
+ image5: [b('24', 'image')], seed: [b('7', 'seed'), b('11', 'sampling_mode.seed')],
+ },
+ outputs: [{ node: '9', kind: 'image' }],
+ limits: { maxImages: 5 },
+ optionalModels: ['qwen3.5_9b_w4a8_gptq.safetensors'],
+ vramGb: 32,
+ license: H3_IMAGE_LICENSE,
+ notes:
+ `${H3_IMAGE_NOTES} Each picture is fed as the template does: LoadImage, ResizeImageMaskNode to 4 MP (scale total pixels, area), then to the ` +
+ '32 px grid (scale to multiple, area), into MiniMaxH3ImageConditioning images.image_N; GetImageSize of Picture 1 after both resizes sets the width and ' +
+ 'height, so the result keeps Picture 1\'s shape at about 4 MP. Pictures not given are left out from the last (the conditioning takes them as optional ' +
+ 'inputs). The prompt names them <Picture 1> ... <Picture 5>. With the helper on, TextGenerateV2 also looks at Picture 1 (images.image1).',
+ },
{
id: 'qwen-image-edit-2509',
title: 'Qwen-Image-Edit 2509 (Lightning 4-step)',
diff --git a/src/components/studio/settings-panel.tsx b/src/components/studio/settings-panel.tsx
index 3548fc30..362a4eba 100644
--- a/src/components/studio/settings-panel.tsx
+++ b/src/components/studio/settings-panel.tsx
@@ -361,6 +361,7 @@ function SettingsBody({ model, op, shape, params: p, setP, setExtra, negativePro
label={op?.startsWith("upscale") ? "Resolution" : "Quality"}
options={shape.resolution}
value={p.resolution ?? d.resolution ?? shape.resolution[0]}
+ format={(v) => opts.resolutionLabels?.[v] ?? v}
onChange={(v) => setP({ resolution: v })}
unavailable={(v) => why("resolution", v, (x) => setP({ resolution: String(x) }))}
/>
diff --git a/src/lib/catalog/models.ts b/src/lib/catalog/models.ts
index 3450dbc3..a3d966fa 100644
--- a/src/lib/catalog/models.ts
+++ b/src/lib/catalog/models.ts
@@ -125,6 +125,19 @@ const KLEIN_PROMPT_HELPER: NonNullable<ModelOptions["controls"]>[number] = {
labels: { on: "On · full caption (not with boxes)", off: "Off · your words as typed" },
};
+/**
+ * MiniMax H3 Image's Prompt helper on your GPU: Qwen3.5 9B (a 7.3 GB file) thinks first, then writes the full caption from the
+ * words (and, for an edit, from Picture 1). Off by default: off sends the words as typed. On adds about 1.5-2 minutes on a
+ * 32 GB card, which its label says.
+ */
+const H3_IMAGE_PROMPT_HELPER: NonNullable<ModelOptions["controls"]>[number] = {
+ param: PROMPT_HELPER_PARAM,
+ label: "Prompt helper",
+ values: ["off", "on"],
+ default: "off",
+ labels: { off: "Off · your words as typed", on: "On · writes a fuller caption first (takes 1.5–2 min longer)" },
+};
+
type OpenSpec = Omit<ModelDef, "engine" | "badges"> & { badges?: ModelDef["badges"] };
const o = (m: OpenSpec): ModelDef => ({ ...m, engine: "open", badges: ["open", ...(m.badges ?? [])] });
@@ -284,6 +297,32 @@ const open: ModelDef[] = [
defaults: { aspectRatio: "1:1", resolution: "1K" },
}),
+ // MiniMax H3 Image: text to image and edits with up to 5 pictures (<Picture 1> is the one edited), 6 steps. Tuned for 2048 x
+ // 2048 of area: 2K (about 4 MP) by default, 4K (about 16 MP) as Max. The edit follows Picture 1's shape at about 4 MP. Its
+ // Prompt helper is opt-in. Not a default anywhere (the current picks stay).
+ o({
+ id: "oss-minimax-h3-image",
+ name: "MiniMax H3 Image",
+ vendor: "MiniMax",
+ family: "minimax-h3",
+ kind: "image",
+ tagline: "MiniMax's open image model: rich 4 MP pictures, 16 MP at Max, and edits with up to 5 pictures · 32 GB GPU",
+ badges: ["new"],
+ routes: [
+ comfy("t2i", "minimax-h3-image-t2i", "6 steps; about 4 MP at 2K, 16 MP at 4K"),
+ { ...comfy("edit", "minimax-h3-image-edit", "6 steps, up to 5 pictures; <Picture 1> is the one edited"), unsized: true, maxImages: 5 },
+ ],
+ options: {
+ aspectRatios: IMG_AR,
+ resolutions: ["2K", "4K"],
+ resolutionLabels: { "4K": "4K · Max" },
+ maxImages: 5,
+ seed: true,
+ controls: [H3_IMAGE_PROMPT_HELPER],
+ },
+ defaults: { aspectRatio: "1:1", resolution: "2K" },
+ }),
+
// Krea 2 text to image (its edit models come after FIBO 2's, as the owner ranks them).
o({
id: "oss-krea2-realism",
diff --git a/src/lib/catalog/types.ts b/src/lib/catalog/types.ts
index eaa1df60..6d6b9855 100644
--- a/src/lib/catalog/types.ts
+++ b/src/lib/catalog/types.ts
@@ -749,6 +749,8 @@ export interface ModelOptions {
inbetween?: true;
aspectRatios?: string[];
resolutions?: string[];
+ /** How a size reads in the studio's Quality picker and its summary ("4K" as "4K · Max"); a size left out reads as itself. */
+ resolutionLabels?: Record<string, string>;
/**
* Tiers a finishing pass reaches after the model's own render, offered only where the brief puts them (the Video
* studio and Cinema, through studioResolutions): MiniMax H3's 2K on your GPU is a 768p draft redrawn by Open-H3
diff --git a/src/lib/comfy-compose.ts b/src/lib/comfy-compose.ts
index d2fb79df..7bb6e54e 100644
--- a/src/lib/comfy-compose.ts
+++ b/src/lib/comfy-compose.ts
@@ -263,6 +263,8 @@ const OPTIONAL_REFERENCE_INPUTS: ReadonlySet<string> = new Set([
"BatchImagesNode",
// Qwen-Image 2.1 on a small GPU: Zen Image Edit's encoder takes image_2-4 the same way.
"ZenImage21TextEncode",
+ // MiniMax H3 Image's edit: Pictures 2-5 (images.image_2-5), each after its own two resizes.
+ "MiniMaxH3ImageConditioning",
]);
/** Uploads that are sides of one object (image = the first side, image2 the second…), and the node they all go into. */
diff --git a/src/lib/comfy.ts b/src/lib/comfy.ts
index bd7f1627..27c85af6 100644
--- a/src/lib/comfy.ts
+++ b/src/lib/comfy.ts
@@ -639,37 +639,71 @@ export function bypassNode(wf: ComfyWorkflow, nodeId: string, input: string, kee
* Graphs that run a prompt helper before the model (FLUX 3 Image Klein's: BFL's upsampler, a TextGenerate whose caption the
* text encoder reads). Options → Prompt helper "off" (params.extra.promptHelper) or a layout of boxes takes it out.
*/
-export const PROMPT_HELPER_GRAPHS: ReadonlySet<string> = new Set(["flux3-klein-t2i", "flux3-klein-edit", "flux3-klein-base-t2i-lora", "kandinsky6-t2av", "kandinsky6-i2av"]);
+export const PROMPT_HELPER_GRAPHS: ReadonlySet<string> = new Set([
+ "flux3-klein-t2i",
+ "flux3-klein-edit",
+ "flux3-klein-base-t2i-lora",
+ "kandinsky6-t2av",
+ "kandinsky6-i2av",
+ "minimax-h3-image-t2i",
+ "minimax-h3-image-edit",
+]);
/**
* Prompt helper graphs whose helper runs only when asked ("on"): Kandinsky 6.0's (Kandinsky6BeautifyPrompt on a 19 GB Qwen3.5
- * 9B file), off by default on both engines as on fal.
+ * 9B file), off by default on both engines as on fal, and MiniMax H3 Image's (TextGenerateV2 on a 7.3 GB Qwen3.5 9B, thinking on).
*/
-export const PROMPT_HELPER_OPT_IN: ReadonlySet<string> = new Set(["kandinsky6-t2av", "kandinsky6-i2av"]);
+export const PROMPT_HELPER_OPT_IN: ReadonlySet<string> = new Set(["kandinsky6-t2av", "kandinsky6-i2av", "minimax-h3-image-t2i", "minimax-h3-image-edit"]);
/** The file an opt-in helper loads (an optional file of its graph): a run with the helper on needs it on that ComfyUI. */
export const PROMPT_HELPER_FILES: Readonly<Record<string, string>> = {
"kandinsky6-t2av": "text_encoders/qwen3.5_9b_bf16.safetensors",
"kandinsky6-i2av": "text_encoders/qwen3.5_9b_bf16.safetensors",
+ "minimax-h3-image-t2i": "text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
+ "minimax-h3-image-edit": "text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
};
/** params.extra.promptHelper: "on" (the graph's default) or "off". */
export const PROMPT_HELPER_PARAM = "promptHelper";
+/**
+ * MiniMax H3 Image's helper, read back from the JsonExtractString a conditioning reads (`link`): TextGenerateV2 writes one JSON
+ * object, JsonExtractString takes its expanded_caption, and TextGenerateV2's prompt is the template's task text with the words put
+ * in by StringReplace (its `replace`), or the words themselves. The words, as linked or written; undefined when `link` is no
+ * such chain.
+ */
+function jsonHelperWords(wf: ComfyWorkflow, link: unknown): unknown {
+ if (!isLinkValue(link) || wf[link[0]]?.class_type !== "JsonExtractString") return undefined;
+ const json = wf[link[0]].inputs.json_string;
+ if (!isLinkValue(json) || json[1] !== 0 || wf[json[0]]?.class_type !== "TextGenerateV2") return undefined;
+ const asked = wf[json[0]].inputs.prompt;
+ return isLinkValue(asked) && wf[asked[0]]?.class_type === "StringReplace" ? wf[asked[0]].inputs.replace : asked;
+}
+
/**
* The words as typed, without the prompt helper: every CLIPTextEncode that reads a TextGenerate's caption reads that
- * TextGenerate's own prompt instead, and the helper's nodes (its model, system prompt, the references it looked at) go
- * with dropUnused. Unchanged when no encoder reads a TextGenerate.
+ * TextGenerate's own prompt instead, MiniMax H3 Image's conditioning reads the words its helper was given (jsonHelperWords:
+ * the "Your words" node), and the helper's nodes (its model, system prompt, task text, the references it looked at) go with
+ * dropUnused. Unchanged when no encoder reads a helper.
*/
export function skipPromptHelper(wf: ComfyWorkflow, keep: string[] = []): ComfyWorkflow {
const reads = (n: ComfyWorkflow[string], input: string, helper: string) => isLinkValue(n.inputs[input]) && wf[(n.inputs[input] as [string, number])[0]]?.class_type === helper;
- const readers = Object.values(wf).filter((n) => (n.class_type === "CLIPTextEncode" && reads(n, "text", "TextGenerate")) || (n.class_type === "Kandinsky6TextEncode" && reads(n, "video_caption", "Kandinsky6BeautifyPrompt")));
+ const readers = Object.values(wf).filter(
+ (n) =>
+ (n.class_type === "CLIPTextEncode" && reads(n, "text", "TextGenerate")) ||
+ (n.class_type === "Kandinsky6TextEncode" && reads(n, "video_caption", "Kandinsky6BeautifyPrompt")) ||
+ (n.class_type === "MiniMaxH3ImageConditioning" && jsonHelperWords(wf, n.inputs.prompt) !== undefined),
+ );
if (!readers.length) return wf;
const out = cloneWorkflow(wf);
const own = (v: unknown) => (isLinkValue(v) ? [...v] : String(v ?? ""));
for (const n of Object.values(out)) {
const t = n.inputs.text;
if (n.class_type === "CLIPTextEncode" && isLinkValue(t) && out[t[0]]?.class_type === "TextGenerate") n.inputs.text = own(out[t[0]].inputs.prompt);
+ if (n.class_type === "MiniMaxH3ImageConditioning") {
+ const words = jsonHelperWords(out, n.inputs.prompt);
+ if (words !== undefined) n.inputs.prompt = own(words);
+ }
// Kandinsky 6.0: the encoder reads the captions the helper was given (its video and audio captions, outputs 0 and 1).
if (n.class_type !== "Kandinsky6TextEncode") continue;
for (const [input, slot] of [["video_caption", 0], ["audio_caption", 1]] as const) {
diff --git a/src/lib/composer.ts b/src/lib/composer.ts
index abae41a2..e6e628f0 100644
--- a/src/lib/composer.ts
+++ b/src/lib/composer.ts
@@ -169,7 +169,10 @@ export function settingsSummary(shape: SettingsShape, params: GenParams, model?:
const ar = params.aspectRatio ?? d.aspectRatio ?? shape.aspect[0];
parts.push(ar === "auto" ? "Auto" : ar);
}
- if (shape.resolution) parts.push(params.resolution ?? d.resolution ?? shape.resolution[0]);
+ if (shape.resolution) {
+ const res = params.resolution ?? d.resolution ?? shape.resolution[0];
+ parts.push(model?.options.resolutionLabels?.[res] ?? res);
+ }
if (params.shots?.length) parts.push(`${params.shots.length} shots`);
else if (shape.duration) parts.push(durationLabel(params.duration ?? d.duration ?? shape.duration[0]));
if (shape.count) parts.push(`×${params.numOutputs ?? 1}`);
diff --git a/src/lib/h3-prompt.ts b/src/lib/h3-prompt.ts
index 5255a999..f0da193d 100644
--- a/src/lib/h3-prompt.ts
+++ b/src/lib/h3-prompt.ts
@@ -89,6 +89,8 @@ export function h3Canvas(shape?: string): { width: number; height: number } {
/**
* A graph from the MiniMax H3 video family (minimax-h3-t2v, -i2v, -flf2v, their -hq graphs and the orbit graph, and the 768p
- * draft that keeps its latent for a 2K finish, video-h3-t2v-2k).
+ * draft that keeps its latent for a 2K finish, video-h3-t2v-2k). MiniMax H3 Image's stills (minimax-h3-image-*) are not: they
+ * take the size asked for, not H3's video canvas.
*/
-export const isH3Graph = (workflowId: string): boolean => workflowId.startsWith("minimax-h3-") || workflowId === "video-h3-t2v-2k";
+export const isH3Graph = (workflowId: string): boolean =>
+ (workflowId.startsWith("minimax-h3-") && !workflowId.startsWith("minimax-h3-image-")) || workflowId === "video-h3-t2v-2k";
diff --git a/src/lib/licences.ts b/src/lib/licences.ts
index 71b39a14..fe6a212a 100644
--- a/src/lib/licences.ts
+++ b/src/lib/licences.ts
@@ -301,6 +301,8 @@ const KNOWN: { re: RegExp; name: string; class: LicenceClass; url?: string }[] =
{ re: /Hi3D Open License/, name: "Hi3D Open License Agreement 1.0", class: "conditions", url: "https://huggingface.co/hi3d-official/Hi3Dv1.0/blob/d502e938cbedc6e87aba8884614c5ca6d177a4b6/LICENSE" },
// Before SAM's: the H3 workflows' text names both, and the territory catch is the one that counts.
{ re: /MiniMax-Music3 Community License/, name: "MiniMax-Music3 Community License", class: "conditions", url: "https://huggingface.co/MiniMaxAI/MiniMax-Music3/blob/1b525ccb685ae809f33027c51c351eeb5833cf72/LICENSE" },
+ // Before MiniMax H3's: MiniMax H3 Image's text names both (its encoder is H3's), and the image model's licence is its own.
+ { re: /MiniMax-H3-Image Community License/, name: "MiniMax-H3-Image Community License", class: "regions", url: "https://huggingface.co/MiniMaxAI/MiniMax-H3-Image/blob/492fd8c4eca666f1085f57e30738c1e0d86b3439/LICENSE" },
{ re: /MiniMax H3 Community License/, name: "MiniMax H3 Community License", class: "regions", url: "https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/42ed227ee7df40d41602854ae760620d6eb651fe/LICENSE" },
{ re: /SAM License/, name: "Meta SAM License", class: "conditions" },
{ re: /OpenRAIL\+\+-M/, name: "CreativeML OpenRAIL++-M", class: "conditions" },
diff --git a/src/server/gpu/tools.ts b/src/server/gpu/tools.ts
index 5f06e343..b07c553d 100644
--- a/src/server/gpu/tools.ts
+++ b/src/server/gpu/tools.ts
@@ -194,6 +194,17 @@ export const STUDIO_ROWS: StudioRowDef[] = [
{ modelId: QWEN21_SMALL_MODEL, op: "edit" },
],
},
+ // MiniMax H3 Image: text to image and edits on its own 21 GB DiT and 27 GB encoder (a 32 GB card), which the Image and Edit
+ // studios' defaults don't load. The row's page opens the Image studio on it.
+ {
+ href: "/image?model=oss-minimax-h3-image",
+ label: "MiniMax H3 Image",
+ group: "Images",
+ steps: [
+ { modelId: "oss-minimax-h3-image", op: "t2i" },
+ { modelId: "oss-minimax-h3-image", op: "edit" },
+ ],
+ },
{ href: "/upscale", label: "Upscale", group: "Images", config: S.UPSCALE_STUDIO },
// hi3d-refine: Image to 3D with "Refine detail · Hi3D 1.0": the default open model, then Hi3D's refine of its mesh.
{
diff --git a/tests/minimax-h3-image.test.ts b/tests/minimax-h3-image.test.ts
new file mode 100644
index 00000000..1853daea
--- /dev/null
+++ b/tests/minimax-h3-image.test.ts
@@ -0,0 +1,312 @@
+import fs from "node:fs";
+import path from "node:path";
+import { describe, expect, it } from "vitest";
+import { getModel, getPreset, MODELS } from "@/lib/catalog";
+import { planGeneration, routesFor } from "@/lib/catalog/plan";
+import type { GenerationRequest, GenInput, Operation } from "@/lib/catalog/types";
+import { PROMPT_HELPER_FILES, PROMPT_HELPER_GRAPHS, PROMPT_HELPER_OPT_IN, skipPromptHelper, type ComfyWorkflow, type Manifest } from "@/lib/comfy";
+import { filterModels, settingsShape, settingsSummary, studioBest } from "@/lib/composer";
+import { isH3Graph } from "@/lib/h3-prompt";
+import { licenceInfo } from "@/lib/licences";
+import { EDIT_STUDIO, IMAGE_STUDIO } from "@/lib/studios";
+import { graphCheck } from "../bin/lib/worker/checks.mjs";
+import { loaderInput } from "../bin/lib/worker/rules.mjs";
+import { allowedNodeList, inputRules, readCatalog } from "../scripts/lib/worker-catalog.mjs";
+import { tempDir } from "./helpers/temp-dir";
+
+// MiniMax H3 Image on your GPU: two core-node graphs from Comfy-Org's image_minimax_h3_image templates, an opt-in Prompt helper
+// (TextGenerateV2 → JsonExtractString) that is taken out when off, the edit's resize chain, and 2K / 4K canvases.
+process.env.FUOBE_DATA_DIR = tempDir("fuobe-h3-image-");
+process.env.COMFYUI_URL = "http://comfy.test:8188";
+const { prepareWorkflow } = await import("@/server/providers/comfyui");
+const { STUDIO_ROWS } = await import("@/server/gpu/tools");
+
+const root = path.resolve(__dirname, "..");
+const dir = path.join(root, "workflows/comfyui");
+const read = <T>(f: string) => JSON.parse(fs.readFileSync(path.join(dir, f), "utf8")) as T;
+const manifest = read<Manifest>("manifest.json");
+const pins = read<Record<string, { revision: string; sizeBytes: number; sha256?: string }>>("model-pins.json");
+const requirements = read<{ workflows: Record<string, { core: string[]; packs: Record<string, string[]>; files: string[]; optional: string[]; vramGb: number }> }>("requirements.json");
+const subset = read<Record<string, unknown>>("object_info.subset.json");
+const entry = (id: string) => manifest.workflows.find((w) => w.id === id)!;
+const graph = (id: string) => read<ComfyWorkflow>(`${id}.json`);
+const classes = (wf: ComfyWorkflow) => Object.values(wf).map((n) => n.class_type);
+
+const T2I = "minimax-h3-image-t2i";
+const EDIT = "minimax-h3-image-edit";
+const MODEL = "oss-minimax-h3-image";
+const HELPER_NODES = ["10", "11", "12", "13", "14"];
+
+/** The pinned files: Comfy-Org's repack at 892de7cb and the int8 encoder of Comfy-Org/MiniMax-H3 at 54472221. */
+const PINS: Record<string, { url: string; sizeBytes: number; sha256: string }> = {
+ "diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors": {
+ url: "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors",
+ sizeBytes: 20979314802,
+ sha256: "83eb140f1ff95c068f8a6886e6d3f3d0d4ab2e07bb2fe6d2ef992a51146ee622",
+ },
+ "vae/minimax_h3_image_vae_fp16.safetensors": {
+ url: "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors",
+ sizeBytes: 1168505312,
+ sha256: "d80e9c2e5cfc9844869961ff5a58c9a9e52182df6bfb30b26018dd7f348721af",
+ },
+ "text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors": {
+ url: "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ sizeBytes: 27141342152,
+ sha256: "bc2ced0fbea64757fa9acddccfc0b3f4819d1dcf1da6c124d690d368be283923",
+ },
+};
+const HELPER_FILE = "text_encoders/qwen3.5_9b_w4a8_gptq.safetensors";
+
+async function prepare(id: string, input: GenInput, op: Operation) {
+ return (await prepareWorkflow(id, { seed: 7, ...input }, { generationId: "g-h3-image", op, upload: async (_d, _t, name) => name })).workflow;
+}
+const plan = (req: Partial<GenerationRequest>) => planGeneration({ feature: "image", prompt: "a perfume campaign still", ...req } as GenerationRequest, getModel, getPreset);
+
+describe("MiniMax H3 Image's graphs in the library", () => {
+ it("are core-node graphs with the template's loaders and sampler, the words on their own node, and the licence as data", () => {
+ for (const id of [T2I, EDIT]) {
+ const e = entry(id);
+ expect(e, id).toMatchObject({ customNodes: [], vramGb: 32, outputs: [{ node: "9", kind: "image" }], source: `hand-built (scripts/comfy/hand-built/${id}.json)` });
+ expect(e.license, id).toMatch(/^MiniMax-H3-Image Community License .*EXCLUDES the US, the EU, the UK and South Korea/);
+ expect(licenceInfo(e.license!)).toMatchObject({ name: "MiniMax-H3-Image Community License", class: "regions" });
+ expect(e.bindings.prompt, id).toEqual([{ node: "4", input: "value" }]);
+ expect(e.bindings.seed, id).toEqual([
+ { node: "7", input: "seed" },
+ { node: "11", input: "sampling_mode.seed" },
+ ]);
+ expect(requirements.workflows[id].packs, id).toEqual({});
+ for (const c of classes(graph(id))) expect(subset[c], `${id} ${c}`).toBeTruthy();
+ // The hand-built graph is the one the library ships.
+ expect(graph(id)).toEqual(JSON.parse(fs.readFileSync(path.join(root, "scripts/comfy/hand-built", `${id}.json`), "utf8")));
+ const g = graph(id);
+ expect(g["1"].inputs).toEqual({ unet_name: "minimax_h3_image_pruned_int8_convrot.safetensors", weight_dtype: "default" });
+ expect(g["2"].inputs).toEqual({ clip_name: "qwen3vl_32b_minimax_h3_int8_convrot.safetensors", type: "minimax", device: "default" });
+ expect(g["3"].inputs).toEqual({ vae_name: "minimax_h3_image_vae_fp16.safetensors" });
+ expect(g["5"].class_type).toBe("MiniMaxH3ImageConditioning");
+ expect(g["5"].inputs).toMatchObject({ clip: ["2", 0], vae: ["3", 0], prompt: ["12", 0] });
+ expect(g["6"]).toMatchObject({ class_type: "ConditioningZeroOut", inputs: { conditioning: ["5", 0] } });
+ // The conditioning's latent is the sampler's: 6 steps, CFG 1, euler / simple, denoise 1.
+ expect(g["7"].inputs).toEqual({ model: ["1", 0], positive: ["5", 0], negative: ["6", 0], latent_image: ["5", 1], seed: 0, steps: 6, cfg: 1, sampler_name: "euler", scheduler: "simple", denoise: 1 });
+ expect(g["8"].inputs).toEqual({ samples: ["7", 0], vae: ["3", 0] });
+ // The helper: the words in the template's task text, TextGenerateV2 thinking first, its expanded_caption read back.
+ expect(g["4"].class_type).toBe("PrimitiveStringMultiline");
+ expect(g["10"].inputs).toEqual({ clip_name: "qwen3.5_9b_w4a8_gptq.safetensors", type: "minimax", device: "default" });
+ expect(g["13"]).toMatchObject({ class_type: "StringReplace", inputs: { find: "{input text}", replace: ["4", 0] } });
+ expect(String(g["13"].inputs.string)).toContain("{input text}");
+ expect(g["11"].class_type).toBe("TextGenerateV2");
+ expect(g["11"].inputs).toMatchObject({ clip: ["10", 0], prompt: ["13", 0], max_length: 8192, sampling_mode: "on", "sampling_mode.temperature": 1, "sampling_mode.top_k": 20, "sampling_mode.top_p": 0.95, thinking: true, system_prompt: ["14", 0] });
+ expect(g["12"]).toMatchObject({ class_type: "JsonExtractString", inputs: { json_string: ["11", 0], key: "expanded_caption" } });
+ expect(String(g["14"].inputs.value)).toMatch(/^Reason in the thinking section first\. .*expanded_caption and aspect_ratio/);
+ expect(PROMPT_HELPER_GRAPHS.has(id) && PROMPT_HELPER_OPT_IN.has(id), id).toBe(true);
+ expect(PROMPT_HELPER_FILES[id]).toBe(HELPER_FILE);
+ }
+ expect(String(graph(T2I)["13"].inputs.string)).toMatch(/^You are a caption-expansion and canvas-selection model/);
+ expect(String(graph(EDIT)["13"].inputs.string)).toMatch(/^You are an expert at enhancing a short image-editing instruction/);
+ expect(entry(T2I).defaults).toEqual({ width: 2048, height: 2048 });
+ expect(entry(T2I).limits).toEqual({ maxWidth: 6272, maxHeight: 6272, dimensionMultiple: 32 });
+ expect(entry(EDIT).limits).toEqual({ maxImages: 5 });
+ expect(entry(EDIT).bindings.width).toBeUndefined();
+ });
+
+ it("pins every file by revision, size and SHA-256, the helper's Qwen3.5 9B as an optional file", () => {
+ for (const id of [T2I, EDIT]) {
+ const r = requirements.workflows[id];
+ expect(r.files.sort(), id).toEqual(Object.keys(PINS).sort());
+ expect(r.optional, id).toEqual([HELPER_FILE]);
+ expect(entry(id).models.find((m) => m.file === "qwen3.5_9b_w4a8_gptq.safetensors"), id).toMatchObject({ optional: true });
+ expect(r.core, id).toEqual(expect.arrayContaining(["MiniMaxH3ImageConditioning", "TextGenerateV2", "JsonExtractString", "StringReplace"]));
+ }
+ for (const [key, pin] of Object.entries(PINS)) {
+ const m = entry(T2I).models.find((x) => `${x.folder}/${x.file}` === key)!;
+ expect(m.url, key).toBe(pin.url);
+ expect(pins[pin.url], key).toEqual({ revision: pin.url.split("/resolve/")[1].split("/")[0], sizeBytes: pin.sizeBytes, sha256: pin.sha256 });
+ }
+ expect(requirements.workflows[EDIT].core).toEqual(expect.arrayContaining(["ResizeImageMaskNode", "GetImageSize", "LoadImage"]));
+ // Its newest core classes are read one by one when /object_info can't be read (an older ComfyUI lacks them first).
+ const index = read<{ sentinels: string[] }>("requirements.json");
+ expect(index.sentinels).toEqual(expect.arrayContaining(["MiniMaxH3ImageConditioning", "TextGenerateV2"]));
+ expect(index.sentinels).not.toContain("MiniMaxH3ImageToVideo");
+ });
+
+ it("feeds each edit picture through the template's two resizes, and Picture 1's size is the canvas", () => {
+ const g = graph(EDIT);
+ for (let i = 0; i < 5; i++) {
+ const [load, total, grid] = [String(20 + i), String(30 + i), String(35 + i)];
+ expect(g[load]).toMatchObject({ class_type: "LoadImage" });
+ expect(g[total]).toMatchObject({ class_type: "ResizeImageMaskNode", inputs: { input: [load, 0], resize_type: "scale total pixels", "resize_type.megapixels": 4, scale_method: "area" } });
+ expect(g[grid]).toMatchObject({ class_type: "ResizeImageMaskNode", inputs: { input: [total, 0], resize_type: "scale to multiple", "resize_type.multiple": 32, scale_method: "area" } });
+ expect(g["5"].inputs[`images.image_${i + 1}`]).toEqual([grid, 0]);
+ expect(entry(EDIT).bindings[i ? `image${i + 1}` : "image"]).toEqual([{ node: load, input: "image" }]);
+ }
+ // Never the picture straight in with width and height 0: GetImageSize of the resized Picture 1.
+ expect(g["40"]).toMatchObject({ class_type: "GetImageSize", inputs: { image: ["35", 0] } });
+ expect(g["5"].inputs).toMatchObject({ width: ["40", 0], height: ["40", 1] });
+ // The helper looks at Picture 1, resized the same way, and at no other picture.
+ expect(Object.entries(g["11"].inputs).filter(([k]) => k.startsWith("images."))).toEqual([["images.image1", ["35", 0]]]);
+ });
+});
+
+describe("MiniMax H3 Image's Prompt helper", () => {
+ it("off (the default), the conditioning reads your words and the helper's nodes go", async () => {
+ const runs: [string, Operation, GenInput & { prompt: string }][] = [
+ [T2I, "t2i", { prompt: "a perfume bottle on wet black stone" }],
+ [EDIT, "edit", { prompt: "In <Picture 1>, make the gown liquid silver", images: ["gown.png"] }],
+ ];
+ for (const [id, op, input] of runs) {
+ const wf = await prepare(id, input, op);
+ expect(wf["5"].inputs.prompt, id).toEqual(["4", 0]);
+ expect(wf["4"].inputs.value, id).toBe(input.prompt);
+ for (const n of HELPER_NODES) expect(wf[n], `${id} ${n}`).toBeUndefined();
+ expect(classes(wf), id).not.toEqual(expect.arrayContaining(["TextGenerateV2"]));
+ expect(classes(wf).filter((c) => c === "CLIPLoader"), id).toHaveLength(1);
+ expect(wf["7"].inputs.seed, id).toBe(7);
+ // "off" said in so many words is the same.
+ expect(await prepare(id, { ...input, extra: { promptHelper: "off" } }, op), id).toEqual(wf);
+ }
+ });
+
+ it("on, your words go into the helper's task text and the conditioning reads its caption", async () => {
+ const wf = await prepare(T2I, { prompt: "a perfume campaign shot", extra: { promptHelper: "on" } }, "t2i");
+ expect(wf["5"].inputs.prompt).toEqual(["12", 0]);
+ expect(wf["13"].inputs).toMatchObject({ find: "{input text}", replace: ["4", 0] });
+ expect(wf["4"].inputs.value).toBe("a perfume campaign shot");
+ expect(wf["11"].inputs["sampling_mode.seed"]).toBe(7);
+ expect(wf["10"].inputs.clip_name).toBe("qwen3.5_9b_w4a8_gptq.safetensors");
+ const edit = await prepare(EDIT, { prompt: "In <Picture 1>, swap the car for a pink truck", images: ["car.png"], extra: { promptHelper: "on" } }, "edit");
+ expect(edit["11"].inputs["images.image1"]).toEqual(["35", 0]);
+ expect(edit["5"].inputs.prompt).toEqual(["12", 0]);
+ });
+
+ it("skipPromptHelper reads the words from StringReplace, or from TextGenerateV2's own prompt, and leaves other graphs alone", () => {
+ const out = skipPromptHelper(graph(T2I), ["9"]);
+ expect(out["5"].inputs.prompt).toEqual(["4", 0]);
+ for (const n of HELPER_NODES) expect(out[n], n).toBeUndefined();
+ expect(Object.keys(out).sort()).toEqual(["1", "2", "3", "4", "5", "6", "7", "8", "9"]);
+ // The words written on StringReplace itself, or straight on TextGenerateV2 (no task text): the conditioning takes them.
+ const g = graph(T2I);
+ g["13"].inputs.replace = "typed words";
+ expect(skipPromptHelper(g, ["9"])["5"].inputs.prompt).toBe("typed words");
+ const plain = graph(T2I);
+ plain["11"].inputs.prompt = "plain words";
+ const skipped = skipPromptHelper(plain, ["9"]);
+ expect(skipped["5"].inputs.prompt).toBe("plain words");
+ expect(skipped["13"]).toBeUndefined();
+ // A conditioning that reads its own words (no helper) stays as it is.
+ const none: ComfyWorkflow = { "5": { class_type: "MiniMaxH3ImageConditioning", inputs: { prompt: "as typed", width: 2048, height: 2048 } } };
+ expect(skipPromptHelper(none)).toBe(none);
+ // The edit keeps every picture and its resizes; only the helper goes.
+ const edit = skipPromptHelper(graph(EDIT), ["9"]);
+ expect(edit["5"].inputs.prompt).toEqual(["4", 0]);
+ for (const n of ["20", "24", "30", "34", "35", "39", "40"]) expect(edit[n], n).toBeTruthy();
+ for (const n of HELPER_NODES) expect(edit[n], n).toBeUndefined();
+ });
+});
+
+describe("MiniMax H3 Image's canvas and pictures", () => {
+ it("makes 2K as 2048 x 2048 of area and 4K as 4096 x 4096, in the aspect ratio asked, on the 32 px grid", async () => {
+ const size = async (aspectRatio: string, resolution: string) => {
+ const wf = await prepare(T2I, { prompt: "x", aspectRatio, resolution }, "t2i");
+ return [Number(wf["5"].inputs.width), Number(wf["5"].inputs.height)];
+ };
+ expect(await size("1:1", "2K")).toEqual([2048, 2048]);
+ expect(await size("16:9", "2K")).toEqual([2720, 1536]);
+ expect(await size("9:16", "2K")).toEqual([1536, 2720]);
+ expect(await size("1:1", "4K")).toEqual([4096, 4096]);
+ expect(await size("21:9", "4K")).toEqual([6272, 2688]);
+ for (const ar of ["4:3", "3:2", "21:9", "4:5"]) for (const r of ["2K", "4K"]) for (const v of await size(ar, r)) expect(v % 32, `${ar} ${r}`).toBe(0);
+ });
+
+ it("is not an H3 video graph: no 768p video canvas, no frame grid", () => {
+ expect(isH3Graph(T2I)).toBe(false);
+ expect(isH3Graph(EDIT)).toBe(false);
+ expect(isH3Graph("minimax-h3-t2v")).toBe(true);
+ });
+
+ it("leaves out the pictures not given, from the last, with their resizes", async () => {
+ const one = await prepare(EDIT, { prompt: "In <Picture 1>, add rain", images: ["a.png"] }, "edit");
+ expect(Object.keys(one["5"].inputs).filter((k) => k.startsWith("images."))).toEqual(["images.image_1"]);
+ for (const n of ["21", "22", "23", "24", "31", "32", "33", "34", "36", "37", "38", "39"]) expect(one[n], n).toBeUndefined();
+ expect(one["20"].inputs.image).toBe("a.png");
+ expect(one["5"].inputs).toMatchObject({ width: ["40", 0], height: ["40", 1] });
+ const three = await prepare(EDIT, { prompt: "Put the bag of <Picture 2> and the hat of <Picture 3> on <Picture 1>", images: ["a.png", "b.png", "c.png"] }, "edit");
+ expect(Object.keys(three["5"].inputs).filter((k) => k.startsWith("images.")).sort()).toEqual(["images.image_1", "images.image_2", "images.image_3"]);
+ expect(three["22"].inputs.image).toBe("c.png");
+ expect(three["37"].inputs.input).toEqual(["32", 0]);
+ for (const n of ["23", "24", "33", "34", "38", "39"]) expect(three[n], n).toBeUndefined();
+ const five = await prepare(EDIT, { prompt: "a collage", images: ["a.png", "b.png", "c.png", "d.png", "e.png"] }, "edit");
+ expect(five["24"].inputs.image).toBe("e.png");
+ await expect(prepare(EDIT, { prompt: "x", images: [] }, "edit")).rejects.toThrow(/Add an image/);
+ });
+});
+
+describe("MiniMax H3 Image in the catalog", () => {
+ const model = getModel(MODEL)!;
+
+ it("is an open image model with both routes, badged new, 2K by default and 4K as Max, its helper off", () => {
+ expect(model).toMatchObject({ name: "MiniMax H3 Image", vendor: "MiniMax", family: "minimax-h3", kind: "image", engine: "open" });
+ expect(model.badges).toEqual(["open", "new"]);
+ expect(model.routes.map((r) => [r.op, r.endpoint])).toEqual([["t2i", T2I], ["edit", EDIT]]);
+ expect(model.routes.find((r) => r.op === "edit")).toMatchObject({ unsized: true, maxImages: 5 });
+ expect(model.options).toMatchObject({ resolutions: ["2K", "4K"], resolutionLabels: { "4K": "4K · Max" }, maxImages: 5, seed: true });
+ expect(model.defaults).toMatchObject({ aspectRatio: "1:1", resolution: "2K" });
+ const helper = model.options.controls!.find((c) => c.param === "promptHelper")!;
+ expect(helper).toMatchObject({ values: ["off", "on"], default: "off" });
+ expect(helper.labels!.on).toMatch(/longer/);
+ expect(helper.labels!.off).toMatch(/as typed/);
+ expect(JSON.stringify(helper)).not.toMatch(/\$|price|credit/i);
+ expect(model.hidden).toBeFalsy();
+ });
+
+ it("plans 2K by default, an edit with pictures on its edit graph, and shows 4K as Max", () => {
+ expect(plan({ modelId: MODEL }).params.resolution).toBe("2K");
+ expect(routesFor(model, "edit").map((r) => r.endpoint)).toEqual([EDIT]);
+ const images = Array.from({ length: 5 }, (_, i) => `/api/files/p${i}.png`);
+ expect(plan({ feature: "edit", modelId: MODEL, inputs: { images } }).op).toBe("edit");
+ expect(() => plan({ feature: "edit", modelId: MODEL, inputs: { images: [...images, "/api/files/p5.png"] } })).toThrow(/up to 5 images/);
+ const shape = settingsShape(model, "t2i", "image", true);
+ expect(shape.resolution).toEqual(["2K", "4K"]);
+ expect(settingsSummary(shape, { resolution: "4K" }, model)).toContain("4K · Max");
+ expect(settingsSummary(shape, {}, model)).toContain("2K");
+ });
+
+ it("changes no studio's default or Best list", () => {
+ expect(Object.values(IMAGE_STUDIO.defaultModels)).not.toContain(MODEL);
+ expect(Object.values(EDIT_STUDIO.defaultModels)).not.toContain(MODEL);
+ const image = studioBest(filterModels(MODELS, { kind: "image", ops: IMAGE_STUDIO.pickerOps }), "open", IMAGE_STUDIO.defaultModels.open, IMAGE_STUDIO.ops);
+ const edit = studioBest(filterModels(MODELS, { kind: "image", ops: EDIT_STUDIO.ops }), "open", EDIT_STUDIO.defaultModels.open, EDIT_STUDIO.ops);
+ expect([...image, ...edit]).not.toContain(MODEL);
+ expect(filterModels(MODELS, { kind: "image", ops: IMAGE_STUDIO.pickerOps }).map((m) => m.id)).toContain(MODEL);
+ expect(filterModels(MODELS, { kind: "image", ops: EDIT_STUDIO.ops }).map((m) => m.id)).toContain(MODEL);
+ });
+
+ it("has a row on the GPU board that opens the Image studio on it", () => {
+ const row = STUDIO_ROWS.find((r) => r.href === `/image?model=${MODEL}`)!;
+ expect(row).toMatchObject({ label: "MiniMax H3 Image", group: "Images" });
+ expect(row.steps).toEqual([
+ { modelId: MODEL, op: "t2i" },
+ { modelId: MODEL, op: "edit" },
+ ]);
+ });
+});
+
+describe("a worker takes MiniMax H3 Image's graphs", () => {
+ type Graph = Record<string, { class_type: string; inputs: Record<string, unknown> }>;
+ const catalog = readCatalog(root) as unknown as { requirements: { files: Record<string, { folder: string; file: string }> } };
+ const rules = inputRules(catalog as never);
+ const allowed = new Set(allowedNodeList(root, catalog as never));
+ const verified = Object.values(catalog.requirements.files).map((f) => ({ folder: f.folder, name: f.file }));
+ const sent = (g: Graph) => Object.values(g).flatMap((n) => Object.entries(n.inputs).filter(([k, v]) => loaderInput(n.class_type, k) && typeof v === "string").map(([, v]) => v as string));
+
+ it("with the helper on and off, every node allowed and every input inside its rule", async () => {
+ for (const promptHelper of ["off", "on"]) {
+ const t2i = (await prepare(T2I, { prompt: "a neon sign that reads \"OPEN\"", aspectRatio: "16:9", resolution: "4K", extra: { promptHelper } }, "t2i")) as unknown as Graph;
+ const edit = (await prepare(EDIT, { prompt: "In <Picture 1>, add a hat from <Picture 2>", images: ["fuobe_abcdefgh01.png", "fuobe_abcdefgh02.png"], extra: { promptHelper } }, "edit")) as unknown as Graph;
+ for (const g of [t2i, edit]) expect(graphCheck(g, allowed, verified, { rules, staged: sent(g) }), promptHelper).toBeNull();
+ }
+ });
+
+ it("refuses a model file that isn't verified on it", async () => {
+ const g = (await prepare(T2I, { prompt: "x" }, "t2i")) as unknown as Graph;
+ expect(graphCheck(g, allowed, verified.filter((v) => v.name !== "minimax_h3_image_pruned_int8_convrot.safetensors"), { rules, staged: [] })?.reason).toBe("model-unverified");
+ });
+});
diff --git a/workflows/comfyui/manifest.json b/workflows/comfyui/manifest.json
index 0b3ed59a..75c65713 100644
--- a/workflows/comfyui/manifest.json
+++ b/workflows/comfyui/manifest.json
@@ -1746,6 +1746,199 @@
"validated": true,
"notes": "flux3-klein-t2i on Klein Base, the undistilled checkpoint BFL, fal's trainer and AI-Toolkit train LoRAs on: 50 steps, CFG 3.5, euler / simple (the card), the empty negative now counts. The run's LoRAs (a trained FLUX 3 Klein Soul ID, Settings -> LoRAs) are injected after the UNETLoader as a LoraLoaderModelOnly stack. Same prompt helper, Prompt helper off and layout rules as flux3-klein-t2i. About three times the distilled model's sampling time."
},
+ {
+ "id": "minimax-h3-image-t2i",
+ "title": "MiniMax H3 Image text to image (6 steps, about 4 MP by default, up to 16 MP; an optional prompt helper writes the full caption)",
+ "capability": "t2i",
+ "file": "minimax-h3-image-t2i.json",
+ "source": "hand-built (scripts/comfy/hand-built/minimax-h3-image-t2i.json)",
+ "bindings": {
+ "prompt": [
+ {
+ "node": "4",
+ "input": "value"
+ }
+ ],
+ "width": [
+ {
+ "node": "5",
+ "input": "width"
+ }
+ ],
+ "height": [
+ {
+ "node": "5",
+ "input": "height"
+ }
+ ],
+ "seed": [
+ {
+ "node": "7",
+ "input": "seed"
+ },
+ {
+ "node": "11",
+ "input": "sampling_mode.seed"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "9",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "9",
+ "kind": "image"
+ }
+ ],
+ "defaults": {
+ "width": 2048,
+ "height": 2048
+ },
+ "limits": {
+ "maxWidth": 6272,
+ "maxHeight": 6272,
+ "dimensionMultiple": 32
+ },
+ "models": [
+ {
+ "file": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "folder": "diffusion_models",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors",
+ "sizeGb": 20.98
+ },
+ {
+ "file": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "folder": "text_encoders",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "sizeGb": 27.14
+ },
+ {
+ "file": "minimax_h3_image_vae_fp16.safetensors",
+ "folder": "vae",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors",
+ "sizeGb": 1.17
+ },
+ {
+ "file": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "folder": "text_encoders",
+ "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
+ "sizeGb": 7.34,
+ "optional": true
+ }
+ ],
+ "customNodes": [],
+ "vramGb": 32,
+ "license": "MiniMax-H3-Image Community License (the MiniMax H3 Image model and its VAE): territory EXCLUDES the US, the EU, the UK and South Korea; annualized revenue above US$1M, or a hosted service for third parties, needs MiniMax's prior written authorization; show \"MiniMax-H3-Image\" on the product's interface; no outputs used to improve other AI models · MiniMax H3 Community License (the packaged Qwen3-VL-32B text encoder) · Qwen3.5 9B (the Prompt helper) Apache-2.0",
+ "validated": false,
+ "notes": "Comfy-Org's image_minimax_h3_image templates (workflow_templates 0.11.105) in API form, core nodes only, without the subgraph, ResolutionSelector, ComfySwitchNode, PreviewAny, image compare and notes. MiniMaxH3ImageConditioning (ComfyUI master from ede4e5fe, PR #17655) gives the positive conditioning and the latent the KSampler starts from; the negative is ConditioningZeroOut. 6 steps, CFG 1, euler / simple, denoise 1. Prompt helper (off unless params.extra.promptHelper is \"on\"): the words go into the template's task text (StringReplace on \"{input text}\"), TextGenerateV2 on Qwen3.5 9B w4a8 (thinking on, temperature 1, top_k 20, top_p 0.95, 8192 tokens) writes one JSON object, and JsonExtractString reads its expanded_caption. Off, skipPromptHelper links the conditioning's prompt to the \"Your words\" node and the helper's nodes go. The model is tuned for 2048 x 2048 of area (about 4 MP) and works up to about 16 MP (4096 x 4096 at 1:1). VRAM: measured on a 32 GB card (the DiT is 21 GB and the encoder 27 GB; ComfyUI offloads the encoder after it runs). The canvas is the run's aspect ratio at its size (2K: 2048 x 2048 of area; 4K: 4096 x 4096), on the 32 px grid."
+ },
+ {
+ "id": "minimax-h3-image-edit",
+ "title": "MiniMax H3 Image edit with up to 5 pictures (<Picture 1> is the one edited; 6 steps at about 4 MP)",
+ "capability": "edit",
+ "file": "minimax-h3-image-edit.json",
+ "source": "hand-built (scripts/comfy/hand-built/minimax-h3-image-edit.json)",
+ "bindings": {
+ "prompt": [
+ {
+ "node": "4",
+ "input": "value"
+ }
+ ],
+ "image": [
+ {
+ "node": "20",
+ "input": "image"
+ }
+ ],
+ "image2": [
+ {
+ "node": "21",
+ "input": "image"
+ }
+ ],
+ "image3": [
+ {
+ "node": "22",
+ "input": "image"
+ }
+ ],
+ "image4": [
+ {
+ "node": "23",
+ "input": "image"
+ }
+ ],
+ "image5": [
+ {
+ "node": "24",
+ "input": "image"
+ }
+ ],
+ "seed": [
+ {
+ "node": "7",
+ "input": "seed"
+ },
+ {
+ "node": "11",
+ "input": "sampling_mode.seed"
+ }
+ ],
+ "filenamePrefix": [
+ {
+ "node": "9",
+ "input": "filename_prefix"
+ }
+ ]
+ },
+ "outputs": [
+ {
+ "node": "9",
+ "kind": "image"
+ }
+ ],
+ "defaults": {},
+ "limits": {
+ "maxImages": 5
+ },
+ "models": [
+ {
+ "file": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "folder": "diffusion_models",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors",
+ "sizeGb": 20.98
+ },
+ {
+ "file": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "folder": "text_encoders",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "sizeGb": 27.14
+ },
+ {
+ "file": "minimax_h3_image_vae_fp16.safetensors",
+ "folder": "vae",
+ "url": "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors",
+ "sizeGb": 1.17
+ },
+ {
+ "file": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "folder": "text_encoders",
+ "url": "https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors",
+ "sizeGb": 7.34,
+ "optional": true
+ }
+ ],
+ "customNodes": [],
+ "vramGb": 32,
+ "license": "MiniMax-H3-Image Community License (the MiniMax H3 Image model and its VAE): territory EXCLUDES the US, the EU, the UK and South Korea; annualized revenue above US$1M, or a hosted service for third parties, needs MiniMax's prior written authorization; show \"MiniMax-H3-Image\" on the product's interface; no outputs used to improve other AI models · MiniMax H3 Community License (the packaged Qwen3-VL-32B text encoder) · Qwen3.5 9B (the Prompt helper) Apache-2.0",
+ "validated": false,
+ "notes": "Comfy-Org's image_minimax_h3_image templates (workflow_templates 0.11.105) in API form, core nodes only, without the subgraph, ResolutionSelector, ComfySwitchNode, PreviewAny, image compare and notes. MiniMaxH3ImageConditioning (ComfyUI master from ede4e5fe, PR #17655) gives the positive conditioning and the latent the KSampler starts from; the negative is ConditioningZeroOut. 6 steps, CFG 1, euler / simple, denoise 1. Prompt helper (off unless params.extra.promptHelper is \"on\"): the words go into the template's task text (StringReplace on \"{input text}\"), TextGenerateV2 on Qwen3.5 9B w4a8 (thinking on, temperature 1, top_k 20, top_p 0.95, 8192 tokens) writes one JSON object, and JsonExtractString reads its expanded_caption. Off, skipPromptHelper links the conditioning's prompt to the \"Your words\" node and the helper's nodes go. The model is tuned for 2048 x 2048 of area (about 4 MP) and works up to about 16 MP (4096 x 4096 at 1:1). VRAM: measured on a 32 GB card (the DiT is 21 GB and the encoder 27 GB; ComfyUI offloads the encoder after it runs). Each picture is fed as the template does: LoadImage, ResizeImageMaskNode to 4 MP (scale total pixels, area), then to the 32 px grid (scale to multiple, area), into MiniMaxH3ImageConditioning images.image_N; GetImageSize of Picture 1 after both resizes sets the width and height, so the result keeps Picture 1's shape at about 4 MP. Pictures not given are left out from the last (the conditioning takes them as optional inputs). The prompt names them <Picture 1> ... <Picture 5>. With the helper on, TextGenerateV2 also looks at Picture 1 (images.image1)."
+ },
{
"id": "qwen-image-edit-2509",
"title": "Qwen-Image-Edit 2509 (Lightning 4-step)",
diff --git a/workflows/comfyui/minimax-h3-image-edit.json b/workflows/comfyui/minimax-h3-image-edit.json
new file mode 100644
index 00000000..7cbf7c31
--- /dev/null
+++ b/workflows/comfyui/minimax-h3-image-edit.json
@@ -0,0 +1,450 @@
+{
+ "1": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image (pruned, int8 convrot)"
+ }
+ },
+ "2": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Qwen3-VL-32B text encoder (MiniMax H3, int8 convrot)"
+ }
+ },
+ "3": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "minimax_h3_image_vae_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image VAE"
+ }
+ },
+ "4": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "In <Picture 1>, change the dress to a liquid-silver satin evening gown"
+ },
+ "_meta": {
+ "title": "Your words"
+ }
+ },
+ "5": {
+ "class_type": "MiniMaxH3ImageConditioning",
+ "inputs": {
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "prompt": [
+ "12",
+ 0
+ ],
+ "width": [
+ "40",
+ 0
+ ],
+ "height": [
+ "40",
+ 1
+ ],
+ "images.image_1": [
+ "35",
+ 0
+ ],
+ "images.image_2": [
+ "36",
+ 0
+ ],
+ "images.image_3": [
+ "37",
+ 0
+ ],
+ "images.image_4": [
+ "38",
+ 0
+ ],
+ "images.image_5": [
+ "39",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Conditioning on the pictures (the helper's description, or your words when it is off)"
+ }
+ },
+ "6": {
+ "class_type": "ConditioningZeroOut",
+ "inputs": {
+ "conditioning": [
+ "5",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Empty negative"
+ }
+ },
+ "7": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "1",
+ 0
+ ],
+ "positive": [
+ "5",
+ 0
+ ],
+ "negative": [
+ "6",
+ 0
+ ],
+ "latent_image": [
+ "5",
+ 1
+ ],
+ "seed": 0,
+ "steps": 6,
+ "cfg": 1,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1
+ },
+ "_meta": {
+ "title": "Sampler (6 steps, CFG 1, euler / simple)"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAEDecode"
+ }
+ },
+ "9": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/minimax-h3-image-edit"
+ },
+ "_meta": {
+ "title": "SaveImage"
+ }
+ },
+ "10": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Prompt helper: Qwen3.5 9B (w4a8)"
+ }
+ },
+ "11": {
+ "class_type": "TextGenerateV2",
+ "inputs": {
+ "clip": [
+ "10",
+ 0
+ ],
+ "prompt": [
+ "13",
+ 0
+ ],
+ "max_length": 8192,
+ "sampling_mode": "on",
+ "sampling_mode.temperature": 1,
+ "sampling_mode.top_k": 20,
+ "sampling_mode.top_p": 0.95,
+ "sampling_mode.min_p": 0,
+ "sampling_mode.repetition_penalty": 1,
+ "sampling_mode.presence_penalty": 0,
+ "sampling_mode.seed": 0,
+ "thinking": true,
+ "use_default_template": true,
+ "mtp": "auto",
+ "system_prompt": [
+ "14",
+ 0
+ ],
+ "images.image1": [
+ "35",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper: your instruction to a full description, looking at Picture 1"
+ }
+ },
+ "12": {
+ "class_type": "JsonExtractString",
+ "inputs": {
+ "json_string": [
+ "11",
+ 0
+ ],
+ "key": "expanded_caption"
+ },
+ "_meta": {
+ "title": "Prompt helper's caption (expanded_caption)"
+ }
+ },
+ "13": {
+ "class_type": "StringReplace",
+ "inputs": {
+ "string": "You are an expert at enhancing a short image-editing instruction into a rich, vivid, reference-conditioned description of the intended finished target image.\n\n## What you are given\n- Input image(s), labeled sequentially starting from <Picture 1>. These are the user's source and reference images.\n- One short editing instruction. It may be terse, vague, informal, or phrased as a desired result rather than an imperative. The final text part supplies it as User Editing Instruction (JSON string).\n- User Aspect Ratio Selection: any concrete positive-integer W:H ratio, or adaptive, supplied in the final text part.\n- Each input image is immediately preceded by a Reference Media text part containing its <Picture N> label and aspect_ratio W:H. The caller has already reduced the image's original display width and height to their exact lowest integer ratio, after EXIF orientation and before preview resizing or padding. No pixel dimensions are supplied in this metadata. The ratio applies only to the immediately following image. The supplied aspect_ratio is the reference image's exact ratio, not necessarily the final target ratio. Use it as given; do not estimate the source ratio from the preview. Determine the final target ratio using the rules below. If the original dimensions are unknown, the metadata says aspect_ratio unavailable.\n- There is no target image. Construct the intended target from the visible source evidence and the instruction; never pretend to have observed a hidden result.\n\n## Response format\nReturn exactly one valid JSON object with exactly these two keys, both with string values:\n{\"expanded_caption\":\"COMPLETE_DESCRIPTION\",\"target_aspect_ratio\":\"W:H\"}\nResolve target_aspect_ratio using the rules below. Put the complete description in expanded_caption as one continuous paragraph with no actual line breaks. All narration, language, Subject, literal-text, and three-part rules below apply to expanded_caption, not to the outer JSON syntax or target_aspect_ratio. Use valid JSON escaping for quotes and backslashes without changing the decoded literal content. Do not output reasoning, a code fence, extra keys, or text outside this JSON object.\n\n## Target aspect ratio\nDetermine target_aspect_ratio before writing expanded_caption. Treat it as a constraint on the intended target image, adapting framing and composition while respecting the requested edit and reference-preservation requirements. Describe any necessary changes under the changed/new-content rules. User Aspect Ratio Selection is part of the user's request. A concrete selection governs conflicting canvas wording in the editing instruction; continue to honor all compatible content constraints. Do not mechanically copy reference metadata or routing explanations into expanded_caption, and do not treat metadata as lettering inside an image.\n\nReading aspect_ratio metadata alone must not create a <Subject N> or change a preservation relationship. However, when source framing, aspect ratio, or composition is independently preserved, changed, or borrowed, identify that source-derived scope under the rules below. If realizing the selected canvas actually changes framing, visible content, placement, or layout within a Subject's defined scope, reflect that change in its relationship and describe only the changed/new consequences in Part 3. Do not call the entire source composition fully preserved while changing it; do not automatically mark every Subject partially preserved merely because the canvas ratio differs. Limit any completion or reframing to what the user's edit and selected canvas require; preserve unrelated content.\n\nRead User Aspect Ratio Selection from the final input part.\n\nSpecified ratio:\nIf a concrete ratio is supplied, copy that exact string to target_aspect_ratio. Any positive-integer W:H ratio is allowed; it is not limited to a preset list. Neither the editing instruction nor a reference image may override it.\n\nAdaptive mode:\nOnly when the selection is adaptive, determine the aspect ratio of the intended finished target image, which may differ from the main reference image. Apply these rules in order:\n\n1. Follow an explicit final target ratio or target dimensions in the editing instruction. Use the requested final geometry rather than source or earlier geometry. Exact numeric geometry takes precedence over generic orientation. When only a final orientation is specified, use 21:9 for ultra-wide, 16:9 for landscape, 1:1 for square, and 9:16 for portrait.\n\n2. Otherwise, select the main reference that supplies the edited base canvas or overall target composition and has a usable aspect_ratio. Prioritize an explicitly designated canvas/composition reference, then the edited base, then an overall composition anchor. Break ties by Picture order and skip missing, invalid, or unavailable ratios. Images used only for identity, objects, color, or style do not determine the canvas.\n\n Use the main reference's aspect_ratio as the starting ratio. Copy it exactly unless the requested edit requires a different canvas shape. Proportional resizing or changing a subject's size alone does not require changing the ratio.\n\n When expansion or cropping changes the canvas shape, determine the ratio of the resulting target. If the available information unambiguously determines it, calculate it exactly and reduce it. For relative changes:\n target_ratio = reference_ratio × width_scale / height_scale,\n where both scales are relative to the original canvas.\n\n If the requested shape change does not determine a unique ratio, choose one that fits the intended result while preserving unrelated composition. Adjust it only as needed for the requested edit, not merely for aesthetics.\n\n3. If neither an explicit target requirement nor a usable main reference determines the ratio, output 16:9.\n\nApply these rules to the whole target canvas. Grid row/column counts, individual panels, objects inside the image, and literal text are not whole-canvas ratio requests. A portrait subject or wide-angle lens alone is not a target-orientation request. Do not use a reference board's ratio as the ratio of one panel.\n\nSerialize target_aspect_ratio as two positive integers in W:H form, with no spaces; never output adaptive. Preserve concrete user selections, explicit positive-integer target ratios in the instruction, and unchanged reference ratios exactly. Convert other explicit numeric ratios or target dimensions to their exact reduced integer ratio; reduce newly calculated or chosen ratios to their lowest integer form. Do not snap to preset ratios or clamp to a supported range.\n\nLater descriptive additions must not change the chosen ratio. Pixel-size resolution, 32 alignment, and downstream size fallback are outside this task.\n\n## Interpret the User's Intent Flexibly\nRead the instruction together with the input images and any context it supplies to understand the result the user actually wants. Terse wording, colloquial phrasing, shorthand, and requests such as 'complete this' may require reasonable interpretation and substantive completion. Do not mechanically echo the request, insist that the user prewrite every detail, or treat an illustrative example or category list as the only supported case.\n\nChoose the interpretation best supported by the visible evidence, the request's purpose, and ordinary context. Supply the visual or textual details needed to make that intended result complete and coherent, including directly supporting consequences. Be flexible in how you realize the request, but do not override explicit constraints, change specified literal wording without permission, invent source facts, or expand unrelated content. Keep the boundaries between preserved source content, requested changes, newly authored text, and actual image lettering clear.\n\n## Source-Grounded Content and New Target Content\nTreat source-derived content and instruction-introduced content differently. Source facts describe what is actually visible in the inputs; target changes describe the requested result. Source fidelity does not prohibit an explicitly requested transformation. Preservation is the default only outside requested changes and their necessary consequences.\n\nA) Descriptions of source facts and properties retained in the target must be strictly faithful. Ground identity, facial features, body shape, clothing, objects, colors, materials, text, data, count, pose, layout, scene, camera, lighting, and spatial relationships in the specific input picture where they are visible. Do not invent a source attribute, accessory, logo, word, number, object, or relationship. If something is genuinely illegible or ambiguous, describe that fact neutrally rather than guessing. When an unfamiliar source element lacks a reliable name, identify it using its location and distinctive visible cues rather than guessing its identity or function.\n\nB) Content newly introduced or substantially transformed by the instruction should still be imagined richly, concretely, and coherently. Within the changed or new scope, supply plausible visual specifics that make the requested result recognizable and renderable: materials, shapes, arrangement, depth, perspective, lighting direction, shadows, reflections, contact, overlap, occlusion, atmosphere, and surrounding details that naturally belong to the requested scene. A newly requested background, environment, design, or global style may be described as a complete vivid visual scope because that scope itself is new or changed. Do not make the answer skeletal merely to satisfy a delta format.\n\nWhenever the intended target needs visual content not already determined by a preserved Subject or an explicitly referenced property, reasonably imagine and concretely describe that new content. This applies to any new scene, entity, action, design, composition, or newly visible region, not only viewpoint changes. Treat unspecified details within that new scope as room for coherent creation, not a reason to leave it vague. Keep the invention consistent with the user's intent and remaining reference constraints; do not redesign preserved Subjects or alter properties that the request requires you to match. If a source Subject gains newly visible parts, keep its identity and Subject number; describe the plausible completion in Part 3, never as an observed source fact.\n\nCreative latitude stays inside the requested or directly supporting scope. Do not redesign unrelated source content or import incidental attributes from a donor picture merely to enrich the prose. Ground factual claims in the available reference and instruction; do not invent unsupported specifics and present them as real. Explicitly requested fictional names or illustrative sample data may be authored as fictional or illustrative target content, never as recovered source facts or verified real-world information. Omit unsupported specifics, not the requested writing itself, and do not add unrelated text beyond the requested scope.\n\nComplete every textual deliverable the user asks you to write, supplement, finish, expand, rewrite, or otherwise provide. If exact wording is not supplied, compose the complete final wording yourself; missing wording is not a reason to leave the content unspecified. This applies to any requested textual deliverable, not limited to particular genres or to text inside an image. Requested wording is the deliverable itself, not forbidden restatement of the user's instruction. Do not delegate completion to the downstream model.\n\n## Output contract\nWrite expanded_caption as one continuous plain-text paragraph. Do not add structural headings, labels, bullets, markdown, preamble, reasoning, notes, or meta-commentary to the narration. Literal content may contain such words or symbols when they belong to source text or requested writing. The paragraph has three logical parts, in this order:\n1. natural definitions of the relevant source-derived <Subject N> elements;\n2. one target overview followed by a separate preservation/change relationship clause for every defined Subject;\n3. Changed and Newly Introduced Target Details Only, together with the complete wording of any textual deliverable the user asks you to provide.\n\nDetermine each requested text's destination from the instruction. If it belongs in the image, include its literal wording and describe placement as needed. If it is requested only as a textual response, provide it as text alongside the visual delta; do not turn it into a sign, caption, label, or other image element. Quoting a textual deliverable does not mean that it should be rendered in the image.\n\nComplete all Subject definitions before the target overview. Do not expose structural commands such as 'Define', 'Let', 'Identify', 'Section 1', 'Section 2', or 'Section 3' as narration. Write natural element-first definitions, for example, 'The woman in a red coat in <Picture 1> is <Subject 1>.' Refer to the intended visual result only as 'the target image'. Narrate the result, not the user's instruction or an imperative such as 'generate' or 'please create'; this does not prohibit exact supplied text or requested authored text from containing those words. If no source-derived element is retained or referenced, omit Subject definitions and relationships and begin with the target overview; do not invent a Subject to fill the structure.\n\n## Part 1: Natural Reference Element Identification\nAssign <Subject N> only to source-derived elements that remain visible or traceable in the intended target, or that provide a visible transferred or borrowed property. Every definition must name its source with an explicit <Picture N> and concise visible cues sufficient to uniquely identify the referenced object, region, or property. Add detail only to resolve ambiguity or clarify the reference/edit scope, not to restate its full appearance. Keep the full text/data transcription required below; concise identification must not omit readable content. List source pictures individually; never use ranges or vague phrases such as 'the reference images', 'the previous images', 'all inputs', or 'these pictures'. Use one number for the same convincingly identified person or element across pictures, and keep clearly different identities separate.\n\nWhen only a source property is needed, define that property rather than the entire source object; use the source object or region to locate the property. Give the source object its own Subject only if it is independently used in the target.\n\nChoose Subject granularity by relationship scope, not by a quota. An element that is independently moved, recolored, restyled, reposed, recounted, replaced while remaining traceable, or used as a donor should be independently addressable. Split a part, pose, layout, palette, lighting setup, text block, garment, accessory, held object, or background only when it needs its own preservation/change judgment. Do not mechanically split an ordinary person into face, hair, hands, every garment, and every accessory when those parts move together and have no independent role. Do not force one Subject per picture, and do not define incidental objects merely to make the inventory longer.\n\nJudge preservation over the scope actually defined. A parent Subject cannot be fully preserved if a changed child remains inside its scope, even when the child has a separate number. A genuinely unchanged narrower region or identity may be defined explicitly, but do not call the whole person, object, or scene unchanged while editing part of it. Do not transcribe the same source field again through an overlapping parent or child Subject.\n\nThe identifiable types include the following when independently relevant:\n- Entity type: a person, animal, object, creature, garment, accessory, prop, vehicle, furniture item, or other concrete entity.\n- Scene/background type: a room, landscape, street, stage, tabletop, architecture, or other environment preserved, changed, or used by the target.\n- Attribute/style type: a source-derived texture, material language, visual medium, design style, typography, border treatment, or other transferable visible quality.\n- Shared-element type: one convincingly identical visual element shown across several pictures; define it once and list every source picture.\n- Multi-form reference type: one source element used in several intended target forms, such as a physical figure, package artwork, screen render, or line drawing; define it once and distinguish the forms later.\n- Data-bearing chart/table/plot/document type: do not collapse readable data into one undifferentiated Subject. Identify the source-derived series, bars, lines, slices, columns, labeled groups, axes, titles, legends, headers, fields, and readable cells needed to preserve or edit the visible data faithfully.\n- Dense/multi-line text type: identify every clearly readable source-derived line or field in a document, slide, poster, menu, search interface, caption block, subtitle group, or UI region. Either define lines separately or define one coherent block while transcribing its lines literally and in order; do not replace readable content with a vague 'text' Subject.\n- Text/watermark type: identify an isolated watermark, brand text, subtitle, label, sign, logo text, or other short readable element, and state its clearly readable literal content once in Part 1. Later use its Subject token unless that text is intended to change.\n- Part/region type: hair, a sleeve, a wheel, a screen area, a poster corner, a body region, a panel, or another local part that needs its own relationship judgment.\n- Spatial-layout/composition type: framing, aspect ratio, grid or split-screen geometry, panel order, placement scheme, image-text hierarchy, or whitespace when the arrangement itself is preserved, changed, or borrowed.\n- Color/palette/lighting type: a source color, palette, color grade, illumination direction, warmth, contrast, shadow design, or lighting setup when color or light itself is independently referenced. Locate the specific source object or region; for example, 'The color of the cup's body in <Picture 1> is <Subject 1>.'\n- Pose/action type: a source-derived posture, gesture, gaze, body orientation, action, or interaction that is preserved, changed, or transferred.\n- Logo/symbol/icon type: a graphical emblem, symbol, UI icon, or pictographic mark; handle any readable words under the text rules.\n- Embedded/thumbnail type: a complete or cropped source picture embedded in the target as a panel or thumbnail.\n- Partial-crop type: a target crop or zoom whose visible content comes from a specific region of a source picture.\n\nThese fifteen types form the complete supported taxonomy, not a per-example checklist or quota. Use every applicable type supported by the input images and the instruction when it needs an independent relationship judgment, but never create an inapplicable Subject merely to instantiate a type. The more specific part/layout/light/pose/icon types exist to prevent an independently changed unit from being buried inside an oversized Subject, not to force mechanical over-splitting.\n\nBrand-new target-only content has no <Subject N>. A source element explicitly removed or wholly replaced and not otherwise reused also has no Subject number; if necessary, identify it once with its <Picture N> in the target overview, then describe the positive completed region in Part 3. Editing or translating a source text field is a traceable change to that field, not removal of the entire element: retain its Subject when needed to locate the edit, record its original wording in Part 1, and give its full resulting wording in Part 3. Every defined Subject must receive a relationship later and must not be defined merely to say that it is absent, removed, unused, or forgotten.\n\nReadable source text and data require special care. For every defined source-derived chart, table, document, UI, text block, or isolated text element, transcribe exactly once in Part 1 every clearly readable source-state line, character, label, value, axis title, axis tick, legend entry, table header, field, and readable cell, including a source literal that the instruction intends to change. Preserve the original language, script, grouping, and reading order. Do not omit a clearly readable value merely because it is unchanged or peripheral to the main edit. Never guess hidden, cropped-away, or illegible source text.\n\nFor grouped or clustered bars, radar charts, multi-panel plots, and many-point plots, enumerate every clearly readable value rather than summarizing the display. Check counts only when the chart's visible semantics require them: grouped bars against the legend, radar values against the axes, and mutually exclusive percentage parts of a complete whole against approximately 100 percent. Do not impose those assumptions on unrelated chart types or incomplete, overlapping, or multi-select categories. If the source itself contains a genuine inconsistency, missing series, or illegible value, record only the visible evidence or the uncertainty in Part 1; never silently normalize or repair the source record. An explicitly requested correction belongs in the target changes and must use supplied or derivable values, not guessed real data. Exhaustive transcription does not require one Subject per value or line: a coherent series, row, field group, or text block may remain one Subject when its literals are fully enumerated and it does not need separate relationship judgments. These checks apply only where the relevant marks and values are actually readable, and they do not require turning an ordinary non-data image into a chart inventory.\n\n## Part 2: Target Overview and Reference Relationships\nAfter the definitions, write one natural sentence beginning with 'The target image'. Foreground the primary intended changed or new state and describe the overall result using the defined Subject tokens where appropriate. Target-only new content remains unnumbered. The overview may summarize several requested changes, but it should remain an overview rather than a second detailed caption.\n\nThen give every defined Subject exactly one whole-subject relationship in its own independent clause. Give each Subject its own relationship clause; do not combine several Subjects into one relationship statement, even when they share the same degree. Keep the prose natural without imposing a fixed sentence length, a fixed Subject count, or a target frequency for any relationship type. Use these four relationships:\n\n- Fully preserved: use only when the whole Subject is unchanged in identity, appearance, count, pose or state, position, topology, and intended target role. Write only the short standalone clause '<Subject N> is fully preserved.' Give each fully-preserved Subject its own sentence; never merge multiple Subjects into one fully-preserved clause. Do not append a checklist, explanation, source citation, or visual description to a fully-preserved clause.\n- Partially preserved: use when the Subject remains traceable but at least one relevant property changes. State the retained categories needed to anchor identity and the changed categories, including a concrete before-to-after relationship when the source and instruction determine it. Do not exhaustively re-render retained appearance.\n- Attribute transfer: use when a specific source-derived property is directly reused or matched on a target carrier. Name the source Subject, the transferred property, and the target carrier. Transfer only the assigned property, not unrelated donor attributes.\n- Weak reference: use when the source guides a general style, palette, atmosphere, composition principle, or similar quality without requiring a specific property to be matched exactly. Name the borrowed quality and make clear what the new design may vary. Choose by the requested use of the reference, not merely by whether the property is called a color, style, or palette.\n\nAttribute-transfer example: the user wants the coat in <Picture 2> to match the cup's body color in <Picture 1>. Part 1 defines that color as <Subject 1> and the coat as <Subject 2>. The relationship clauses can be '<Subject 1> supplies the exact color transferred to <Subject 2>. <Subject 2> is partially preserved; its color changes while its cut and material remain.' The cup's shape and material are not transferred.\n\nWeak-reference example: the user wants a new abstract composition inspired by a landscape's palette, without copying it exactly. Part 1 defines the landscape's palette as <Subject 1>. The relationship clause can be '<Subject 1> serves as a weak palette reference for the new abstract composition; related colors are redistributed among geometric blocks, with freely adapted proportions and placement.' The new composition has no Subject number. These examples illustrate the distinction, not a restriction of either relationship to color tasks.\n\nFor a Subject used in several target forms or instances, judge the intended uses together. A mix of unchanged and transformed or additional instances is partially preserved overall; distinguish those uses within that Subject's own relationship statement. Do not call the entire Subject fully preserved just because one instance is unchanged. If only a property is borrowed, use the appropriate transfer or weak-reference relationship. If a donor object remains unchanged while its color or another property is transferred elsewhere, define that property separately so the object's preservation and the property's transfer have distinct scopes.\n\nThe relationship must agree with the described target. If a requested change or its necessary integration changes a Subject's position, orientation, count, topology, role, pose, expression, clothing, color, material, lighting, state, or other property within its defined scope, the whole Subject is not fully preserved. If later changed-detail prose genuinely needs to describe a change to a Subject, classify that Subject as partially preserved instead. A source carrier may remain fully preserved while one of its properties is transferred outward; do not mark the carrier partial unless the carrier itself changes. Conversely, new shadows, reflections, occlusion, or relighting on the carrier count as changes where they affect its defined appearance; do not hide them behind a fully-preserved judgment.\n\nFor partially preserved chart, table, document, UI, and text-block Subjects, state which categories are retained and which change. For a fully preserved chart or text Subject, use only the standard fully-preserved sentence, not an extra checklist. Keep relationship statements compact: use Part 1 as the source-side record and leave complete changed or newly authored wording and values for Part 3. Do not duplicate old literals in a before-to-after phrase or new literals in both the relationship and detail blocks.\n\nTreat unmentioned source-derived content as stable by default, but do not let that conservative baseline suppress the requested imagination. The changed/new target scope may still be rich. Direct semantic, spatial, physical, compositional, environmental, camera, and lighting consequences of the requested change are part of the changed scope and may be described.\n\n## Part 3: Changed and Newly Introduced Target Details Only\nThis final logical block is a richly rendered visual delta, not a standalone T2I re-caption of the whole target image. Also supply the requested textual deliverables. For visual description, cover only:\n- the concrete final appearance of source-derived attributes that actually change;\n- target-only people, objects, text regions, environments, panels, charts, layouts, effects, or other content introduced by the instruction;\n- the newly exposed or positively completed surface or space left by a removal, or the positive new occupant of a replacement;\n- plausible supporting details inside the changed/new scope that make it visually recognizable and coherent;\n- direct integration consequences involving scale, orientation, contact, overlap, occlusion, perspective, depth, shadow, reflection, lighting, material response, anatomy, support, camera framing, or composition.\n\nThis changed/new-only rule does not impose terse writing. A newly introduced restaurant, fantasy landscape, product design, comic panel, interface, lighting scheme, or global style may be described vividly and comprehensively because that entire requested scope is new or changed. Likewise, a transformed garment, pose, object, chart, or layout may receive enough concrete detail to be rendered reliably. Be imaginative where the instruction creates room for imagination; simply keep that imagination inside the changed/new scope instead of using it to re-caption preserved source content.\n\nStrict non-repetition rules:\n- After a Subject is classified as fully preserved, never visually describe that Subject again. A later sentence may use only the bare <Subject N> token as the minimum spatial or interaction anchor needed to locate changed or new content, for example, 'A new luminous pearl rests beside <Subject 2>.' Do not attach an adjective, color, material, shape, part, pose, position, role, or other appearance detail to that preserved Subject.\n- For a partially preserved Subject, Part 3 describes only its changed attributes and their concrete intended final appearance. Do not repeat the detailed appearance of retained identity, clothing, body, object, scene, or layout attributes already grounded in Part 1 or named as retained in Part 2.\n- For attribute transfer or weak reference, describe only how the transferred or borrowed quality is realized on the intended target carrier. Do not import or re-render unrelated donor properties.\n- Do not repeat fully preserved source text or data as visual description; use the Part 1 record and bare <Subject N> references. If the user separately requests a complete transcription or quotation as a textual deliverable, write that deliverable in full even when it repeats source wording; this is required output content, not redundant visual description.\n- Write every changed or target-only text/data field and requested textual deliverable in full. Use exact supplied or deterministically derived results; preserve every supplied character within each line, including punctuation, capitalization, order, and language, unless the user explicitly requests translation or another textual transformation, in which case write its actual result. If a line is edited, write the complete resulting line, not merely the changed word or numeric difference; do not recopy separate unaffected lines as visual description. Never substitute a <Subject N> token, a description or writing instruction, placeholders, omitted middles, 'etc.', 'and so on', or ellipses for requested content; preserve an ellipsis that belongs to supplied literal text.\n- Do not describe an unchanged background, person, object, pose, camera, light, style, or image-quality property merely to make the paragraph resemble a complete T2I caption.\n- If no changed or newly introduced detail remains beyond the overview and relationship statements and no requested textual deliverable remains to be supplied, stop. Never pad the output with preserved appearance.\n\nFor example, for a reference showing a lakeside path and hills, a request to write a scenic introduction requires actual copy such as '沿着湖畔步道缓缓前行,欣赏湖水与远山相映的景色,在悠闲漫步中感受旅途的宁静。', not 'a paragraph introducing the attraction'. This illustrates completion and is not a restriction to travel copy or permission to reuse these words in unrelated tasks.\n\nCorrect pattern: 'The black horse in <Picture 1> is <Subject 1>. The target image shows <Subject 1> beside a newly added luminous pearl. <Subject 1> is fully preserved. The pearl emits a cool glow onto the ground beside <Subject 1>.' The final sentence describes the new pearl and its integration while using the bare Subject only as an anchor.\n\nIncorrect pattern: '<Subject 1> is fully preserved. <Subject 1> is a muscular black horse with segmented dark armor and a long mane.' The second sentence is a T2I-style re-caption of preserved content and must be omitted.\n\nCorrect partial pattern: '<Subject 1> is partially preserved; its identity and body armor remain, while its bare head changes to an ornate helmet. The new helmet has a pointed silver crest, a red plume, and shadows that follow the existing head orientation.' Do not subsequently re-describe the retained face, body, or armor.\n\nFor exact reference-color or palette matching, use the defined color or palette <Subject N> to specify where it is applied on the target. The visible reference, not an approximate color name, determines the color; do not replace it with inferred color names or guessed RGB/HEX values. Honor explicit user-supplied colors or values, and do not transfer unrelated donor material or lighting unless requested.\n\nWhen describing a grid, multi-panel image, storyboard, table-like arrangement, or other row-and-column layout, state the row count and column count explicitly, either in words such as '2 rows and 3 columns' or with labeled multiplication notation such as '2 x 3 (rows x columns)' or '3 x 2 (columns x rows)'. Multiplication notation is allowed; specify which number denotes rows and which denotes columns. Do not use an unlabeled '2 x 3' or '2×3' alone. When relevant, describe the cell contents in top-to-bottom row order and left-to-right column order, and name which row and column contains each changed or newly introduced element.\n\nFor uneven rows, merged cells, or a freeform composition, describe the actual arrangement directly, such as 'the top row has three panels and the bottom row has two', with positions and spans as needed; do not impose a rectangular grid that is not intended. If shorthand in the instruction is ambiguous, use the reference and context to interpret the intended arrangement and express the chosen row/column meaning explicitly. Record relevant unchanged source layout in the Subject definitions without repeating it after a fully-preserved judgment; Part 3 describes changed or new layout only. This wording rule does not authorize altering supplied literal text containing dimension notation.\n\n## Final language and self-check\nWrite all descriptive and relationship prose in fluent English, regardless of the language of the user instruction. For newly authored requested copy, use the user's requested language, or otherwise the language of the user's request. Keep literal text and completed requested textual deliverables in single quotes to distinguish them from the surrounding English visual description and relationship prose, preserving apostrophes and other punctuation inside the literal text. Represent multi-line literal content inline as separate quoted lines in reading order, describing the intended line breaks or layout in prose rather than inserting actual newline characters into the response.\n\nUse objective, concrete visual language. Richness should come from precise changed/new appearance and coherent integration, not from repetition. Describe visible expressions rather than asserting unobservable thoughts or feelings. Preserve expressions outside the changed scope; expressions for newly introduced or transformed people may be reasonably imagined within the request. Write reference markers <Picture N> and <Subject N> directly without backticks; do not rewrite a literal text string merely because it contains similar words or symbols.\n\nBefore answering, verify:\n- every source visual fact is visible in a named <Picture N>, and every intended change is supported by the editing instruction or User Aspect Ratio Selection and their necessary consequences; reference aspect ratios come only from the supplied metadata;\n- the output still imagines instruction-introduced content richly enough to be recognizable and renderable;\n- every Subject definition is concise but unambiguous about its source and reference scope, without unnecessary appearance detail or missing required text/data;\n- every Subject is naturally defined before use and has its own independent relationship clause, never merged with another Subject;\n- every fully preserved Subject has its own exact '<Subject N> is fully preserved.' sentence and receives no later visual re-description;\n- no fully preserved parent contains an edited child, and mixed target forms or integration effects are reflected in the relationship;\n- every partially preserved Subject repeats no detailed retained appearance in Part 3;\n- donor attributes do not leak beyond the property requested;\n- target-only and removed-only content has no Subject number;\n- every applicable reference-element type is supported without treating the taxonomy as a per-example quota;\n- source text/data is recorded once in Part 1 without guessing, repairing, or translating the source record;\n- all requested target text and textual deliverables are complete and literal, with source repetition only for an explicitly requested transcription or quotation;\n- each textual deliverable has the requested image or text-only destination;\n- Part 3's visual description contains changed/new content and direct integration only, with no whole-frame T2I padding;\n- all non-literal descriptive and relationship prose is English, while quoted source, user-specified, or newly authored requested text uses its required language and script;\n- any grid layout described makes the row count and column count unambiguous, either in words or with explicitly labeled multiplication notation, with positions or uneven-row structure clarified where needed;\n- expanded_caption is one fluent, complete paragraph with no structural meta-language in the narration; multi-line literals retain their wording, reading order, and intended line boundaries through inline quoted lines;\n- target_aspect_ratio copies any concrete user selection exactly; in adaptive mode, it preserves the main reference ratio when no canvas-shape change is required and reflects any requested expansion or cropping; expanded_caption and its preservation relationships agree with the final canvas;\n- the final answer is a valid JSON object containing only the two string fields target_aspect_ratio and expanded_caption.\n\nOutput only the required two-field JSON object.\nUser input: {input text}\noutput_text:\n",
+ "find": "{input text}",
+ "replace": [
+ "4",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper's task, with your words in it"
+ }
+ },
+ "14": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
+ },
+ "_meta": {
+ "title": "Prompt helper's system prompt"
+ }
+ },
+ "20": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 1 (the picture edited)"
+ }
+ },
+ "21": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 2"
+ }
+ },
+ "22": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 3"
+ }
+ },
+ "23": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 4"
+ }
+ },
+ "24": {
+ "class_type": "LoadImage",
+ "inputs": {
+ "image": "example.png"
+ },
+ "_meta": {
+ "title": "Picture 5"
+ }
+ },
+ "30": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "20",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 1 at 4 MP"
+ }
+ },
+ "31": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "21",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 2 at 4 MP"
+ }
+ },
+ "32": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "22",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 3 at 4 MP"
+ }
+ },
+ "33": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "23",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 4 at 4 MP"
+ }
+ },
+ "34": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "24",
+ 0
+ ],
+ "resize_type": "scale total pixels",
+ "resize_type.megapixels": 4,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 5 at 4 MP"
+ }
+ },
+ "35": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "30",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 1 on the 32 px grid"
+ }
+ },
+ "36": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "31",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 2 on the 32 px grid"
+ }
+ },
+ "37": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "32",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 3 on the 32 px grid"
+ }
+ },
+ "38": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "33",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 4 on the 32 px grid"
+ }
+ },
+ "39": {
+ "class_type": "ResizeImageMaskNode",
+ "inputs": {
+ "input": [
+ "34",
+ 0
+ ],
+ "resize_type": "scale to multiple",
+ "resize_type.multiple": 32,
+ "scale_method": "area"
+ },
+ "_meta": {
+ "title": "Picture 5 on the 32 px grid"
+ }
+ },
+ "40": {
+ "class_type": "GetImageSize",
+ "inputs": {
+ "image": [
+ "35",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Canvas: Picture 1's size"
+ }
+ }
+}
diff --git a/workflows/comfyui/minimax-h3-image-t2i.json b/workflows/comfyui/minimax-h3-image-t2i.json
new file mode 100644
index 00000000..803d8bf8
--- /dev/null
+++ b/workflows/comfyui/minimax-h3-image-t2i.json
@@ -0,0 +1,213 @@
+{
+ "1": {
+ "class_type": "UNETLoader",
+ "inputs": {
+ "unet_name": "minimax_h3_image_pruned_int8_convrot.safetensors",
+ "weight_dtype": "default"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image (pruned, int8 convrot)"
+ }
+ },
+ "2": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3vl_32b_minimax_h3_int8_convrot.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Qwen3-VL-32B text encoder (MiniMax H3, int8 convrot)"
+ }
+ },
+ "3": {
+ "class_type": "VAELoader",
+ "inputs": {
+ "vae_name": "minimax_h3_image_vae_fp16.safetensors"
+ },
+ "_meta": {
+ "title": "MiniMax H3 Image VAE"
+ }
+ },
+ "4": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "A neat poster that reads \"FUOBE\" in bold letters"
+ },
+ "_meta": {
+ "title": "Your words"
+ }
+ },
+ "5": {
+ "class_type": "MiniMaxH3ImageConditioning",
+ "inputs": {
+ "clip": [
+ "2",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ],
+ "prompt": [
+ "12",
+ 0
+ ],
+ "width": 2048,
+ "height": 2048
+ },
+ "_meta": {
+ "title": "Conditioning and canvas (the helper's caption, or your words when it is off)"
+ }
+ },
+ "6": {
+ "class_type": "ConditioningZeroOut",
+ "inputs": {
+ "conditioning": [
+ "5",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Empty negative"
+ }
+ },
+ "7": {
+ "class_type": "KSampler",
+ "inputs": {
+ "model": [
+ "1",
+ 0
+ ],
+ "positive": [
+ "5",
+ 0
+ ],
+ "negative": [
+ "6",
+ 0
+ ],
+ "latent_image": [
+ "5",
+ 1
+ ],
+ "seed": 0,
+ "steps": 6,
+ "cfg": 1,
+ "sampler_name": "euler",
+ "scheduler": "simple",
+ "denoise": 1
+ },
+ "_meta": {
+ "title": "Sampler (6 steps, CFG 1, euler / simple)"
+ }
+ },
+ "8": {
+ "class_type": "VAEDecode",
+ "inputs": {
+ "samples": [
+ "7",
+ 0
+ ],
+ "vae": [
+ "3",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "VAEDecode"
+ }
+ },
+ "9": {
+ "class_type": "SaveImage",
+ "inputs": {
+ "images": [
+ "8",
+ 0
+ ],
+ "filename_prefix": "fuobe/minimax-h3-image-t2i"
+ },
+ "_meta": {
+ "title": "SaveImage"
+ }
+ },
+ "10": {
+ "class_type": "CLIPLoader",
+ "inputs": {
+ "clip_name": "qwen3.5_9b_w4a8_gptq.safetensors",
+ "type": "minimax",
+ "device": "default"
+ },
+ "_meta": {
+ "title": "Prompt helper: Qwen3.5 9B (w4a8)"
+ }
+ },
+ "11": {
+ "class_type": "TextGenerateV2",
+ "inputs": {
+ "clip": [
+ "10",
+ 0
+ ],
+ "prompt": [
+ "13",
+ 0
+ ],
+ "max_length": 8192,
+ "sampling_mode": "on",
+ "sampling_mode.temperature": 1,
+ "sampling_mode.top_k": 20,
+ "sampling_mode.top_p": 0.95,
+ "sampling_mode.min_p": 0,
+ "sampling_mode.repetition_penalty": 1,
+ "sampling_mode.presence_penalty": 0,
+ "sampling_mode.seed": 0,
+ "thinking": true,
+ "use_default_template": true,
+ "mtp": "auto",
+ "system_prompt": [
+ "14",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper: your words to a full caption"
+ }
+ },
+ "12": {
+ "class_type": "JsonExtractString",
+ "inputs": {
+ "json_string": [
+ "11",
+ 0
+ ],
+ "key": "expanded_caption"
+ },
+ "_meta": {
+ "title": "Prompt helper's caption (expanded_caption)"
+ }
+ },
+ "13": {
+ "class_type": "StringReplace",
+ "inputs": {
+ "string": "You are a caption-expansion and canvas-selection model for still-image\ntext-to-image generation. Rewrite input_text into a natural English detailed\ncaption and choose one aspect ratio for the requested final image. After private\nreasoning, serialize the complete caption and aspect ratio together as the one\nrequired two-key JSON object; no visible analysis, markdown, or self-talk. The\ncaption may be long when the requested image is a complex information or design artifact.\n\nRole: act like an expert visual designer and technical illustrator, not a word\nexpander. Preserve every hard fact from the input, then complete the image with\nvisible, inspectable content. The goal is not more words; the goal is that a\nviewer can inspect each important part of the image and find meaningful subjects,\nlabels, relationships, materials, data, and hierarchy.\n\nFirst choose which kind of image this is:\n- A depicted scene or photograph: prioritize subject identity, pose, contact,\nscale, environment, lighting, lens/medium, and physical plausibility.\n- A communication artifact such as poster, character card, product-design board,\nwebpage, UI, chart, dashboard, scientific/medical infographic, technical diagram,\nprinted page, packaging, cover, or multi-panel composite: build a finished\ninformation architecture, not just a scene containing the requested objects.\n\nAspect-ratio decision policy:\nChoose exactly one of these allowed ratios: 1:1, 5:4, 4:3, 3:2, 16:9, 21:9,\n4:5, 3:4, 2:3, or 9:16. Decide in the following order; earlier evidence\noverrides later evidence.\n\n1. Explicit final canvas\n- Preserve an explicit final-output ratio. Map explicit output pixel dimensions\n by width divided by height to the closest allowed ratio.\n- Do not confuse the final canvas with a source image, reference asset, object,\n inset, collage cell, or embedded screen.\n\n2. Requested deliverable\n- Use an explicitly requested medium or display surface. Treat each carousel\n page, card, or slide as its own canvas unless a contact sheet, storyboard,\n continuous strip, or combined overview is explicitly requested.\n- Prefer square or near-square for individual social posts, icons, avatars,\n compact logos, or compact product assets; vertical for covers, posters, phone\n stories, or mobile wallpapers; horizontal for slides, headers, banners, or\n explicitly wide displays. Do not invent a platform or deliverable.\n\n3. Primary composition\n- The main subject, action, or information structure outweighs optional context.\n A generic room, park, forest, sky, or cinematic background must not turn a\n focused subject horizontal.\n- Prefer vertical for dominant upright or full-body subjects, tall structures,\n stacked information, rising or falling motion, upward reach, or vertical\n negative space. Prefer horizontal for genuinely side-by-side structure,\n lateral action, broadly distributed subjects, a requested broad environment,\n horizontal sequences, or lateral negative space. Prefer square or near-square\n for compact, centered, radial, symmetrical, or directionally neutral content.\n\n4. Minimal completion and ratio strength\n- If the input is underspecified, form the smallest natural, content-preserving\n composition needed to choose a ratio. Lock it before adding detailed scenery\n or styling; do not invent a panorama, broad environment, or multi-panel layout\n to justify it, and do not revise it because later expansion adds detail.\n- Words such as \"portrait,\" \"cinematic,\" \"video,\" \"UE5,\" \"Weta,\"\n \"photorealistic,\" \"dramatic,\" and \"wide-angle\" do not determine orientation.\n- Use 5:4 or 4:5 for mild direction, 4:3 or 3:4 for moderate direction, and\n 3:2 or 2:3 for clear photographic direction. Reserve 16:9 and 9:16 for\n strongly directional or mobile-first compositions, and 21:9 for genuine\n banners, panoramas, timelines, or explicitly continuous wide layouts. When\n evidence remains weak, prefer 1:1 or a moderate ratio.\n\nChoose and lock the ratio from the requested canvas, deliverable, and smallest\nnatural primary composition before enriching the caption. Later details added by\nthe caption-expansion rules must not retroactively change the ratio.\n\nUniversal hard rules:\n1. Preserve exact requested text, named entities, counts, formulas, data values,\ncomponent names, style, medium, orientation, and left/right/top/bottom order.\n2. Required content must be visible, not implied. If text or a label is requested,\nplace it on the surface and describe where it sits.\n3. For active bodies, solve scene geometry before pose detail. Preserve any\ndomain-native layout first: a sport court, game grid, path, lane, stair, room,\nor interface should keep its recognizable structure unless the input changes\nit. Do not move the target or redesign the ground merely to obtain a preferred\nbody view. Choose one camera only after the scene layout is fixed, then place\nthe source and target in that camera's image frame using screen-left/screen-\nright, upper/lower image position, and nearer/farther depth. Silently trace the\nsource-to-target vector in this fixed view. Derive the actor's camera-relative\norientation from that vector and state it explicitly as front-facing, back-\nfacing, left-facing profile, right-facing profile, front three-quarter, or rear\nthree-quarter, together with a frame-absolute motion direction such as leftward,\nrightward, toward the camera/foreground, or away from the camera/deeper into the\nscene. Never use only a target-relative phrase such as \"facing square 2\" or\n\"looking toward the door\". The mapping follows the chosen geometry rather than\na fixed default: a target at screen-right implies a right-facing or rightward\nbody; a target at screen-left implies a left-facing or leftward body; a target\nfarther into the scene implies a back-facing or rear-three-quarter body moving\naway; and a target nearer the camera implies a front-facing or front-three-\nquarter body moving toward the viewer. These are coordinate mappings, not\ninstructions to relocate every target. Verify the visible body surfaces before\nwriting: movement away must show the back, back of the head, or rear shoulders\nand must not show a frontal chest or full face; movement toward the camera must\nshow the face and chest; lateral movement must read as the corresponding side\nprofile. If the stated source/target positions and visible body surfaces imply\nopposite directions, revise the body orientation instead of changing the scene\nlayout. Keep gaze, chest, torso lean, leading limb, support foot or hand, and\nmotion consistent with the derived orientation and with one frozen phase. A\nlimb cannot be simultaneously ahead and behind, planted and airborne, or\nassigned to two contacts. For actions on marked ground, use an elevated high-angle oblique or near-\noverhead three-quarter camera, never a low ground-level view. Center the camera on the complete ground map and make it the dominant, fully\ncontained region of the image: show its outer boundary, every cell or segment,\nthe source, target, and full travel path. After deriving the source-to-target\nvector, place the actor's torso outside the map on the ray extending backward\nfrom the source in the direction opposite the target. Do not move the actor to\nan arbitrary side margin if that would change the apparent travel direction.\nOnly the support foot may enter the near edge of the source cell, leaving its\nlabel visible; place the leading foot in the source-target direction near their\ngap. Keep torso, limbs, hair, clothing, and cast shadow outside every later cell\nand label. Widen or elevate the camera framing rather than rotating the actor or\nrelocating the target. This placement must preserve the previously derived front,\nback, left, right, or three-quarter camera-relative orientation. Preserve conventional topology and perspective, keep every label upright and\nlarge enough to read, and show each requested label exactly once in order. If\nthe input does not specify label colors or materials, use one neutral, uniform,\nhigh-contrast marking style for every label; unspecified styling is not permission\nto assign a different color to each item. Keep the actor's hands empty unless the\ninput names a held object. Do not add loose markers, stones, chalk pieces, buckets,\nropes, toys, shadows, limbs, or cropping over any label or grid line.\nPreserve a plausible silhouette and avoid broken foreshortening, hidden critical\njoints, mirrored layouts, alternative camera choices, and blended before-and-\nafter poses. For emotion-driven photo or video frames, keep facial anatomy\nnatural and consistent with the selected viewpoint.\n4. For hands, grips, linked fingers, hugs, carrying, pointing, tools, weapons, or\nbody-object contact, choose the framing that makes the interaction readable. Use\na medium shot or waist-up view when hand/facial detail is central; do not force a\nfull-body view if it makes the required contact or expression tiny. State which\nhand or limb touches what, how the fingers or support points align, and keep\nnonessential limbs simple.\n5. Use world knowledge as visible evidence only: cultural motifs, scientific\nstructures, medical anatomy, interface conventions, manufacturing details,\nprofessional tools, materials, units, labels, measurement marks, clothing, props,\narchitecture, or environment. Do not add lore that cannot be seen.\n6. Respect requested subject count. If the prompt names event types, two\ncharacters, or one primary subject, keep the number of primary figures to that\nminimum unless extra people are requested. Background crowds, spectators, or\nstaff should read as small silhouettes or graphic texture, not extra competing\nmain subjects.\n\nFor communication artifacts, silently make a content map before writing. Divide\nthe canvas in reading order into major slots: header/title, subtitle/tagline,\nhero visual, left panel, right sidebar, card row, icon group, diagram body,\nprocess path, chart area, formula box, exploded view, inset, specification area,\nswatch strip, instruction cards, footer, screen region, or background context.\nEach major slot should normally include at least three of these: position, visible\ntext or label, concrete visual subject, function or relationship, material/data\ntreatment, and hierarchy/style treatment. Do not use vague slot fillers such as\n\"icons,\" \"details,\" \"information,\" \"supporting graphics,\" or \"annotations\"\nwithout saying what they show.\n\nMake the artifact feel complete. If the prompt asks for a card, board, poster,\ninfographic, webpage, or product sheet, add a few plausible supporting elements\nthat belong to that artifact when they help completeness: subtitle, role/profile,\nabout note, quote, ratings, legend, color key, units, variable definitions,\ndimension labels, back/side view, material stack, use-case icons, footer tips,\nQR/logo placeholder, warning, or compact specification table. Keep these as short\nreadable on-image labels or one-line captions, not prose blocks.\n\nCorrespondence and legibility rules:\n- Multi-view outputs such as floor plan plus interior render, blueprint plus\nproduct render, map plus scene, or before/after panels need a shared inventory\nand coordinate frame. Reuse the same walls, openings, furniture/components,\nmaterials, labels, and relative positions in every panel. Name the render camera\norigin or viewing direction from the plan when useful, and do not invent major\nobjects that are absent from the paired view.\n- Dense flowcharts, medical diagrams, route maps, and process infographics should\nbe simplified into a few large numbered nodes, separated lanes, or a clean\nU-shaped loop. Arrows must be thick, directional, non-crossing, and attached to\nnamed start/end nodes. Prefer legible topology and large labels over many small\nleader lines, tiny arrows, or decorative clutter.\n\nContract affordances:\n- Scientific/medical/educational infographic: include named section headers;\nmain diagram with attached component labels; arrows with correct direction and\nstart/end nodes; legends or color keys; short functional captions; key-point\ncards with icon plus meaning; definitions and units; formula box with variable\ndefinitions; and process/system context such as body, lungs, vessels, lab setup,\nmolecule, device, or environment when implied.\n- Charts, graphs, dashboards, and data screens: include chart title when useful,\naxis labels, tick labels or scale endpoints, units, legend entries, colors, data\nmarks, selected states, and values or qualitative endpoints placed consistently\nwith the visual geometry. Even if the chart appears on a photographed stage\nscreen, the screen content still needs readable chart semantics.\n- Product/cultural design board: include title/subtitle/tagline; inspiration or\nuse-case cues; large hero render; motif-specific details; front/back/side or\nscale insets when useful; exploded layers; manufacturable joints, pins, clasps,\nfasteners, seams, ribs, holes, tolerances, or contact points; material stack;\nfinish behavior; dimension labels; palette swatches; specification and craft\nicons.\n- Character card/mascot sheet: include identity/title; name tag; role/profile or\nabout area; full-body readable proportions; attribute rows with icon, label, and\nbrief meaning; props tied to the role; material swatches or callouts; optional\nrating, quote, badge, instruction row, or contextual background so it reads as a\ndesigned card/poster rather than a plain character portrait.\n- UI/web/dashboard/data graphic: include real page/screen sections, navigation,\ncontrols, fields, buttons, cards, selected states, labels, values, icons, and\nintentional empty states only when requested.\n- Public poster/cover/packaging/display graphic: include typography hierarchy,\nheadline/subtitle/supporting copy, image slots, instruction cards, icons, badges,\nborders/rules, QR/barcode/logo placeholders if requested, palette, and intentional\nnegative space. When a poster features sports, products, or people, use one clear\nhero subject per requested category unless the prompt asks for a group.\n\nStyle comes after content. Choose clean isolation for icons/logos/cutouts and\ntechnical assets; layout-rich pages or boards for design communication; believable\nenvironment, lighting, lens, and depth for photographs. Replace abstract mood and\ngeneric adjectives with specific visible cues.\n\nFinal self-check: every input requirement is visible; every major slot has real\ncontent; required text/formulas/values are exact; labels attach to correct\nstructures; arrows and data geometry are coherent; body orientation is explicit relative to the camera and agrees with the preserved scene layout, source, target, depth, gaze, support, and motion; paired panels correspond; subject count has not grown by accident;\nworld knowledge appears as visible evidence; no important surface is blank.\n\nFinal output contract:\nUse the private thinking section to plan the caption and ratio. After thinking,\nthe visible final answer must be exactly one JSON object with exactly these two\nkeys:\n\n{{\"expanded_caption\":\"ONE_DETAILED_ENGLISH_CAPTION\",\"aspect_ratio\":\"ALLOWED_RATIO\"}}\n\nFor example, serialize a caption containing the title \"你好\" as:\n{{\"expanded_caption\":\"The title reads \\\"你好\\\".\",\"aspect_ratio\":\"16:9\"}}\n\nReplace ONE_DETAILED_ENGLISH_CAPTION with one fluent English caption paragraph\nthat follows every rule above, and ALLOWED_RATIO with exactly one allowed ratio\nstring. Keep expanded_caption as one valid JSON string. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Escape all other characters as valid JSON requires. Do not add or omit keys. Do not put thinking or think tags inside\nthe object. Do not output a Markdown fence, alternatives, or any text outside\nthe final JSON object.\n\ninput_text: {input text}\noutput_text:\n",
+ "find": "{input text}",
+ "replace": [
+ "4",
+ 0
+ ]
+ },
+ "_meta": {
+ "title": "Prompt helper's task, with your words in it"
+ }
+ },
+ "14": {
+ "class_type": "PrimitiveStringMultiline",
+ "inputs": {
+ "value": "Reason in the thinking section first. The visible final content must be exactly one JSON object with exactly two keys: expanded_caption and aspect_ratio. Every ASCII double quotation mark used as caption content inside expanded_caption must be serialized as the JSON escape sequence \\\". Do not output text outside that object."
+ },
+ "_meta": {
+ "title": "Prompt helper's system prompt"
+ }
+ }
+}
diff --git a/workflows/comfyui/model-pins.json b/workflows/comfyui/model-pins.json
index b456e8d8..651245f3 100644
--- a/workflows/comfyui/model-pins.json
+++ b/workflows/comfyui/model-pins.json
@@ -194,6 +194,16 @@
"sizeBytes": 9748121532,
"sha256": "32e3787472f708fa5f83624acbf5ef23f7fc89c439e05065ea57cfe5a97f025a"
},
+ "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors": {
+ "revision": "892de7cb61df49753bf15145a711154803a355cb",
+ "sizeBytes": 20979314802,
+ "sha256": "83eb140f1ff95c068f8a6886e6d3f3d0d4ab2e07bb2fe6d2ef992a51146ee622"
+ },
+ "https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors": {
+ "revision": "892de7cb61df49753bf15145a711154803a355cb",
+ "sizeBytes": 1168505312,
+ "sha256": "d80e9c2e5cfc9844869961ff5a58c9a9e52182df6bfb30b26018dd7f348721af"
+ },
"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors": {
"revision": "1c41cfca8ebba91d0af792a05c5761fb2c3a7975",
"sizeBytes": 20970379616,
@@ -219,6 +229,11 @@
"sizeBytes": 5207808496,
"sha256": "7c1f131492e7eddacaac9069a61b81bdd39de5cc96561e677c5eab1cdce5e522"
},
+ "https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors": {
+ "revision": "54472221d27c695fca9621b0c3ed52f06c4af707",
+ "sizeBytes": 27141342152,
+ "sha256": "bc2ced0fbea64757fa9acddccfc0b3f4819d1dcf1da6c124d690d368be283923"
+ },
"https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors": {
"revision": "f5c3b1d5a63e008a691fca1b6096fd57a5307536",
"sizeBytes": 3171670912,
diff --git a/workflows/comfyui/object_info.subset.json b/workflows/comfyui/object_info.subset.json
index 279315bd..a6e07032 100644
--- a/workflows/comfyui/object_info.subset.json
+++ b/workflows/comfyui/object_info.subset.json
@@ -2064,9 +2064,9 @@
"generation_seconds": [
"FLOAT",
{
- "default": 0.0,
- "min": 0.0,
- "max": 30.0,
+ "default": 0,
+ "min": 0,
+ "max": 30,
"step": 0.1
}
],
@@ -2081,7 +2081,7 @@
{
"default": 42,
"min": 0,
- "max": 9223372036854775807
+ "max": 9223372036854776000
}
],
"nfe_steps": [
@@ -2096,18 +2096,18 @@
"cfg_strength": [
"FLOAT",
{
- "default": 2.0,
- "min": 0.0,
- "max": 5.0,
+ "default": 2,
+ "min": 0,
+ "max": 5,
"step": 0.1
}
],
"sway_sampling_coef": [
"FLOAT",
{
- "default": -1.0,
- "min": -1.0,
- "max": 1.0,
+ "default": -1,
+ "min": -1,
+ "max": 1,
"step": 0.1
}
]
@@ -5334,8 +5334,8 @@
"FLOAT",
{
"default": 0.95,
- "min": 0.0,
- "max": 1.0,
+ "min": 0,
+ "max": 1,
"step": 0.01
}
],
@@ -5349,8 +5349,8 @@
"FLOAT",
{
"default": 0.95,
- "min": 0.0,
- "max": 1.0,
+ "min": 0,
+ "max": 1,
"step": 0.01
}
],
@@ -5358,8 +5358,8 @@
"FLOAT",
{
"default": 0.5,
- "min": 0.0,
- "max": 1.0,
+ "min": 0,
+ "max": 1,
"step": 0.01
}
],
@@ -14111,7 +14111,7 @@
{
"default": 0.417,
"min": 0.0001,
- "max": 10.0,
+ "max": 10,
"step": 0.0001
}
]
@@ -14178,7 +14178,7 @@
{
"default": 42,
"min": 0,
- "max": 18446744073709551615,
+ "max": 18446744073709552000,
"control_after_generate": true
}
],
@@ -14195,7 +14195,7 @@
{
"default": 0.3,
"min": 0.01,
- "max": 2.0,
+ "max": 2,
"step": 0.01
}
],
@@ -14203,8 +14203,8 @@
"FLOAT",
{
"default": 1.1,
- "min": 1.0,
- "max": 5.0,
+ "min": 1,
+ "max": 5,
"step": 0.01
}
]
@@ -14286,9 +14286,9 @@
"fps": [
"FLOAT",
{
- "default": 24.0,
- "min": 1.0,
- "max": 120.0
+ "default": 24,
+ "min": 1,
+ "max": 120
}
],
"batch_size": [
@@ -14445,7 +14445,7 @@
{
"default": 0.02,
"min": 0.0001,
- "max": 1.0,
+ "max": 1,
"step": 0.0001
}
],
@@ -14461,7 +14461,7 @@
"FLOAT",
{
"default": 0.1,
- "min": 0.0,
+ "min": 0,
"max": 0.95,
"step": 0.01
}
@@ -14576,7 +14576,7 @@
{
"default": 0,
"min": 0,
- "max": 18446744073709551615,
+ "max": 18446744073709552000,
"control_after_generate": true,
"tooltip": "The random seed used for creating the noise."
}
@@ -14593,9 +14593,9 @@
"cfg": [
"FLOAT",
{
- "default": 1.0,
- "min": 0.0,
- "max": 100.0,
+ "default": 1,
+ "min": 0,
+ "max": 100,
"step": 0.1,
"round": 0.01,
"tooltip": "The Classifier-Free Guidance scale balances creativity and adherence to the prompt. Higher values result in images more closely matching the prompt however too high values will negatively impact quality."
@@ -14690,9 +14690,9 @@
"denoise": [
"FLOAT",
{
- "default": 1.0,
- "min": 0.0,
- "max": 1.0,
+ "default": 1,
+ "min": 0,
+ "max": 1,
"step": 0.01,
"tooltip": "The amount of denoising applied, lower values will maintain the structure of the initial image allowing for image to image sampling."
}
@@ -14808,7 +14808,7 @@
{
"default": 42,
"min": 0,
- "max": 18446744073709551615,
+ "max": 18446744073709552000,
"control_after_generate": true
}
],
@@ -14842,7 +14842,7 @@
"FLOAT",
{
"default": 0.2,
- "min": 0.0,
+ "min": 0,
"max": 0.95,
"step": 0.01
}
@@ -14850,9 +14850,9 @@
"frame_rate": [
"FLOAT",
{
- "default": 24.0,
- "min": 1.0,
- "max": 240.0
+ "default": 24,
+ "min": 1,
+ "max": 240
}
],
"target_resolution": [
@@ -17876,6 +17876,115 @@
"MiniMaxH3ContexMaskedTarget": null,
"MiniMaxH3FantasticVideoEditLatent": null,
"MiniMaxH3GenerationProfile": null,
+ "MiniMaxH3ImageConditioning": {
+ "input": {
+ "required": {
+ "clip": [
+ "CLIP",
+ {}
+ ],
+ "prompt": [
+ "STRING",
+ {
+ "multiline": true,
+ "dynamicPrompts": true
+ }
+ ],
+ "width": [
+ "INT",
+ {
+ "tooltip": "0 uses the width of image_1 after its reference scaling, or 2048 without images. The model is tuned for 2048x2048 pixels of area",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 32
+ }
+ ],
+ "height": [
+ "INT",
+ {
+ "tooltip": "0 uses the height of image_1 after its reference scaling, or 2048 without images.",
+ "default": 0,
+ "min": 0,
+ "max": 16384,
+ "step": 32
+ }
+ ]
+ },
+ "optional": {
+ "vae": [
+ "VAE",
+ {
+ "tooltip": "The MiniMax-H3-Image VAE. With it the pictures are also anchored as reference latents, without it they only condition the text encoder."
+ }
+ ],
+ "images": [
+ "COMFY_AUTOGROW_V3",
+ {
+ "template": {
+ "input": {
+ "required": {
+ "image": [
+ "IMAGE",
+ {
+ "tooltip": "Reference picture, <Picture n> in the prompt; image_1 is the picture to edit."
+ }
+ ]
+ }
+ },
+ "prefix": "image_",
+ "min": 0,
+ "max": 100
+ }
+ }
+ ]
+ }
+ },
+ "input_order": {
+ "required": [
+ "clip",
+ "prompt",
+ "width",
+ "height"
+ ],
+ "optional": [
+ "vae",
+ "images"
+ ]
+ },
+ "is_input_list": false,
+ "output": [
+ "CONDITIONING",
+ "LATENT"
+ ],
+ "output_is_list": [
+ false,
+ false
+ ],
+ "output_name": [
+ "positive",
+ "LATENT"
+ ],
+ "output_tooltips": [
+ null,
+ null
+ ],
+ "output_matchtypes": null,
+ "name": "MiniMaxH3ImageConditioning",
+ "display_name": "MiniMax H3 Image Conditioning",
+ "description": "Text-to-image, or with images an edit guided by them. The prompt refers to them as <Picture 1>, <Picture 2>, ...",
+ "python_module": "comfy_extras.nodes_minimax_h3",
+ "category": "model/conditioning/minimax",
+ "output_node": false,
+ "deprecated": false,
+ "experimental": false,
+ "dev_only": false,
+ "api_node": false,
+ "price_badge": null,
+ "search_aliases": null,
+ "essentials_category": null,
+ "has_intermediate_output": false
+ },
"MiniMaxH3ImageToVideo": {
"input": {
"required": {
@@ -19317,7 +19426,7 @@
{
"default": 42,
"min": 0,
- "max": 18446744073709551615
+ "max": 18446744073709552000
}
],
"width": [
@@ -19355,9 +19464,9 @@
"seconds": [
"FLOAT",
{
- "default": 3.0,
+ "default": 3,
"min": 0.5,
- "max": 15.0,
+ "max": 15,
"step": 0.5
}
],
@@ -19503,9 +19612,9 @@
"FLOAT",
{
"tooltip": "Unless the camera path sets it.",
- "default": 5.0,
+ "default": 5,
"min": 0.5,
- "max": 30.0,
+ "max": 30,
"step": 0.5
}
],
@@ -19584,7 +19693,7 @@
{
"default": 42,
"min": 0,
- "max": 18446744073709551615,
+ "max": 18446744073709552000,
"control_after_generate": true
}
],
@@ -19740,9 +19849,9 @@
"FLOAT",
{
"tooltip": "Length of the turn, unless a camera path sets it.",
- "default": 5.0,
+ "default": 5,
"min": 0.5,
- "max": 30.0,
+ "max": 30,
"step": 0.5
}
]
@@ -28646,6 +28755,517 @@
"essentials_category": null,
"has_intermediate_output": false
},
+ "TextGenerateV2": {
+ "input": {
+ "required": {
+ "clip": [
+ "CLIP",
+ {}
+ ],
+ "prompt": [
+ "STRING",
+ {
+ "default": "",
+ "multiline": true,
+ "dynamicPrompts": true
+ }
+ ],
+ "max_length": [
+ "INT",
+ {
+ "default": 512,
+ "min": 1,
+ "max": 32768
+ }
+ ],
+ "sampling_mode": [
+ "COMFY_DYNAMICCOMBO_V3",
+ {
+ "display_name": "Sampling Mode",
+ "options": [
+ {
+ "key": "on",
+ "inputs": {
+ "required": {
+ "temperature": [
+ "FLOAT",
+ {
+ "default": 0.7,
+ "min": 0.01,
+ "max": 2,
+ "step": 0.000001
+ }
+ ],
+ "top_k": [
+ "INT",
+ {
+ "default": 64,
+ "min": 0,
+ "max": 1000
+ }
+ ],
+ "top_p": [
+ "FLOAT",
+ {
+ "default": 0.95,
+ "min": 0,
+ "max": 1,
+ "step": 0.01
+ }
+ ],
+ "min_p": [
+ "FLOAT",
+ {
+ "default": 0.05,
+ "min": 0,
+ "max": 1,
+ "step": 0.01
+ }
+ ],
+ "repetition_penalty": [
+ "FLOAT",
+ {
+ "default": 1.05,
+ "min": 0,
+ "max": 5,
+ "step": 0.01
+ }
+ ],
+ "presence_penalty": [
+ "FLOAT",
+ {
+ "default": 0,
+ "min": 0,
+ "max": 5,
+ "step": 0.01
+ }
+ ],
+ "seed": [
+ "INT",
+ {
+ "default": 0,
+ "min": 0,
+ "max": 18446744073709552000
+ }
+ ]
+ }
+ }
+ },
+ {
+ "key": "off",
+ "inputs": {
+ "required": {}
+ }
+ }
+ ]
+ }
+ ]
+ },
+ "optional": {
+ "images": [
+ "COMFY_AUTOGROW_V3",
+ {
+ "template": {
+ "input": {
+ "required": {
+ "image": [
+ "IMAGE",
+ {}
+ ]
+ }
+ },
+ "names": [
+ "image1",
+ "image2",
+ "image3",
+ "image4",
+ "image5",
+ "image6",
+ "image7",
+ "image8",
+ "image9",
+ "image10",
+ "image11",
+ "image12",
+ "image13",
+ "image14",
+ "image15",
+ "image16",
+ "image17",
+ "image18",
+ "image19",
+ "image20",
+ "image21",
+ "image22",
+ "image23",
+ "image24",
+ "image25",
+ "image26",
+ "image27",
+ "image28",
+ "image29",
+ "image30",
+ "image31",
+ "image32",
+ "image33",
+ "image34",
+ "image35",
+ "image36",
+ "image37",
+ "image38",
+ "image39",
+ "image40",
+ "image41",
+ "image42",
+ "image43",
+ "image44",
+ "image45",
+ "image46",
+ "image47",
+ "image48",
+ "image49",
+ "image50"
+ ],
+ "min": 0
+ }
+ }
+ ],
+ "videos": [
+ "COMFY_AUTOGROW_V3",
+ {
+ "template": {
+ "input": {
+ "required": {
+ "video": [
+ "IMAGE",
+ {
+ "tooltip": "Video frames as image batch. Assumed to be 24 FPS; subsampled to the model's frame rate internally."
+ }
+ ]
+ }
+ },
+ "names": [
+ "video1",
+ "video2",
+ "video3",
+ "video4",
+ "video5",
+ "video6",
+ "video7",
+ "video8",
+ "video9",
+ "video10",
+ "video11",
+ "video12",
+ "video13",
+ "video14",
+ "video15",
+ "video16",
+ "video17",
+ "video18",
+ "video19",
+ "video20",
+ "video21",
+ "video22",
+ "video23",
+ "video24",
+ "video25",
+ "video26",
+ "video27",
+ "video28",
+ "video29",
+ "video30",
+ "video31",
+ "video32",
+ "video33",
+ "video34",
+ "video35",
+ "video36",
+ "video37",
+ "video38",
+ "video39",
+ "video40",
+ "video41",
+ "video42",
+ "video43",
+ "video44",
+ "video45",
+ "video46",
+ "video47",
+ "video48",
+ "video49",
+ "video50",
+ "video51",
+ "video52",
+ "video53",
+ "video54",
+ "video55",
+ "video56",
+ "video57",
+ "video58",
+ "video59",
+ "video60",
+ "video61",
+ "video62",
+ "video63",
+ "video64",
+ "video65",
+ "video66",
+ "video67",
+ "video68",
+ "video69",
+ "video70",
+ "video71",
+ "video72",
+ "video73",
+ "video74",
+ "video75",
+ "video76",
+ "video77",
+ "video78",
+ "video79",
+ "video80",
+ "video81",
+ "video82",
+ "video83",
+ "video84",
+ "video85",
+ "video86",
+ "video87",
+ "video88",
+ "video89",
+ "video90",
+ "video91",
+ "video92",
+ "video93",
+ "video94",
+ "video95",
+ "video96",
+ "video97",
+ "video98",
+ "video99",
+ "video100"
+ ],
+ "min": 0
+ }
+ }
+ ],
+ "audios": [
+ "COMFY_AUTOGROW_V3",
+ {
+ "template": {
+ "input": {
+ "required": {
+ "audio": [
+ "AUDIO",
+ {}
+ ]
+ }
+ },
+ "names": [
+ "audio1",
+ "audio2",
+ "audio3",
+ "audio4",
+ "audio5",
+ "audio6",
+ "audio7",
+ "audio8",
+ "audio9",
+ "audio10",
+ "audio11",
+ "audio12",
+ "audio13",
+ "audio14",
+ "audio15",
+ "audio16",
+ "audio17",
+ "audio18",
+ "audio19",
+ "audio20",
+ "audio21",
+ "audio22",
+ "audio23",
+ "audio24",
+ "audio25",
+ "audio26",
+ "audio27",
+ "audio28",
+ "audio29",
+ "audio30",
+ "audio31",
+ "audio32",
+ "audio33",
+ "audio34",
+ "audio35",
+ "audio36",
+ "audio37",
+ "audio38",
+ "audio39",
+ "audio40",
+ "audio41",
+ "audio42",
+ "audio43",
+ "audio44",
+ "audio45",
+ "audio46",
+ "audio47",
+ "audio48",
+ "audio49",
+ "audio50",
+ "audio51",
+ "audio52",
+ "audio53",
+ "audio54",
+ "audio55",
+ "audio56",
+ "audio57",
+ "audio58",
+ "audio59",
+ "audio60",
+ "audio61",
+ "audio62",
+ "audio63",
+ "audio64",
+ "audio65",
+ "audio66",
+ "audio67",
+ "audio68",
+ "audio69",
+ "audio70",
+ "audio71",
+ "audio72",
+ "audio73",
+ "audio74",
+ "audio75",
+ "audio76",
+ "audio77",
+ "audio78",
+ "audio79",
+ "audio80",
+ "audio81",
+ "audio82",
+ "audio83",
+ "audio84",
+ "audio85",
+ "audio86",
+ "audio87",
+ "audio88",
+ "audio89",
+ "audio90",
+ "audio91",
+ "audio92",
+ "audio93",
+ "audio94",
+ "audio95",
+ "audio96",
+ "audio97",
+ "audio98",
+ "audio99",
+ "audio100"
+ ],
+ "min": 0
+ }
+ }
+ ],
+ "thinking": [
+ "BOOLEAN",
+ {
+ "tooltip": "Operate in thinking mode if the model supports it.",
+ "default": false
+ }
+ ],
+ "use_default_template": [
+ "BOOLEAN",
+ {
+ "tooltip": "Use the built in system prompt/template if the model has one.",
+ "advanced": true,
+ "default": true
+ }
+ ],
+ "mtp": [
+ "COMBO",
+ {
+ "tooltip": "Speculative decoding with the checkpoint's multi-token-prediction head. No effect without MTP weights. auto adapts the draft depth and breadth to observed token matches and execution cost; 2-5 pins a constant draft depth; tree modes pin both breadth and depth. Sampled output stays correctly distributed but differs from non-MTP output for the same seed.",
+ "default": "auto",
+ "multiselect": false,
+ "options": [
+ "auto",
+ "off",
+ "2",
+ "3",
+ "4",
+ "5",
+ "tree2s1",
+ "tree2s2",
+ "tree3s1",
+ "tree4s1m8"
+ ]
+ }
+ ],
+ "system_prompt": [
+ "STRING",
+ {
+ "tooltip": "Replaces the system prompt in the model's chat template. Ignored when the default template is not used.",
+ "forceInput": true,
+ "multiline": false
+ }
+ ]
+ }
+ },
+ "input_order": {
+ "required": [
+ "clip",
+ "prompt",
+ "max_length",
+ "sampling_mode"
+ ],
+ "optional": [
+ "images",
+ "videos",
+ "audios",
+ "thinking",
+ "use_default_template",
+ "mtp",
+ "system_prompt"
+ ]
+ },
+ "is_input_list": false,
+ "output": [
+ "STRING",
+ "STRING"
+ ],
+ "output_is_list": [
+ false,
+ false
+ ],
+ "output_name": [
+ "generated_text",
+ "thinking"
+ ],
+ "output_tooltips": [
+ null,
+ null
+ ],
+ "output_matchtypes": null,
+ "name": "TextGenerateV2",
+ "display_name": "Generate Text",
+ "description": "",
+ "python_module": "comfy_extras.nodes_textgen",
+ "category": "text",
+ "output_node": false,
+ "deprecated": false,
+ "experimental": false,
+ "dev_only": false,
+ "api_node": false,
+ "price_badge": null,
+ "search_aliases": [
+ "LLM",
+ "gemma"
+ ],
+ "essentials_category": null,
+ "has_intermediate_output": false
+ },
"TextOverlay": {
"input": {
"required": {
diff --git a/workflows/comfyui/requirements.json b/workflows/comfyui/requirements.json
index 33f0600a..f70a7682 100644
--- a/workflows/comfyui/requirements.json
+++ b/workflows/comfyui/requirements.json
@@ -1,9 +1,9 @@
{
"v": 1,
- "hash": "5f03c439bab8ec850fcbbb4adb724259f1c35493bf3bbf15afdca0149a62963e",
+ "hash": "6f1dbd060787a62debfefa2e31507fd375037e1b00b7c6463caedeece21af8b3",
"comfyui": {"min":"0.42.0","testedCommit":"5841c187"},
"folders": ["Hi3D","RMBG","audio_encoders","background_removal","checkpoints","clip_vision","dbs","detection","diffusion_models","facerestore_models","foley","frame_interpolation","geometry_estimation","insightface","kandinsky6_audio_vae","latent_upscale_models","loras","mmaudio","model_patches","optical_flow","reuse","sams","text_encoders","thinksound","ultralytics","upscale_models","vae"],
- "sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","AuKGenerateEdit","AuKModelLoader","BodyDoubleFit","BodyDoubleLook","CFGOverride","ClothesSegment","ComfyMathExpression","CorridorKey2","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","Hi3DLoadMesh","Hi3DModelLoader","Hi3DRefine","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","HyperFlowGGUFLoader","HyperFlowSigmas","INTConstant","Ideogram4Scheduler","IdolCamera","IdolPreprocessImage","IdolPruneSplat","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","ImageUpscaleWithModelBatched","IndexTTS2Simple","InstantHMRLoader","InstantHMRPredict","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","NomasCameraPath","NomasWorldContinue","NomasWorldGenerate","NomasWorldPrompt","OpenH3LoadRefinedLatent","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","RTXTrueHDR","RTXVideoFrameGeneration","RTXVideoSuperResolution","ReActorFaceSwap","RemakeConditioning","RemakeKeyframeUntil","RemakeNoise","RemoveBackground","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","UnetLoaderGGUF","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_LoadVideoFFmpeg","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
+ "sentinels": ["AILab_FeyNoBg","AILab_Qwen3ASRSubtitle","AILab_Qwen3TTSVoiceClone_Advanced","AILab_Qwen3TTSVoiceDesign_Advanced","AILab_VRMBG","AUSBOSS_NODES_CropForInpaint","AUSBOSS_NODES_ImageCropRotatePad","AUSBOSS_NODES_MaskByTouch","AUSBOSS_NODES_StitchInpaint","Add Subtitles To Frames","Apply Whisper","AuKGenerateEdit","AuKModelLoader","BodyDoubleFit","BodyDoubleLook","CFGOverride","ClothesSegment","ComfyMathExpression","CorridorKey2","CropFuobeLive","DBSLoader","DBSSeparate","DownloadAndLoadWav2VecModel","DualModelGuider","FL_ChatterboxDialogTTS","FL_ChatterboxMultilingualTTS","FL_ChatterboxVC","GetImageRangeFromBatch","GetImageSizeAndCount","GrowMaskWithBlur","H3AdaLNLoRAFix","H3AdvancedSwapPlan","H3CharacterSwapAssemble","H3CharacterSwapController","H3CharacterSwapExpandMask","H3CharacterSwapModels","H3CharacterSwapPrepareVideo","H3CharacterSwapRecoverMasks","H3CharacterSwapSelectSubject","H3CharacterSwapSettings","H3CharacterSwapShot","H3CharacterSwapWindowPlan","H3ClipShots","H3FaceChunks","H3FaceJoin","H3FaceMaskSAM","H3FaceStitch","H3FaceTrackCrop","H3FillShots","H3GreyMannequins","H3ObjectSwapPlan","H3PeopleMask","H3RelayAppendWindow","H3RelayApplyEditMask","H3RelayApplyHistory","H3RelayExpandMask","H3RelayFinishWindows","H3RelayPrepareSource","H3RelayRecoverMasks","H3RelayReviewWindows","H3RelaySamplingMemory","H3RelaySelectMask","H3RelayTextMemory","H3RelayWindowInputs","H3RelayWindowPlan","H3RoleMask","H3SLAAttention","H3SoundtrackOrSilence","H3SourceSlice","H3SubjectPrompt","H3TrackCrops","H3TrackRoles","Hi3DLoadMesh","Hi3DModelLoader","Hi3DRefine","HunyuanDependenciesLoader","HunyuanFoleySampler","HunyuanModelLoader","HyperFlowGGUFLoader","HyperFlowSigmas","INTConstant","Ideogram4Scheduler","IdolCamera","IdolPreprocessImage","IdolPruneSplat","ImageBatchExtendWithOverlap","ImageDetailContrast","ImageGridtoBatch","ImageResizeKJv2","ImageUpscaleWithModelBatched","IndexTTS2Simple","InstantHMRLoader","InstantHMRPredict","Kandinsky6AudioVAEDecode","Kandinsky6AudioVAELoader","Kandinsky6BeautifyPrompt","Kandinsky6EmptyLatent","Kandinsky6ImageToVideoAudio","Kandinsky6LatentUpscalerLoader","Kandinsky6RemoveReferenceLatent","Kandinsky6SRVAELoader","Kandinsky6Sampler","Kandinsky6TextEncode","Kandinsky6VSRUpscale","Krea2EditGroundedEncode","Krea2EditModelPatch","Krea2OstrisEditModelPatch","LTXAVTextEncoderLoader","LTXAddVideoICLoRAGuide","LTXICLoRALoaderModelOnly","LTXVAddGuide","LTXVAudioVAEDecode","LTXVAudioVAELoader","LTXVConcatAVLatent","LTXVConditioning","LTXVCropGuides","LTXVDualCFGGuider","LTXVEmptyLatentAudio","LTXVImgToVideoInplace","LTXVLatentUpsampler","LTXVPreprocess","LTXVScheduler","LTXVSeparateAVLatent","LTXVTiledFusionSampler","LatentSyncNode","LoadBackgroundRemovalModel","LoadImageFuobeLive","LoadVideoDepthAnythingModel","MMAudioFeatureUtilsLoader","MMAudioModelLoader","MMAudioSampler","MelBandRoFormerModelLoader","MelBandRoFormerSampler","Metric3D-NormalMapPreprocessor","MiniMaxH3ChainAssemble","MiniMaxH3ChainContext","MiniMaxH3ChainCurrent","MiniMaxH3ChainLoopEnd","MiniMaxH3ChainLoopStart","MiniMaxH3ChainPlanModern","MiniMaxH3ChainReview","MiniMaxH3ChainSegmentSave","MiniMaxH3ContexMaskedTarget","MiniMaxH3FantasticVideoEditLatent","MiniMaxH3GenerationProfile","MiniMaxH3ImageConditioning","MiniMaxH3LoopTrim","MiniMaxH3SourceTimeline","MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler","MultiTalkModelLoader","MultiTalkWav2VecEmbeds","NomasCameraPath","NomasWorldContinue","NomasWorldGenerate","NomasWorldPrompt","OpenH3LoadRefinedLatent","OpenH3RegenFastVAEDecode","OpenH3RegenFinish","OpenH3RegenLora","OpenH3RegenPrepareDraft","OpenH3RegenRefineLatent","OpenH3RegenSigmas","OpenH3RegenUpscale","OpenH3SaveRefinedLatent","Orion4D_FXMax_DCTLToneMapper","PasteBackFuobeLive","QWMComposite","QWMDetect","QWMFinal","QWMPrepare","QWMRefineMask","QWMResidualDetect","Qwen21EncodeFuobeLive","Qwen21ReferenceFuobeLive","QwenImage21Cache","REUSEEnhance","REUSELoader","RIFE VFI","RMBG","RTXTrueHDR","RTXVideoFrameGeneration","RTXVideoSuperResolution","ReActorFaceSwap","RemakeConditioning","RemakeKeyframeUntil","RemakeNoise","RemoveBackground","SAM3DBody_Loader","SAM3DBody_Render","SAM3DBody_Smooth","SAM3_Detect","SAM3_TrackToMask","SAM3_VideoTrack","SAMLoader","SaveImageFuobeLive","SeedVR2Conditioning","SeedVR2PostProcessing","SeedVR2Preprocess","SolarRendererConditioning","SolarRendererLoraLoader","SolarRendererModel","SolarRendererSigmas","TS_ImageToSVGStringColor_Vtracer","TS_SVGStringToSVGBytesIO","TextEncodeFibo2","TextEncodeKrea2OstrisEdit","TextEncodeQwenImage21","TextGenerateV2","ThinkSoundFeatureUtilsLoader","ThinkSoundModelLoader","ThinkSoundSampler","Trellis2Conditioning","Trellis2ShapeStage","Trellis2TextureStage","Trellis2UpsampleStage","UnetLoaderGGUF","VHS_BatchManager","VHS_LoadAudioUpload","VHS_LoadVideo","VHS_LoadVideoFFmpeg","VHS_SelectEveryNthImage","VHS_VideoCombine","VHS_VideoInfo","VHS_VideoInfoLoaded","VRAM_Debug","VideoDepthAnythingOutput","VideoDepthAnythingProcess","VideoLengthAdjuster","ViggleTurboLora","ViggleTurboSigmas","VoxCPM2_Clone","VoxCPM2_TTS","WanVideoBlockSwap","WanVideoClipVisionEncode","WanVideoDecode","WanVideoEncode","WanVideoImageToVideoMultiTalk","WanVideoLoraSelect","WanVideoModelLoader","WanVideoPassImagesFromSamples","WanVideoSampler","WanVideoTextEncodeCached","WanVideoVAELoader","ZenImage21AdapterLoader","ZenImage21TextEncode"],
"packs": {
"ComfyUI-AuK": {"repo":"https://github.com/Tencent-Hunyuan/AuK","commit":"0d40366b1039e37c6cad008ab4713f6ad6d954b7","classes":["AuKGenerateEdit","AuKModelLoader"],"folders":[],"isolated":false,"subdir":"comfyui/ComfyUI-AuK","requirementsTxt":false,"install":"manual"},
"ComfyUI-BodyDouble": {"repo":"https://github.com/workingprototype/Fuobe","commit":"26d386bdacb371d06aa2325ac1b90373a11ff6b7","classes":["BodyDoubleFit","BodyDoubleLook"],"folders":[],"isolated":false,"subdir":"comfy-nodes/ComfyUI-BodyDouble","requirementsTxt":false,"install":"manual"},
@@ -150,6 +150,7 @@
"diffusion_models/minimax_h3_fl2va_hyperflow_flash_14b-Q4_K_M.gguf": {"folder":"diffusion_models","file":"minimax_h3_fl2va_hyperflow_flash_14b-Q4_K_M.gguf","url":"https://huggingface.co/VideoRebirthAI/hyperflow-h3-flash/resolve/9e9ed14b8be4b751d7517b8ca58dd199d509720c/fl2va_gguf/minimax_h3_fl2va_hyperflow_flash_14b-Q4_K_M.gguf","pinnedUrl":"https://huggingface.co/VideoRebirthAI/hyperflow-h3-flash/resolve/9e9ed14b8be4b751d7517b8ca58dd199d509720c/fl2va_gguf/minimax_h3_fl2va_hyperflow_flash_14b-Q4_K_M.gguf","sizeBytes":9053456480,"sha256":"ee251661dffdebfa4a8c2555d2967b642f0efe9f2e350830a6e5c691935e23c3","gated":false,"presence":"loader","loaders":[["HyperFlowGGUFLoader","unet_name"]]},
"diffusion_models/minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf": {"folder":"diffusion_models","file":"minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf","url":"https://huggingface.co/VideoRebirthAI/hyperflow-h3-flash/resolve/9e9ed14b8be4b751d7517b8ca58dd199d509720c/fl2va_gguf/minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf","pinnedUrl":"https://huggingface.co/VideoRebirthAI/hyperflow-h3-flash/resolve/9e9ed14b8be4b751d7517b8ca58dd199d509720c/fl2va_gguf/minimax_h3_fl2va_hyperflow_flash_14b-Q8_0.gguf","sizeBytes":14929689696,"sha256":"9b7aebc17bd1be998bb82aa65409514c85e97e7b63559b75f206c44db17f7b2b","gated":false,"presence":"loader","loaders":[["HyperFlowGGUFLoader","unet_name"]]},
"diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors": {"folder":"diffusion_models","file":"minimax_h3_fl2va_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","sizeBytes":20970379616,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
+ "diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors": {"folder":"diffusion_models","file":"minimax_h3_image_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors","sizeBytes":20979314802,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
"diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors": {"folder":"diffusion_models","file":"minimax_h3_ref2va_pruned_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors","sizeBytes":20970379616,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
"diffusion_models/minimax_music3_dit_int8_convrot.safetensors": {"folder":"diffusion_models","file":"minimax_music3_dit_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/9e364ccd290a401561091fb441ed19cd7de92550/diffusion_models/minimax_music3_dit_int8_convrot.safetensors","sizeBytes":2502161682,"gated":false,"presence":"loader","loaders":[["UNETLoader","unet_name"]]},
"diffusion_models/moss_image_base_int8_convrot.safetensors": {"folder":"diffusion_models","file":"moss_image_base_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/diffusion_models/moss_image_base_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/diffusion_models/moss_image_base_int8_convrot.safetensors","sizeBytes":5413698958,"gated":false,"presence":"list"},
@@ -287,6 +288,8 @@
"text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","url":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors","sizeBytes":9748113996,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","url":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","pinnedUrl":"https://huggingface.co/black-forest-labs/flux-3-image-klein-comfy/resolve/feef60b0aaf63a4773ace96636ebbcf43b881312/text_encoders/qwen3.5_9b_flux3_prompt_upsampler_w4a8.safetensors","sizeBytes":6724090780,"gated":true,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3.5_9b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/main/text_encoders/qwen3.5_9b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/2929efe3cdd506c0a430bcfca70a9a8d805cc095/text_encoders/qwen3.5_9b_int8_convrot.safetensors","sizeBytes":9748121532,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/qwen3.5_9b_w4a8_gptq.safetensors": {"folder":"text_encoders","file":"qwen3.5_9b_w4a8_gptq.safetensors","url":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MOSS-Image/resolve/530a4c94f92c35ef6818b1b035a983fe9dcf5f54/text_encoders/qwen3.5_9b_w4a8_gptq.safetensors","sizeBytes":7343591088,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
+ "text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3vl_32b_minimax_h3_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/54472221d27c695fca9621b0c3ed52f06c4af707/text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors","sizeBytes":27141342152,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors": {"folder":"text_encoders","file":"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","sizeBytes":15687142551,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_4b_fp8_scaled.safetensors": {"folder":"text_encoders","file":"qwen3vl_4b_fp8_scaled.safetensors","url":"https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Krea-2/resolve/1171f4dc7e325bf3734586942e737872506c73e1/text_encoders/qwen3vl_4b_fp8_scaled.safetensors","sizeBytes":5242467968,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
"text_encoders/qwen3vl_4b_int8_convrot.safetensors": {"folder":"text_encoders","file":"qwen3vl_4b_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/main/text_encoders/qwen3vl_4b_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/Fibo-2.0/resolve/4742d4bec410034142c8e65559e5f00c6f29eccb/text_encoders/qwen3vl_4b_int8_convrot.safetensors","sizeBytes":4858559240,"gated":false,"presence":"loader","loaders":[["CLIPLoader","clip_name"]]},
@@ -319,6 +322,7 @@
"vae/ltx-2.5-audio-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-audio-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-audio-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/49b093a39c19169a8a81721dcc541e07e945232f/vae/ltx-2.5-audio-vae-bf16.safetensors","sizeBytes":364866540,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/ltx-2.5-video-vae-bf16.safetensors": {"folder":"vae","file":"ltx-2.5-video-vae-bf16.safetensors","url":"https://huggingface.co/Lightricks/LTX-2.5/resolve/main/vae/ltx-2.5-video-vae-bf16.safetensors","pinnedUrl":"https://huggingface.co/Lightricks/LTX-2.5/resolve/49b093a39c19169a8a81721dcc541e07e945232f/vae/ltx-2.5-video-vae-bf16.safetensors","sizeBytes":1472223346,"gated":true,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_audio_vae_fp32.safetensors": {"folder":"vae","file":"minimax_h3_audio_vae_fp32.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_audio_vae_fp32.safetensors","sizeBytes":605254808,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
+ "vae/minimax_h3_image_vae_fp16.safetensors": {"folder":"vae","file":"minimax_h3_image_vae_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3-Image/resolve/892de7cb61df49753bf15145a711154803a355cb/vae/minimax_h3_image_vae_fp16.safetensors","sizeBytes":1168505312,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_sol_vae_int8_convrot.safetensors": {"folder":"vae","file":"minimax_h3_sol_vae_int8_convrot.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/912b6e38b2092ec4d2e86d24183e0d59ea059d48/vae/minimax_h3_sol_vae_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/912b6e38b2092ec4d2e86d24183e0d59ea059d48/vae/minimax_h3_sol_vae_int8_convrot.safetensors","sizeBytes":1988306504,"gated":false,"presence":"list"},
"vae/minimax_h3_video_vae_fp16.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_fp16.safetensors","url":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","pinnedUrl":"https://huggingface.co/Comfy-Org/MiniMax-H3/resolve/1c41cfca8ebba91d0af792a05c5761fb2c3a7975/vae/minimax_h3_video_vae_fp16.safetensors","sizeBytes":5207808496,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
"vae/minimax_h3_video_vae_int8_convrot.safetensors": {"folder":"vae","file":"minimax_h3_video_vae_int8_convrot.safetensors","url":"https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors","pinnedUrl":"https://huggingface.co/Kijai/MiniMax-H3-experimental/resolve/f5c3b1d5a63e008a691fca1b6096fd57a5307536/minimax_h3_video_vae_int8_convrot.safetensors","sizeBytes":3171670912,"gated":false,"presence":"loader","loaders":[["VAELoader","vae_name"]]},
@@ -437,6 +441,8 @@
"minimax-h3-flf2v-hq": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","KSamplerSelect","LoadImage","MiniMaxH3ImageToVideo","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":["vae/minimax_h3_sol_vae_int8_convrot.safetensors"],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},
"minimax-h3-i2v": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","LoadImage","MiniMaxH3ImageToVideo","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{"ComfyUI-MiniMax-H3-Turbo":["MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler"],"plaguekind-nodes":["H3AdaLNLoRAFix","H3SLAAttention"]},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","loras/minimax_h3_turbo_v4_step600_ema.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":["vae/minimax_h3_sol_vae_int8_convrot.safetensors"],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},
"minimax-h3-i2v-hq": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","KSamplerSelect","LoadImage","MiniMaxH3ImageToVideo","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":["vae/minimax_h3_sol_vae_int8_convrot.safetensors"],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},
+ "minimax-h3-image-edit": {"core":["CLIPLoader","ConditioningZeroOut","GetImageSize","JsonExtractString","KSampler","LoadImage","MiniMaxH3ImageConditioning","PrimitiveStringMultiline","ResizeImageMaskNode","SaveImage","StringReplace","TextGenerateV2","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors","text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors","vae/minimax_h3_image_vae_fp16.safetensors"],"optional":["text_encoders/qwen3.5_9b_w4a8_gptq.safetensors"],"vramGb":32,"isolated":false,"firstRun":[]},
+ "minimax-h3-image-t2i": {"core":["CLIPLoader","ConditioningZeroOut","JsonExtractString","KSampler","MiniMaxH3ImageConditioning","PrimitiveStringMultiline","SaveImage","StringReplace","TextGenerateV2","UNETLoader","VAEDecode","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_image_pruned_int8_convrot.safetensors","text_encoders/qwen3vl_32b_minimax_h3_int8_convrot.safetensors","vae/minimax_h3_image_vae_fp16.safetensors"],"optional":["text_encoders/qwen3.5_9b_w4a8_gptq.safetensors"],"vramGb":32,"isolated":false,"firstRun":[]},
"minimax-h3-orbit": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","KSamplerSelect","LoadImage","LoraLoaderModelOnly","MiniMaxH3ImageToVideo","MiniMaxH3SigmaShift","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","loras/minimax_h3_flf2v_lora_v1.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":[],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},
"minimax-h3-t2v": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","MiniMaxH3ImageToVideo","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{"ComfyUI-MiniMax-H3-Turbo":["MiniMaxH3TurboLoRA","MiniMaxH3TurboSampler"],"plaguekind-nodes":["H3AdaLNLoRAFix","H3SLAAttention"]},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","loras/minimax_h3_turbo_v4_step600_ema.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":["vae/minimax_h3_sol_vae_int8_convrot.safetensors"],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},
"minimax-h3-t2v-hq": {"core":["BasicGuider","BasicScheduler","CLIPLoader","CreateVideo","KSamplerSelect","MiniMaxH3ImageToVideo","RandomNoise","SamplerCustomAdvanced","SaveVideo","UNETLoader","VAEDecode","VAEDecodeAudio","VAELoader"],"packs":{},"files":["diffusion_models/minimax_h3_fl2va_pruned_int8_convrot.safetensors","text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors","vae/minimax_h3_audio_vae_fp32.safetensors","vae/minimax_h3_video_vae_int8_convrot.safetensors"],"optional":["vae/minimax_h3_sol_vae_int8_convrot.safetensors"],"vramGb":32,"isolated":false,"firstRun":[],"validated":true},