Nodes/ComfyUI EasyUse Anima/Anima Prompt Data Conditioning
ComfyUI Node

Anima Prompt Data Conditioning

Prompt dict in, KSampler-ready conditionings out

By n0va39·Created 3 months ago·Updated a day ago· 24
Anima Prompt Data Conditioning
  • model
  • clip
  • EASYUSE_ANIMA_PROMPT_DATA
  • model
  • positive
  • negative
  • latent_image
mod_guidance_modeprompt_data
mod_w_profilestep_i8_skip27
artist_mix_modeprompt_data
artist_mix_start_percent0.50
artist_mix_strength_scale1.00
artist_mix_style_gain1.35
artist_mix_rms_scale_cap2.00
artist_mix_exact_top_k4
artist_mix_cluster_count4
artist_mix_dominant_isolationtrue
artist_mix_dominant_threshold0.25

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:

  • positive and negative CONDITIONING, encoded with the CLIP you give it
  • latent_image - an empty latent built from the prompt-data width and height, batch size fixed to 1
  • model - 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.

CategoryEasyUse Anima/Prompt

Inputs (14)

NameTypeDefaultDescription
modelMODELMODEL to pass through or patch with Anima Mod Guidance.
clipCLIPCLIP used to encode prompt data and Mod Guidance quality tags.
EASYUSE_ANIMA_PROMPT_DATAEASYUSE_ANIMA_PROMPT_DATAStructured prompt data from Anima Prompt Studio Advanced v2.
mod_guidance_modeCOMBOprompt_dataprompt_data uses the prompt-data boolean, enabled forces Anima Mod Guidance on, and disabled bypasses the model patch.
mod_w_profileCOMBOstep_i8_skip27Spectrum AnimaModGuidance per-block profile. off bypasses the model patch.
artist_mix_modeCOMBOprompt_dataprompt_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_percentFLOAT0.500–1Start percent used by late/scheduled artist mix modes.
artist_mix_strength_scaleFLOAT1.000–5Strength multiplier used by exact artist mix modes.
artist_mix_style_gainFLOAT1.350–3Style delta gain used by delta_rms, hybrid tail, and clustered compressed branches.
artist_mix_rms_scale_capFLOAT2.001–5Maximum RMS energy restore scale for delta_rms compressed artist branches.
artist_mix_exact_top_kINT40–64Hybrid mode keeps this many strongest artists as exact positive branches.
artist_mix_cluster_countINT41–32Clustered mode compresses non-dominant artists into this many positive branches.
artist_mix_dominant_isolationBOOLEANtrueClustered mode keeps artists above the dominant threshold as exact branches.
artist_mix_dominant_thresholdFLOAT0.250–1Clustered dominant isolation threshold based on normalized artist weight.

Outputs (4)

NameTypeDescription
modelMODELMODEL after prompt-data model patches.
positiveCONDITIONINGPositive CONDITIONING encoded from prompt data.
negativeCONDITIONINGNegative CONDITIONING encoded from prompt data.
latent_imageLATENTEmpty latent image created from prompt-data width and height with batch size 1.