ComfyUI-LTXVideo icon indicating copy to clipboard operation
ComfyUI-LTXVideo copied to clipboard

Make the prompt enhancer styles a switchable option.

Open GalaxyTimeMachine opened this issue 8 months ago • 0 comments

The prompt enhancer has a random choice of style, which can contradict the input image and the user prompt. If a user prompts for a real-life video, and it adds "The scene is computer-generated imagery.", then it becomes a contradictory prompt. It took me a while to work out that it was this node that was sometimes causing bad/unexpected results, so I then had to remove it and use my own solution.

Probably caused by this part:

def _get_random_scene_type():
    """
    Randomly select a scene type to add to the prompt.
    """
    types = [
        "The scene is captured in real-life footage.",
        "The scene is computer-generated imagery.",
        "The scene appears to be from a movie.",
        "The scene appears to be from a TV show.",
        "The scene is captured in a studio.",
    ]
    return random.choice(types)

This should either be removed or a switch option added to the node to toggle random styles.

GalaxyTimeMachine avatar May 21 '25 13:05 GalaxyTimeMachine