Anima Prompt Data Conditioning
Prompt dict in, KSampler-ready conditionings out
- model
- clip
- EASYUSE_ANIMA_PROMPT_DATA
- model
- positive
- negative
- latent_image
The AiO Generator does conditioning for you, invisibly, inside its one-node flow. Anima Prompt Data Conditioning is the same logic exposed as a normal node, for when you want to steer the pipeline yourself - a custom sampler, a latent you made, or a workflow that isn't using the all-in-one generator at all.
What it does
It reads an EASYUSE_ANIMA_PROMPT_DATA dict by key and produces everything the sampling stage needs:
positiveandnegativeCONDITIONING, encoded with the CLIP you give itlatent_image- an empty latent built from the prompt-data width and height, batch size fixed to 1model- passed through, or patched with Anima Mod Guidance when that's enabled
So a single node replaces the text-encode + empty-latent trio you'd otherwise wire by hand, and it does it from the same dict the editor already carries.
The two features that make it interesting
Anima Mod Guidance. This is the model patch from ComfyUI-Spectrum-KSampler that pushes quality tags through a separate guidance path instead of bloating the positive prompt. mod_guidance_mode decides whether it's used: prompt_data follows the flag stored in the dict, enabled forces it on, disabled bypasses the patch. mod_w_profile picks the per-block profile - off, or one of step_i8_skip27, step_i14, uniform_w3. If Spectrum isn't installed and a profile other than off is active, that's where you'll get the failure.
Artist mix. The artist-field text lives in the dict as structured artist data. With artist_mix_mode at prompt_data it follows the dict; otherwise you can override. Modes range from prompt and average (one positive branch, fast, stable) up through hybrid, clustered, exact, late_exact and scheduled_average, with the branch cost spelled out right in the tooltips - exact costs N positive branches and clustered costs about cluster-count plus dominant artists. The defaults are sane: artist_mix_start_percent 0.5, style_gain 1.35, rms_scale_cap 2, exact_top_k 4.
The inputs and outputs that matter
Required: model, clip, and EASYUSE_ANIMA_PROMPT_DATA. The rest are the mod-guidance and artist-mix controls above. For a first workflow, leave mod_guidance_mode on prompt_data, mod_w_profile on step_i8_skip27, and artist mix on prompt_data - that's the pack's tuned default path.
Outputs: model (patched or passed through), positive, negative, latent_image. Wire them to a KSampler and you have the AiO generator's first-pass logic minus the training wheels.
Install and gotchas
Pack install, same as always:
cd ComfyUI/custom_nodes
git clone https://github.com/n0va39/ComfyUI-EasyUseAnima
cd ComfyUI-EasyUseAnima && pip install -r requirements.txt
Restart ComfyUI; Manager finds it under "ComfyUI EasyUse Anima".
The main trap is the dependency: Mod Guidance only exists if ComfyUI-Spectrum-KSampler is installed, and the README is explicit that the latest version is recommended. Second trap: the latent output is always batch 1 - if you were hoping to feed it a batch you made yourself, that's not this node's job; generate your own LATENT and only use this node for conditioning. And if artist-mix mode differs from what you set in the editor, remember the dict is the source of truth when mode is prompt_data - change it in the editor, not here.
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | MODEL to pass through or patch with Anima Mod Guidance. | |
| clip | CLIP | CLIP used to encode prompt data and Mod Guidance quality tags. | |
| EASYUSE_ANIMA_PROMPT_DATA | EASYUSE_ANIMA_PROMPT_DATA | Structured prompt data from Anima Prompt Studio Advanced v2. | |
| mod_guidance_mode | COMBO | prompt_data | prompt_data uses the prompt-data boolean, enabled forces Anima Mod Guidance on, and disabled bypasses the model patch. |
| mod_w_profile | COMBO | step_i8_skip27 | Spectrum AnimaModGuidance per-block profile. off bypasses the model patch. |
| artist_mix_mode | COMBO | prompt_data | prompt_data follows EASYUSE_ANIMA_PROMPT_DATA, off/prompt keeps artists inline. off: Cost: 1 positive branch. Keeps artist-field text inline in the positive prompt. prompt: Cost: 1 positive branch. Keeps artist-field text inline in the positive prompt. average: Cost: 1 positive branch. Weighted average of artist conditionings; fastest stable mix. delta_rms: Cost: 1 positive branch. Mixes artist deltas from the base prompt and restores RMS style energy; usually stronger than average. hybrid: Cost: top_k + 1 positive branches. Keeps strongest artists as exact branches and compresses the tail with delta_rms; recommended balance. clustered: Cost: about cluster_count plus dominant artists. Groups similar artist deltas and compresses each cluster; useful for many artists. exact: Cost: N positive branches. Most faithful artist-specific model output mix. composite_exact: Cost: N + 1 positive branches. Adds one composite prompt branch plus exact artist branches. late_exact: Cost: base + N late exact branches. Applies exact mixing only after start. average_late_exact: Cost: 1 average branch plus N late exact branches. Fast early mix, exact late refinement. scheduled_average: Cost: scheduled average branches. Changes artist weights across timestep ranges. |
| artist_mix_start_percent | FLOAT | 0.500–1 | Start percent used by late/scheduled artist mix modes. |
| artist_mix_strength_scale | FLOAT | 1.000–5 | Strength multiplier used by exact artist mix modes. |
| artist_mix_style_gain | FLOAT | 1.350–3 | Style delta gain used by delta_rms, hybrid tail, and clustered compressed branches. |
| artist_mix_rms_scale_cap | FLOAT | 2.001–5 | Maximum RMS energy restore scale for delta_rms compressed artist branches. |
| artist_mix_exact_top_k | INT | 40–64 | Hybrid mode keeps this many strongest artists as exact positive branches. |
| artist_mix_cluster_count | INT | 41–32 | Clustered mode compresses non-dominant artists into this many positive branches. |
| artist_mix_dominant_isolation | BOOLEAN | true | Clustered mode keeps artists above the dominant threshold as exact branches. |
| artist_mix_dominant_threshold | FLOAT | 0.250–1 | Clustered dominant isolation threshold based on normalized artist weight. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| model | MODEL | MODEL after prompt-data model patches. |
| positive | CONDITIONING | Positive CONDITIONING encoded from prompt data. |
| negative | CONDITIONING | Negative CONDITIONING encoded from prompt data. |
| latent_image | LATENT | Empty latent image created from prompt-data width and height with batch size 1. |