
Node-by-node anatomy of `Colnb83/comfyui-magi2-native` (Local 114B NVFP4)
If you operate a 96 GB Blackwell RTX PRO 6000 (with 64 GB+ host RAM) and want to run August's Apache 2.0 114B Preview completely offline inside ComfyUI, `Colnb83/comfyui-magi2-native` bridges Sand.ai's Preview architecture onto stock ComfyUI tensor types. Understanding each stage's memory residency prevents random mid-graph OOM crashes when enabling the 1080p refiner.
Notice how modular the Preview pipeline is: the NVFP4 MoE transformer (~71.8 GB) denoises joint latents under `FlowUniPCMultistepScheduler`, hands visual latents to the Wan2.2 VAE decoder and acoustic latents to the audio decoder, and optionally routes through `magi2_refiner.safetensors` before muxing picture and 48kHz audio at 25fps via `VHS_VideoCombine`. Keep the refiner bypassed during seed exploration—only toggle it ON after locking composition and motion.
| Graph Stage | Local `comfyui-magi2-native` (96 GB NVFP4) | Hybrid Cloud 480B API Graph (Any 24 GB GPU) | Memory / Validation Rule |
|---|---|---|---|
| 1. Still & Reference Prep | Flux / SDXL / ControlNet loaders -> resize 1080p | Flux / SDXL / ControlNet -> export 8-bit sRGB WebP (<5 MB) | Unload image generator weights before loading local NVFP4 shards |
| 2. Multimodal Packer | Reduced preview reference conditioning tensors | 20-Slot Omni-Ref Manifest Node (10i + 5v + 5a + URL check) | Enforce sum(video_sec) <= 30s and sum(audio_sec) <= 30s pre-submit |
| 3. Prompt & Timeline Node | Single/two-beat text encoder (<=10s horizon) | Beat Chainer ([00:00-00:30] + 2.5 w/s guard + 'no music') | Stay inside 15,000-char ceiling; re-inject `@image_n` after cuts |
| 4. Core Synthesis | NVFP4 Transformer (~71.8 GB) + `FlowUniPCMultistepScheduler` | Async `Magi2SubmitNode` -> `POST /api/jobs` (returns `job_id` in <2s) | Never sleep-poll inside ComfyUI's main worker thread for 7–26 min |
| 5. Decode, Refine & Mux | Wan2.2 VAE + Audio Head + optional `magi2_refiner.safetensors` | Decoupled watcher writes 1080p @ 25fps MP4 -> `/output/magi2/` | Match 25.000fps native cadence; handle `refunded` state cleanly |
Wiring all 20 Omni-Reference slots (10 images + 5 videos + 5 audios) without cross-slot bleed
Flagship 480B MAGI-2 accepts up to 20 multimodal references per job (`referenceImages[0..9]`, `referenceVideos[0..4]`, `referenceAudios[0..4]`) at $0 surcharge. Many third-party consumer canvases truncate those inputs or omit audio slots entirely. Inside ComfyUI, building a dedicated Omni-Reference Manifest Group lets your team lock cast faces, wardrobe, props, Blender motion clips, and dry voice stems systematically across an entire season.
Enforce strict slot conventions inside your node group so prompt templates stay portable across episodes: reserve `@image_1`–`@image_3` for lead actor turnarounds, `@image_4`–`@image_6` for wardrobe and hero props, `@image_7`–`@image_10` for practical lighting plates and environments; reserve `@video_1`–`@video_2` for camera/blocking motion references (each 2–30s, combined <=30s, 25fps CFR H.264); and reserve `@audio_1`–`@audio_3` for dry vocal timbre stems (each 2–30s, combined <=30s, 48kHz WAV/MP3).
- Pre-upload to direct HTTPS object storage (Cloudflare R2 or S3 presigned URLs): ComfyUI's local `127.0.0.1` paths and Google Drive viewer URLs (`text/html`) cannot be fetched by remote inference workers.
- Auto-sanitize ComfyUI `SaveImage` PNGs: convert 16-bit PNG exports to 8-bit sRGB WebP (quality 92, exact 1920×1080 or 1080×1920) inside a lightweight pre-upload node so 10-image payloads upload in <2 seconds.
- Compute cumulative duration in the manifest node: abort locally before hitting `/api/jobs` if `sum(video_durations) > 30.0` or `sum(audio_durations) > 30.0` or if any clip is shorter than 2.0 seconds.
- Include `likenessConsent: true` only after verifying each actor/voice asset ID against your project's signed release table.
Timeline prompt chaining & reusable ComfyUI JSON graph blueprint
Typing a 3,500-character 30-second multi-beat script into a single tiny ComfyUI `CLIPTextEncode` text box is a recipe for typos, forgotten `no music` tails, and lip-sync drift past 6–7 seconds. Instead, wire a 4-stage string-concatenation subgraph: (1) `GlobalLookHeader` (aspect ratio, 35mm lens look, 3200K practical lighting, reference map), (2) modular `BeatBlock` nodes (`[00:00-00:05]`, `[00:05-00:11]`, `[00:11-00:17]`, etc.) that run a Python word-rate check (`words / beat_sec <= 2.8`), (3) automatic `no music` suffix injection, and (4) an `AuditionSliceToggle` that slices off Beat 1 (`duration: 4`) for a 40-credit audition before flipping to the full 24–30s render.
Below is a clean, schema-aligned ComfyUI custom-node payload contract showing how your Hybrid Cloud `Magi2OmniDispatch` node serializes the chained timeline and 20-slot manifest into MagiAI Studio's live `/api/jobs` contract:
{
"node_type": "Magi2HybridCloudDispatch",
"execution_mode": "async_non_blocking",
"audition_slice_only": true,
"endpoint": "https://magiai.ai/api/jobs",
"preflight_checks": {
"total_refs": 7,
"video_duration_sum_sec": 6.0,
"audio_duration_sum_sec": 9.5,
"max_beat_speech_wps": 2.4,
"no_music_enforced": true
},
"payload": {
"mode": "reference-to-video",
"duration": 4,
"aspectRatio": "16:9",
"generateAudio": true,
"likenessConsent": true,
"referenceImages": [
"https://r2.yourstudio.com/ep02/cast_lead_front.webp",
"https://r2.yourstudio.com/ep02/cast_lead_3quarter.webp",
"https://r2.yourstudio.com/ep02/wardrobe_waxed_coat.webp",
"https://r2.yourstudio.com/ep02/prop_brass_compass.webp",
"https://r2.yourstudio.com/ep02/set_harbor_pier_3200k.webp"
],
"referenceVideos": [
"https://r2.yourstudio.com/ep02/blender_graybox_dolly_6s_25fps.mp4"
],
"referenceAudios": [
"https://r2.yourstudio.com/ep02/lead_voice_dry_48k_9s.wav"
],
"prompt": "REFERENCES: Lead (@image_1, @image_2) wearing @image_3 holding @image_4 on @image_5; match camera cadence of @video_1 and vocal timbre of @audio_1. GLOBAL LOOK: 16:9 live-action 35mm film grain, wet midnight pier lit by 3200K sodium dock lamps. [00:00-00:04] Medium 50mm push-in as @image_1 opens @image_4 under the lamp and says calmly: \"The tide turns in six minutes.\" Audio: harbor water slap against pilings, brass lid click, dry close vocal, no music."
}
}Decoupling ComfyUI's execution queue from 7–26 minute flagship 480B renders
Flagship 480B MAGI-2 jobs take 7 to 26 minutes end-to-end under normal production traffic (longer during viral peaks). If you write a naive ComfyUI custom node that calls `POST /api/jobs` and sits inside a `while True: time.sleep(20)` loop, ComfyUI's single-threaded execution queue locks solid for 25 minutes—blocking you from generating your next scene's Flux keyframes on your local RTX 4090!
Use the two-node Async Split pattern instead: Node A (`Magi2AsyncSubmit`) submits the payload, logs `{job_id, scene_tag, credits_charged, submitted_at}` into a local SQLite/JSONL ledger file (`./magi2_jobs.jsonl`), and returns immediately in under 2 seconds so your GPU goes right back to staging Shot 2. A lightweight background Python daemon (or Node B `Magi2PullCompleted`) polls `GET /api/jobs/{id}` every 25 seconds, downloads completed 1080p @ 25fps MP4s directly into ComfyUI's `/output/magi2/` folder, and flags any `refunded` (`policy_filtered`) runs cleanly for prompt review without double-submitting.
Never Retry Automatically on Timeout Without Checking `/studio/jobs`
HTTP client timeouts at minute 10 do NOT mean the cloud job failed—480B renders routinely run 15–26 minutes. Always persist `job_id` immediately upon HTTP 202 acceptance and poll that exact ID instead of firing duplicate 30-second requests.
Future-proofing your ComfyUI graph for Day-1 480B open weights & LoRAs
Structuring your ComfyUI graph around strict interfaces pays off twice. Today (December 2, 2026), it lets any RTX 4090 or RTX 5090 artist combine zero-cost local Flux/ControlNet art direction with flagship 480B cloud motion and audio at 10 credits/second. When Sand.ai releases official 480B open weights—and community custom nodes or cluster-backed ComfyUI endpoints emerge—only the final Dispatch Sampler sub-node changes.
Your upstream character turnaround generators, 20-slot Omni-Reference pre-flight validator, timestamped Beat Chainer with 2.5 words/s lip-sync checks, and downstream 25fps -> 23.976fps FFmpeg/Resolve export nodes remain 100% intact.
Verified Reddit, Hugging Face & creator field findings
Real practitioner observations audited on 2026-12-02 directly inform the guardrails in this guide. Zero fabricated handles or synthetic quotes—see our December 2026 Community Field Report for full methodology.
Single-pass audio-video economics and literal keyframe transitions
Filmmakers on r/aivideomaking praise unified single-pass audio-video output across 4-30s (9:16 to 21:9) at roughly $2.40-$2.80 per 30s clip versus much steeper Seedance 2.5 costs, while sharing start/end frame advice to keep prompts literal so text never fights visual keyframes.
NVFP4 96 GB quantization, ComfyUI nodes, and preview repo feedback
Discussions on sand-ai/MAGI-2-preview cover ComfyUI integration (Colnb83/comfyui-magi2-native), heavy VRAM requirements, Civitai availability questions, and broken 404 model-card links to system prompt examples. Community repo colinb83/MAGI-2-preview-NVFP4 compresses the MoE transformer from >228 GB to ~71.8 GB (on-the-fly bf16 dequantization) yet still requires a 96 GB VRAM GPU (e.g., RTX PRO 6000 Blackwell) plus ~64 GB host RAM.
Native ComfyUI node integration for MAGI-2-preview shards
The community custom node pack Colnb83/comfyui-magi2-native bridges MAGI-2-preview NVFP4 transformer shards with stock ComfyUI loaders, the Wan2.2 VAE, audio modules, and the optional magi2_refiner.safetensors 1080p upscaling pass alongside SandAI-org/MAGI-2-preview research code.
Blender-blocked anime fights praised; water physics & 1080p-only cost flagged
Triangulated X creator reviews and hands-on test videos praise MAGI-2 for storyboard I2V fidelity, 2D animation styling, and turning Blender 3D gray-box pre-vis references into stylized anime combat—while warning about the absence of a 480p/720p draft mode, occasional hallucinations during long unguided tracking shots, and weaker fluid/water physics versus Seedance 2.5 or Kling 4.0.
Script Explicit Timestamps and Hard-Cut Triggers for 15-30s Clips
Divide 15-30 second prompts into explicit time intervals (e.g., 0-5s, 5-11s, 11-18s) and write literal editorial transitions stating exactly what changes in the new frame.
Isolate Omni-Reference Roles Explicitly per Slot
Assign each reference slot a single clean purpose (character face, wardrobe plate, environment, motion video, or voice timbre) and map each tag explicitly in the prompt so the text can focus on blocking and direction.
Feed Blender 3D Gray-Box Blocking as a Video Reference for Combat
Render a simple low-effort 3D gray-box blocking clip in Blender to lock timing, hit impacts, and camera cuts, then pass it as a reference video alongside character art plates to generate cohesive stylized anime or cinematic action.
Run these workflows in our free browser tools
20-Slot Omni-Reference Planner
Pre-validate 10 image, 5 video (<=30s), and 5 audio (<=30s) slots before wiring them into your ComfyUI dispatch manifest.
30s Timeline Prompt Builder
Build timestamped multi-beat blocks with live 2.5 words/s dialogue pacing and export clean strings for ComfyUI.
Frequently asked questions
Does `comfyui-magi2-native` support all 20 Omni-Reference slots and 30-second renders?
No—`Colnb83/comfyui-magi2-native` runs August's Apache 2.0 114B Preview checkpoint (10s cap, reduced reference conditioning, 998.5 Elo) on 96 GB Blackwell GPUs. Full 20-slot Omni-Reference (10i + 5v + 5a) and 30-second takes require flagship 480B via a Hybrid Cloud API node today.
Why shouldn't my ComfyUI API node poll `GET /api/jobs/{id}` synchronously inside the graph?
Flagship 480B renders typically span 7–26 minutes. Synchronous polling freezes ComfyUI's execution queue and blocks your local GPU from generating keyframes or drafts for other shots. Submit asynchronously, write `job_id` to disk, and pull finished MP4s via a decoupled watcher.
Can I pass local file paths from ComfyUI directly into `referenceVideos` or `referenceAudios`?
No. Cloud inference workers require publicly reachable HTTPS URLs returning raw media MIME headers (`video/mp4`, `audio/wav`, `image/webp`). Add a fast R2/S3 upload helper node before dispatch.
How do I stop a 20-slot ComfyUI workflow from wasting credits while tweaking prompts?
Wire an `audition_slice_only` boolean toggle on your Beat Chainer that caps duration at 4 seconds (40 credits / $0.32 wholesale) until cast likeness, lighting, and dry vocal timbre lock—then switch to 15–30s for the master pass.