diff --git a/README.md b/README.md index 9ea058d..1689def 100644 --- a/README.md +++ b/README.md @@ -68,25 +68,26 @@ The workflow above illustrations the most user-friendly interface, but there are ## Interleaving Multiple Prompts Simultaneously (aka Prompt Entanglement, aka Prompt Superposition) -![Prompt Entanglement](examples/prompt-entanglement.png) - -Which is the node equivalent for achieving this type of thing - -![](https://pbs.twimg.com/media/Fqcdhe4agAEnJ-L?format=jpg&name=large) - -For documentation detailing how this workflow works, see the [`Nodes > Entangled Curves`](https://github.com/dmarx/ComfyUI-Keyframed?tab=readme-ov-file#entangled-curves) section below. - -## AnimateDiff Prompt Superposition - Complex Workflow - -![Prompt Entanglement](examples/8x-interleaved-prompts_2phase-ad_loop-friendly-vfi_upscale.png) +![Prompt Entanglement](examples/6x-interleaved-prompts_2phase-ad_loop-friendly-vfi_upscale.png) Workflow output: https://twitter.com/DigThatData/status/1733416414864957484 -* 8x Prompt superposition +Workflow features: + +* 6x Prompt superposition * Second pass of AnimateDiff with denoise reduced to serve as a "refinement pass" * FiLM Video Frame Interpolation (VFI) modified to interpolate looping videos correctly * ESRGAN 2x Upscaling +The "Nx Entangled Curves" nodes generate N sinusoidal curves whose phases are offset to be equally spaced and whose amplitudes are adjusted such that the sum of all curves at any time is 1. + +![Prompt Entanglement](examples/6x-entangled-curves-plot.png) + +This can be used to create a "prompt superposition" effect, where all prompts contribute at any given time, and their relative strengths varies throughout the animation, each taking turns being the strongest or weakest contributor to the conditioning. This differs from the "prompt scheduling" workflow above, where at most two prompts are active at any given time (i.e. during transitions between keyframes). + +For documentation detailing how this workflow works, see the [`Nodes > Entangled Curves`](https://github.com/dmarx/ComfyUI-Keyframed?tab=readme-ov-file#entangled-curves) section below. + + ## Simple Curved Parameter ![Simple Curved Parameter](examples/simple-curved-parameter.png) diff --git a/examples/6x-entangled-curves-plot.png b/examples/6x-entangled-curves-plot.png new file mode 100644 index 0000000..ff57c87 Binary files /dev/null and b/examples/6x-entangled-curves-plot.png differ diff --git a/examples/6x-interleaved-prompts_2phase-ad_loop-friendly-VFI_upscaling.png b/examples/6x-interleaved-prompts_2phase-ad_loop-friendly-VFI_upscaling.png new file mode 100644 index 0000000..96d54b8 Binary files /dev/null and b/examples/6x-interleaved-prompts_2phase-ad_loop-friendly-VFI_upscaling.png differ diff --git a/examples/8x-interleaved-prompts_2phase-ad_loop-friendly-vfi_upscale.png b/examples/8x-interleaved-prompts_2phase-ad_loop-friendly-vfi_upscale.png deleted file mode 100644 index e69e53d..0000000 Binary files a/examples/8x-interleaved-prompts_2phase-ad_loop-friendly-vfi_upscale.png and /dev/null differ