For example, if you set the CFG to something normal and then use this, you will get an animation of a cat that turns into something random: It also requires you to make sure the prompt before THEN will end in something that match the start of the prompt that comes after to get a smooth animation. If this feels confusing, don't worry, you do not have to use it if you. This would morph from "cat" to "dog", then shift "dog", slowly changing to seed 2 and lastly, morph from "dog" to "cat" again. Example:Ĭat :1~0 AND dog :0~1 THEN dog THEN(seed=2) dog :1~0 AND cat :0~1 This example will morph from a cat into a dog:Ī more advanced usage is to add the keyword "THEN" to make a list of prompts to shift. If you want to morph from one thing into another you can use Composable Diffusion with the AND keyword. One thing to keep in mind is that "(cat:0)" might still generate cats. The number of values do not have to be the same for every token in the prompt, the interpolation between them be spread out of the the number of steps you given. This can be used if you want the value to stay static for a while "(cat:0.1~0.1~1)" or jump between values "(dog:1~0.5~1~-0.3)". ![]() It will also allow multiple values, like this "(token:value1~value2~value3.~valueN)". Values can be anything you want, but usable values are probably around -1.5 to 1.5. The format is "(token:start value~end value)" or ":start value~end value" (please don't mix up the tilde "~" for a minus sign "-"). ![]() This script enables you to give a range to the weight of tokens in a prompt and then generate a sequence of images stepping from the first one to the second. In AUTOMATIC1111/stable-diffusion-webui, generate a sequence of images shifting attention in the prompt.
0 Comments
Leave a Reply. |