Nodes/Difforum/Difforum · Prompt Scenes (travel)
ComfyUI Node

Difforum · Prompt Scenes (travel)

One box per scene

By chillithebillis·Created 3 months ago·Updated about a month ago· 7
Difforum · Prompt Scenes (travel)
  • params
  • clip
  • positive_schedule
  • first_frame_cond
  • info
scene_1a serene misty forest, soft volumetric light
scene_2a glowing crystal cave, bioluminescent
scene_3a vast starry galaxy, swirling nebula
scene_4
easingease_in_out

Difforum Prompt Scenes is prompt travel for people who don't want to think in frame numbers. Where Prompt Schedule makes you write 0: forest, 30: ocean, 59: galaxy, this node gives you four plain text boxes - scene_1 through scene_4 - and spaces them evenly across your clip for you. Fill in the scenes, pick an easing, done.

It's the same underlying engine as Prompt Schedule (each scene gets CLIP-encoded once, then per-frame blended CONDITIONING with your chosen easing), just wrapped in the friendliest possible interface. If you're new to Deforum-style animation, start here - the default scenes are already a working travel from misty forest to crystal cave to starry galaxy, so the node works the moment you drop it in.

Inputs and outputs

  • params - from Difforum · Anim Setup; max_frames controls the travel length, and scenes are spaced max_frames / scene_count apart automatically.
  • clip - your CLIP, same as any encode.
  • scene_1scene_4 - multiline text boxes. Leave scene_4 empty for a three-scene travel; it just gets dropped.
  • easing - how the blend moves between scenes. ease_in_out is the default and reads the most natural.

Outputs mirror Prompt Schedule: positive_schedule (the per-frame DIFFORUM_PROMPT list for the Feedback Sampler / Live Step), first_frame_cond (frame 0's conditioning, for your initial image), and info (which frame each scene lands on - so you can still see the math it did for you).

The only real limitation is the fixed scene count. Four scenes covers most travel, but if you want a five-scene arc or frame-exact control, that's literally what Prompt Schedule is for - this node is the "I just want it to work" version.

Install and gotchas

Standard pack install:

cd ComfyUI/custom_nodes
git clone https://github.com/chillithebillis/Difforum.git difforum

Restart ComfyUI and look for [Difforum] loaded N nodes (ComfyUI Manager: search "Difforum"). Deps are just numpy - already present in ComfyUI - and the pack is Python 3.12+ clean, unlike the original Deforum library.

Watch for the same smear trap as any prompt travel: scenes that are visually unrelated blend into noise between them. Keep adjacent scenes sharing a mood or composition and the morph lands. And remember max_frames in Anim Setup is the boss - change it and your scene spacing changes, which can catch you off guard if you tuned a specific moment. If you need to know exactly what frame each scene hits, read the info output once and trust it.

CategoryDifforum/schedule

Inputs (7)

NameTypeDefaultDescription
paramsDIFFORUM_PARAMS
clipCLIP
scene_1STRINGa serene misty forest, soft volumetric light
scene_2STRINGa glowing crystal cave, bioluminescent
scene_3STRINGa vast starry galaxy, swirling nebula
scene_4STRING
easingCOMBOease_in_out5 options: linear, ease_in, ease_out, ease_in_out, step

Outputs (3)

NameTypeDescription
positive_scheduleDIFFORUM_PROMPT
first_frame_condCONDITIONING
infoSTRING