[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111300":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":12,"stars7d":14,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":14,"compositeScore":16,"rankGlobal":8,"rankLanguage":8,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":8,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":13,"starSnapshotCount":13,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},111300,"ComfyUI-H3-RelayHires","tazmannner\u002FComfyUI-H3-RelayHires","tazmannner",null,"Python",78,6,1,0,3,19,44.94,"MIT License",false,"main",true,[],"2026-11-15 08:22:19","2026-11-22 18:20:39","# H3 Relay Hires\n\nRender a MiniMax H3 take small, finish it at 1920x1088: **about half the time of an upscaled 1 MP render and a quarter\nof a native 1920 render**, keeping the take you previewed and its audio. Built for 2D anime.\n\n[![Re:Zero-style close-up: native 1920, 1 MP + latent upscale + refine, Relay Hires, Relay Hires with the Fast Tail Sampler](assets\u002Frezero_four_routes.webp)](assets\u002Frezero_four_routes.mp4)\n\n*Top: native 1920 render (503 s), 1 MP render + latent upscale + refine (241 s). Bottom: Relay Hires (119 s), and Relay\nHires with the H3 Fast Tail Sampler in pass 1 (108 s). Each route renders its own take, so compare the drawing, not the\npose; the two relays share one. Click for the full clip (with sound, then half speed).*\n\n## Results\n\n5 s clips (124 frames), 1920x1088, RTX 5090, end to end (text encode, sampling, decodes, saves):\n\n| clip | native 1920 | 1 MP + latent upscale + refine | **Relay Hires** | **+ Fast Tail** |\n|---|---|---|---|---|\n| Teen Titans-style punch | 492 s | 240 s | **116 s** | **105 s** |\n| plain-H3 sword fight | 503 s | 241 s | **118 s** | **107 s** |\n| Edgerunners-style rocket | 508 s | 245 s | **121 s** | **109 s** |\n| Re:Zero-style mecha, close-ups | 503 s | 241 s | **119 s** | **108 s** |\n| Re:Zero-style wide shot, small faces | 500 s | 239 s | **117 s** | **106 s** |\n\nMeasured with dense attention on the 1920 step; the 4-frame window the example workflows use since 0.2.1 takes another\n~7 s off these 5 s clips and about half the 1920 step on 10-15 s clips ([bench](#bench-pika-vs-dmad-window-attention-de-rope-schedule)).\n*+ Fast Tail*: the same Relay Hires with the H3 Fast Tail Sampler in pass 1 ([below](#faster-pass-1-h3-fast-tail-sampler)),\nsame take. The two relay columns were measured in one session (Relay Hires renders bit-identical to its first test,\nwhich also saved an AnimeSR-only comparison video and took 122-126 s); native and 1 MP are from the original tests.\n\n- **Same take as the 0.5 MP preview**, and its soundtrack sample for sample (the audio is pinned outright).\n- **Crisp at 1:1**: the preview's melted fast-frame faces and motion smears are redrawn as proper drawings, and small\n  faces in wide shots come out clean (below: 0.5 MP preview | AnimeSR alone | Relay Hires, 1:1 crops at 1920).\n- **Steady**: frame-to-frame change on still content 0.13 (native 0.10, the 1 MP route 0.22).\n- **Line weight** is the remaining gap to native: ink lines ~3.1-3.9 px vs ~2.2-3.0 px native.\n- **Very fast action**: where the 0.5 MP take itself melts (a sword clash), the result is motion blur, not crisp\n  poses. Fix those frames at 0.5 MP first with a de-rope pass (example workflow 2), then relay.\n\n![small faces in a wide shot: 0.5 MP preview, AnimeSR alone, Relay Hires](assets\u002Frezero_wide_small_faces.jpg)\n\n## How it works\n\n1. **Pass 1 at 0.5 MP** (960x544) decides layout, motion, acting and audio. That's where most of a render's time goes,\n   so that's where the saving is: 60 s instead of 151 s at 1 MP.\n2. **AnimeSR** upscales the decoded frames to the target size in ~2 s (see below).\n3. **One DMAD step from sigma 0.60** at the target size redraws the detail: the frames are encoded (taeh3 is enough),\n   re-noised to 0.60 and denoised in one turbo step with the pass-1 audio pinned, then decoded. If the 1920 result\n   pulses in brightness every 4 frames, encode and decode with the Sol-H3 VAE instead\n   ([below](#flicker-fix-sol-h3-vae-on-the-1920-step-optional)).\n\nWhy these settings (measured, see the development notes):\n- **sigma 0.60**: 0.45 stays soft from a 0.5 MP take; 0.75 starts redrawing fast frames (new faces, re-smeared limbs).\n- **1 step**: looks the same as 2, slightly steadier, 21 s less.\n- **window attention 4, anchors every 8th latent frame** (the example workflows since 0.2.1): each frame attends to\n  its neighbours plus shared anchor frames. On 10-15 s clips the 1920 step takes about half the time of dense attention\n  (11.5 s clip 115 -> 64 s, 10 s fight 92 -> 53 s) with the same sharpness and the same still-line flicker\n  (`tools\u002Fstatic_flicker.py` 1.451 vs 1.439 dense, 1.608 vs 1.595). Without anchors still lines shimmer. `window` 0\n  is dense, the node's own default.\n\n## Faster pass 1: H3 Fast Tail Sampler\n\nPass 1 is still the biggest cost: 58 s of a ~120 s relay-only render, 285 s of a 15 s clip through the full pipeline.\n**H3 Fast Tail Sampler** takes ~20% off it without changing the take. Use it in pass 1 instead of KSamplerSelect\n`euler` and keep BasicScheduler `beta57` 20 (example workflows 5-8 do).\n\n- H3 decides layout, acting and audio timing in the first 12 of the 20 steps (sigma >= 0.79), and that part is\n  chaotic: fewer steps, more steps (even 40) or another solver all give a different take. The sampler runs those 12\n  steps exactly as `euler` does, bit for bit.\n- Below 0.79 the path is smooth, so the last 8 steps become 4 second-order steps (DPM++ 2M with its step ratio\n  measured in H3's flow log-SNR). Checked against a near-exact finish of the same take (a 32-step tail), they land as\n  close to it as the 8 euler steps do, in fine detail and in the soundtrack.\n- RTX 5090, end to end: examples 1-4 -> 5-8 9-12 s faster each (pass 1 58 -> 47 s); 15 s clips through the full\n  pipeline 706 -> ~650 s and 814 -> 752 s (pass 1 285 -> 229 s). The 1920 results match: same frames and poses (29-34\n  dB PSNR to the euler render, where a different take measures 13-19 dB), same ink-line width and still-line flicker.\n- The soundtrack comes out ~0.5 dB louder than with euler (euler's 8-step finish is ~0.5 dB under the near-exact\n  one), and Anime Cadence may place a 2s\u002F3s hold one frame differently.\n- Settings: `decide_above` 0.79, `tail_steps` 4, `tail_solver` dpmpp_2m_flow. `tail_steps` 3 is ~25% faster but drops a\n  few tiny sparks and particles; a lower `decide_above` changes the take and makes the audio louder.\n\n**Without this pack (stock ComfyUI nodes).** The same pass 1 can be wired from core nodes:\n\n1. BasicScheduler (`beta57`, 20) -> SplitSigmas (`step` 12)\n2. SamplerCustomAdvanced #1: your RandomNoise, KSamplerSelect `euler`, SplitSigmas' high sigmas\n3. ManualSigmas `0.7903, 0.65766, 0.44654, 0.17186, 0` (the 4 tail points of beta57 20 at shift 12)\n4. SamplerCustomAdvanced #2: DisableNoise, SamplerDPMPP_2M_SDE (`eta` 0, `solver_type` midpoint), the ManualSigmas,\n   the latent from #1. Decode the video and the audio from #2.\n\nWith `eta` 0 that sampler is the same DPM++ 2M in flow log-SNR as the node's tail; on the market clip it renders the\nnode's take (32.6 dB PSNR, soundtrack correlation 0.995, same loudness). What the node adds: one node instead of five,\ntail points picked from whatever schedule it gets (the ManualSigmas values above only fit beta57, 20 steps, shift 12),\nand no hand-off between two samplers. The head is euler in both; the idea (keep the steps above 0.79, shorten the tail)\nshould carry over to other samplers but was only measured with euler.\n\n## Max speed: Pika H3 Flex in pass 1\n\n[Pika H3 Flex](https:\u002F\u002Fgithub.com\u002FPika-Labs\u002FPika-H3-Flex) is a distilled turbo LoRA for H3: pass 1 in 6 steps instead\nof 20. In front of Relay Hires it's the fastest route we've tested, but it **renders its own take**: same prompt and\nseed, different framing, character designs, acting and soundtrack. Not worse, different. Use it when you want max\nspeed; keep the 20-step pass 1 (examples 1-8) when you want the base model's take. Example workflows `1_B` and `4_B`\nare 1 and 4 with it (111 -> 69 s and 216 -> 174 s; pass 1 60 -> 22 s).\n\n[![cyberpunk alley: 20-step pass 1, Pika pass 1 + Relay Hires, 20-step pass 1 + Relay Hires](assets\u002Fcyber_pika_3way.webp)](assets\u002Fcyber_pika_3way_audio_tour.mp4)\n\n*9.4 s clip, seed 101. A: the 20-step pass 1 at 0.5 MP. C: that take through Relay Hires (279 s). B: Pika pass 1 +\nthe same Relay Hires (182 s). Click for the clip with sound: each version's soundtrack plays in turn.*\n\n- **Time**: this 9.4 s clip 279 -> 182 s (pass 1 ~42 s); a 15 s clip through the full pipeline (de-rope, FaceDetail,\n  cadence) 814 -> 646 s.\n- **Audio**: also its own take. Dialogue and sound effects come through, but quiet background music can drop out (the\n  alley's low synth drone did). Describe music explicitly and loudly (\"a loud, driving synthwave track, clearly\n  audible from the first second\") and it comes back.\n- **Settings**: LoRA 1.0 (the fl2va file for t2v, the ref2va file for Ref2VA) *before* MiniMaxH3SigmaShift (keep 12\u002F3\n  in the model path), ManualSigmas `1.0, 0.972973, 0.923077, 0.8, 0.571429, 0.333333, 0`, sampler `lcm`, cfg 1\n  (BasicGuider). The relay's 1920 step stays DMAD 0.8: Pika there is softer at 1 step, and 2 Pika steps from 0.57\n  look the same as DMAD for ~100 s more ([bench](#bench-pika-vs-dmad-window-attention-de-rope-schedule)). The Fast\n  Tail Sampler doesn't apply (it shortens the 20-step schedule), so there's no Pika version of 5-8.\n\n## AnimeSR\n\nH3 draws ink lines ~2 px wide at **every** resolution, so a 0.5 MP take has lines twice too thick for 1920. AnimeSR is a\nsmall arbitrary-scale upscaler (1.3 M params, 5 MB) trained from scratch to undo that:\n\n- **Architecture** (`animesr.py`): residual conv blocks at the input resolution, a 4-conv head at the output\n  resolution that sees the features, the bicubic upscale, each output pixel's sub-pixel offset and the scale. One model\n  for any input from 0.47x to 0.72x of the target; it starts training as exact bicubic.\n- **Data**: ~1,700 1080p anime clips and stills -> 9,470 training pairs. Low-res inputs are made the way H3 makes them:\n  downscaled 0.47-0.72x and round-tripped through H3's own video VAE (in video mode), and 80% of them get H3-thick ink\n  lines (thin dark lines thickened at low res); the targets keep the real thin lines.\n- **Result**: on real 0.5 MP H3 frames its lines come out at 2.7 px at 1920 vs 3.3 px for Lanczos, with clean fills and\n  no ringing. Because the H3 step keeps much of the start image's line width, this carries into the result.\n\nAnimeSR alone (no H3 step) is the cheapest 1920 path (~80 s), but it keeps the take's smears and mushy small faces.\nIt's trained for 0.47-0.72x inputs, so it works best for upscales of about 1.4x-2.1x (the default 0.5 MP -> 1920 is 2x).\n\n### Not anime? Plug in your own upscaler\n\nAnimeSR learned anime: on a painterly or realistic take it turns rough skin and stubble into clean cel shading. H3\nRelay Hires has an optional `upscale_model` input for any ComfyUI upscale model (**Load Upscale Model**). The model runs\nat its own scale (x2, x4) and the result is resized to `width` x `height`, so it works with any hires scale; the\n`upscaler` dropdown is ignored while a model is connected.\n\nOne painterly take (a card dealer, graphic-novel look), same pass 1, only the upscaler changed:\n\n| upscaler | relay node time (5 s clip) | fine detail (Laplacian) | look |\n|---|---|---|---|\n| AnimeSR | 26 s | 6.4-7.0 | turns the face anime: smooth skin, cel shading, stubble gone |\n| lanczos | 24 s | 7.1-7.9 | keeps the style, soft |\n| **RealESRGAN_x2plus** | **42 s** | **9.8-10.6** | keeps stubble, skin creases, card filigree, wood grain |\n| 4x-UltraSharp | 107 s | 10.7-12.0 | most detail, 4x slower |\n\n![the same frames through AnimeSR, lanczos, 4x-UltraSharp and RealESRGAN x2](assets\u002Fupscaler_painterly_crops.jpg)\n\nNone adds flicker (frame-to-frame jitter is the same for all four, close to pass 1). For non-anime looks\nRealESRGAN x2 is the best value: native 2x matches the default scale. Keep AnimeSR for anime. Thanks to The Shadow for\nthe suggestion.\n\n## Bench: Pika vs DMAD, window attention, De-rope schedule\n\n2026-11-03, on three Ref2VA anime clips (11.5 s dialogue, 15 s wide shots with small faces, 10 s fist fight), each\nvariant on the same take (soundtrack correlation 1.000), so only the stage under test changes. Prompted by a\ncommunity workflow that swaps DMAD for the Pika H3 Flex ref2va LoRA in every pass after pass 1, upscales with lanczos,\nruns the 1920 step 2 steps from 0.57 with a 4-frame window and encodes with the full VAE.\n\n| change | result | verdict |\n|---|---|---|\n| that workflow as a whole | clearly softer at 1920 (Laplacian sharpness 25 vs 78): lanczos + a lower start hand the detail step a blurrier image than AnimeSR at 0.60 | not adopted |\n| full int8 VAE for the 1920 encode instead of taeh3 | softer (54 vs 78) and ~60 s slower | not adopted (but see the [Sol-H3 VAE](#flicker-fix-sol-h3-vae-on-the-1920-step-optional) for the 4-frame pulse) |\n| Pika in the 1920 step, 1 step at 0.60 | softer than DMAD (169 vs 187) | not adopted |\n| Pika in the 1920 step, 2 steps from 0.57 | +8% sharpness on paper, no visible difference, +100 s | not adopted |\n| Pika in FaceDetail | same faces as DMAD (mean difference ~1\u002F255); on Pika's own sigma knots one step fewer on mid-size faces (133 -> 99 s) | optional |\n| Pika in Fast De-rope (3 lcm steps from 0.8) | keeps pass 1's framing, but drops eye highlights, smudges cheeks, thins sleeve folds | not adopted |\n| **Fast De-rope pass 2: 4 DMAD steps from 0.8** instead of the 8-step inject-0.5 schedule | keeps pass 1's framing and character positions (the old schedule moved the camera and re-staged the fight) with DMAD's line detail, same time (37 vs 38 s); on the examples' market clip the redrawn span stays closer to pass 1 too (mean difference 7.6 vs 10.1) | **examples 2-4, 6-8, 4_B** |\n| **window 4 + anchors every 8 on the 1920 step** | about half the time of dense (115 -> 64 s, 92 -> 53 s), same sharpness and still-line flicker | **all examples** |\n| Pika vs the 20-step pass 1, audio | same take and loudness; the 20-step take had a fuller music bed, Pika's took 3x less time | Pika stays the max-speed option |\n\n![the fist fight at 3.6 s and 8.6 s: pass 1, the old De-rope schedule, the new one](assets\u002Fderope_schedule_fight.jpg)\n\n*Pass 1 (left) | old De-rope schedule (middle) | new (right). The old 8-step inject-0.5 pass re-stages the take: the\ncamera moves in and the punch becomes a new pose. From 0.8 the redraw keeps pass 1's framing and positions and\nstill cleans the smeared arm. Hands can still change (Diana's pointing finger becomes a flat hand in both).*\n\nStill open: the motion gate splices one continuous span, so a calm close-up between fast shots gets redrawn too and\nloses pass-1 detail such as eye highlights. Limiting the redraw to the fast shots is planned in Fast De-rope.\n\n## Flicker fix: Sol-H3 VAE on the 1920 step (optional)\n\ntaeh3 encodes each latent frame (4 video frames) a little off, so after the 1920 step every 4th frame can come out\nbrighter: ~1.5 luma on average and ~3 on big flat areas, a slow shimmer on running tracks, floors and skies. Pass 1\nand the 0.5 MP stages don't have it; it starts at the relay's encode. It's strong on bright flat shots and faint on\nbusy ones: on a sports-day establishing shot the red track jumps +2.9 every 4th frame; on the market fight of the\nexamples the 4-frame pattern is only ±0.16. Window attention doesn't matter (dense and window 4 pulse the same).\n\nIf you see it, use [`4_relay_hires_derope_facedetail_cadence_SOLVAE.json`](example_workflows\u002F4_relay_hires_derope_facedetail_cadence_SOLVAE.json),\nor change any workflow by hand: load `minimax_h3_sol_vae_int8_convrot.safetensors` (from\n[Comfy-Org\u002FMiniMax-H3](https:\u002F\u002Fhuggingface.co\u002FComfy-Org\u002FMiniMax-H3), `vae\u002F`; base model\n[Efficient-Large-Model\u002FSol-H3-VAE](https:\u002F\u002Fhuggingface.co\u002FEfficient-Large-Model\u002FSol-H3-VAE)) with a VAELoader and wire\nit into **H3 Relay Hires**' `vae` (the encode) and the **1920 VAE Decode** (or H3 Relay Finish's `vae`). Sol has its own\nencoder, so the latent frames come out even; its distilled decoder is the fast part.\n\n![track brightness vs pass 1, frame by frame: taeh3 jumps every 4th frame, Sol stays flat](assets\u002Ftaeh3_pulse_chart.png)\n\n| 1920 step (sports day, 15 s) | 4-frame pulse (track) | fine detail (Laplacian) | relay node (encode + step) + 1920 decode |\n|---|---|---|---|\n| taeh3 (all other examples) | +2.9 | 4.9-5.3 | 91 + 38 s |\n| full int8 VAE | none | 4.3-4.7 | 169 + 38 s |\n| **Sol-H3 VAE** | **none** | 4.4-4.9 | 168 + 15 s |\n\nAt 1:1 the line art and eyes look the same in all three. On the 5 s example clip the SOLVAE workflow takes 244 s end to\nend against 217 s for example 4 (the 1920 step 37 -> 58 s): Sol's encode is as slow as the full VAE's, its decode is\nfaster than the stock one. The other examples keep taeh3, since most clips don't show the pulse.\n\nAlso tried: a community anime fine-tune of the H3 VAE\n([Seamless Anime VAE](https:\u002F\u002Fcivitai.com\u002Fmodels\u002F3025416\u002Fminimax-h3-seamless-anime-vae)) on both ends. No pulse either\nand visibly fewer 16-px grid blocks at 4x zoom (grid ratio 1.15 vs Sol 1.40), but at normal size it looks the same as\nSol, and it's ~50 s slower on 15 s (full-size decoder).\n\n## Nodes\n\n| node | what it does |\n|---|---|\n| **H3 Relay Hires** | the whole method in one node. Inputs: the pass-1 model with the DMAD LoRA at 0.8 (same style LoRAs and shift), the pass-1 conditioning, the pass-1 AV latent (for its audio), the pass-1 frames, a VAE for the encode (taeh3). Optional `upscale_model`: any ComfyUI upscale model instead of AnimeSR ([non-anime looks](#not-anime-plug-in-your-own-upscaler)). Outputs the AV latent at the target size, plus the upscaled frames. |\n| H3 Fast Tail Sampler | pass-1 sampler in place of KSamplerSelect `euler`: the steps where H3 decides the take run as euler, then a short 2nd-order tail. Pass 1 ~20% faster, same take ([below](#faster-pass-1-h3-fast-tail-sampler)) |\n| H3 Relay Upscale (AnimeSR) | AnimeSR alone: frames -> any size |\n| H3 Relay Window Attention | temporal window attention, with anchor frames (research \u002F speed option) |\n| H3 Relay Anchor, H3 Relay Line Thin | research tools from development, not part of the recipe |\n\nSettings on H3 Relay Hires: `sigma_start` 0.60, `steps` 1, `window` 4 with `anchor_stride` 8 (the example workflows;\n`window` 0 = dense, the node default, about twice as slow on long clips for the same result). The `upscaler` list\nshows AnimeSR models in `models\u002F` plus `lanczos`.\n\n## Example workflows\n\nTen workflows in `example_workflows\u002F`, all on the same prompt (a street-market fight, plain H3 without a style LoRA,\nseed 101). 1-4 each add one stage of an anime pipeline at 0.5 MP before the relay; 5-8 are the same four with the\nH3 Fast Tail Sampler in pass 1 (same take, 9-12 s faster); 1_B and 4_B are 1 and 4 with Pika H3 Flex in pass 1\n(fastest, Pika's own take, [above](#max-speed-pika-h3-flex-in-pass-1)). Two variants of 4 change only the 1920 end:\n4_B_..._LOWRAM (H3 Relay Finish, less RAM) and 4_..._SOLVAE (the Sol-H3 VAE, for the\n[4-frame flicker](#flicker-fix-sol-h3-vae-on-the-1920-step-optional)). A blue SETTINGS group holds the pass-1 size (aspect +\nmegapixels, 0.5 MP), the hires scale (2.0) and one prompt box; each saves the 0.5 MP preview and the 1920 result.\n\n[![the four example workflows on one take: 1 relay only, 2 + Fast De-rope, 3 + FaceDetail, 4 + Anime Cadence](assets\u002Fexamples_1to4.webp)](assets\u002Fexamples_1to4.mp4)\n\n*The four workflows' 1920 results side by side: 1 relay only | 2 + Fast De-rope \u002F 3 + FaceDetail | 4 + Anime Cadence. Click for the full clip (with sound, then half speed).*\n\n| workflow | what it adds | end to end* | packs it needs besides this one |\n|---|---|---|---|\n| [`1_relay_hires.json`](example_workflows\u002F1_relay_hires.json) | relay only | 111 s | FastDerope (its taeh3 loader) |\n| [`2_relay_hires_derope.json`](example_workflows\u002F2_relay_hires_derope.json) | Fast De-rope: smeared fast motion comes back as clean drawings on 2s before the relay | 136 s | FastDerope, MAINodes |\n| [`3_relay_hires_derope_facedetail.json`](example_workflows\u002F3_relay_hires_derope_facedetail.json) | + FaceDetail: small faces redrawn at 0.5 MP; its face tiles are stitched again onto the 1920 frames, so the final keeps the preview's faces | 212 s | + FaceDetail, ResCascade |\n| [`4_relay_hires_derope_facedetail_cadence.json`](example_workflows\u002F4_relay_hires_derope_facedetail_cadence.json) | + Anime Cadence: 2s\u002F3s holds, carried to 1920 by Hold Transfer | 216 s | + AnimeCadence |\n| [`5_relay_hires_fast_tail.json`](example_workflows\u002F5_relay_hires_fast_tail.json) | 1 with the H3 Fast Tail Sampler in pass 1 | 97 s\\*\\* | as 1 |\n| [`6_relay_hires_derope_fast_tail.json`](example_workflows\u002F6_relay_hires_derope_fast_tail.json) | 2 with the H3 Fast Tail Sampler in pass 1 | 122 s\\*\\* | as 2 |\n| [`7_relay_hires_derope_facedetail_fast_tail.json`](example_workflows\u002F7_relay_hires_derope_facedetail_fast_tail.json) | 3 with the H3 Fast Tail Sampler in pass 1 | 198 s\\*\\* | as 3 |\n| [`8_relay_hires_derope_facedetail_cadence_fast_tail.json`](example_workflows\u002F8_relay_hires_derope_facedetail_cadence_fast_tail.json) | 4 with the H3 Fast Tail Sampler in pass 1 | 201 s\\*\\* | as 4 |\n| [`1_B_relay_hires_PIKA6STEP.json`](example_workflows\u002F1_B_relay_hires_PIKA6STEP.json) | 1 with Pika H3 Flex in pass 1 (6 steps, its own take) | 69 s\\*\\* | as 1, + the Pika H3 Flex fl2va LoRA |\n| [`4_B_relay_hires_derope_facedetail_cadence_PIKA6STEP.json`](example_workflows\u002F4_B_relay_hires_derope_facedetail_cadence_PIKA6STEP.json) | 4 with Pika H3 Flex in pass 1 (6 steps, its own take) | 174 s\\*\\* | as 4, + the Pika H3 Flex fl2va LoRA |\n| [`4_relay_hires_derope_facedetail_cadence_SOLVAE.json`](example_workflows\u002F4_relay_hires_derope_facedetail_cadence_SOLVAE.json) | 4 with the Sol-H3 VAE for the 1920 encode and decode: no 4-frame brightness flicker | 244 s | as 4, + the Sol-H3 int8 VAE |\n\n*1920x1088, 124 frames (5 s), RTX 5090. FaceDetail's cost depends on the clip: here it redrew four face tracks of\n~30 px and took ~80 s, re-stitch included.\n\n\\*\\*Timed in the session right after 1-4 (0.2.1 settings: window 4 on the 1920 step, De-rope from 0.8); the stages\nalready cached from that run (text encode, model loads, ~4 s) are counted with their times from it. Pass 1 61 -> 47 s\nwith the Fast Tail, 19 s with Pika. Against 0.2.0 the window saves 8 s on the 1920 step (32 -> 24 s) and De-rope's\npass 2 takes the same time (15 -> 14 s); the rest is FaceDetail's CPU steps, which vary by several seconds between runs.\n\n- In workflow 4 the relay renders the frames *before* Anime Cadence (so FaceDetail's tiles stay on their frames).\n  Hold Transfer then copies the 0.5 MP holds onto the 1920 frames; with its `source` input each hold shows the drawing\n  Cadence picked (needs ResCascade da05159 or later). Don't run Anime Cadence again after the relay.\n- Packs: [FastDerope](https:\u002F\u002Fgithub.com\u002Ftazmannner\u002FComfyUI-H3-FastDerope),\n  [MAINodes](https:\u002F\u002Fgithub.com\u002Fmatlowai\u002FComfyUI-MAINodes),\n  [FaceDetail](https:\u002F\u002Fgithub.com\u002Ftazmannner\u002FComfyUI-H3-FaceDetail) (with its anime face detector),\n  [ResCascade](https:\u002F\u002Fgithub.com\u002Ftazmannner\u002FComfyUI-H3-ResCascade),\n  [AnimeCadence](https:\u002F\u002Fgithub.com\u002Ftazmannner\u002FComfyUI-H3-AnimeCadence); all four workflows also use\n  [VideoHelperSuite](https:\u002F\u002Fgithub.com\u002FKosinkadink\u002FComfyUI-VideoHelperSuite) and comfyui_essentials (SimpleMath+).\n\n## Requirements\n\n- MiniMax H3 in ComfyUI (the example workflows load the fp16 and int8 video VAEs and the audio VAE), the DMAD 4-step\n  turbo LoRA for H3\n- a taeh3 loader for the encode (e.g. ComfyUI-H3-FastDerope's); the SOLVAE example uses the Sol-H3 int8 VAE instead\n- `models\u002Fanimesr_v1.safetensors` (included)\n- the example workflows also use comfyui_essentials (SimpleMath+) for the size settings, and the packs listed above\n\n## Train AnimeSR yourself\n\n```bash\ntar -cf - my_1080p_clips\u002F my_1080p_stills\u002F | python training\u002Fprep.py > pairs.tar    # ComfyUI's Python + GPU (H3 VAE)\ncat pairs.tar | ITERS=12000 OUT=run python training\u002Ftrain.py                       # ~22 min on an RTX 5090\n```\n\n`prep.py` keeps 1920x1080 sources only and holds out 1 in 25 for validation; `train.py` saves\n`run\u002Fanimesr_best.safetensors` (copy it into `models\u002F`) and before\u002Fafter PNGs of held-out frames.\n\n## Measuring\n\n- `tools\u002Fline_width.py video.mp4`: median ink-line width (px at 1920 scale)\n- `tools\u002Fstatic_flicker.py video.mp4`: frame-to-frame change on the most static parts of a shot (shimmer\u002Fboil)\n\n## License\n\nMIT\n","这是一个专为2D动漫风格视频生成优化的ComfyUI插件，实现高效高分辨率渲染（1920×1088）。其核心采用两阶段“中继高清”（Relay Hires）策略：先在0.5 MP分辨率（960×544）完成含音频的完整预览与运动决策，再基于该预览结果进行精准高清重绘，避免传统上采样导致的细节失真与帧间抖动；支持H3 Fast Tail采样器进一步加速首通。相比原生1920渲染提速约4倍，且严格保持原始预览的构图、动作节奏与音频同步。适用于需要快速迭代、高画质输出的动漫向AI视频生成场景，尤其适合带复杂面部特写或动态镜头的短片制作。",2,"2026-11-24 04:40:45","CREATED_QUERY"]