Skip to content

Make the prompt enhancer styles a switchable option. #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
GalaxyTimeMachine opened this issue May 21, 2025 · 0 comments
Open

Make the prompt enhancer styles a switchable option. #230

GalaxyTimeMachine opened this issue May 21, 2025 · 0 comments

Comments

@GalaxyTimeMachine
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant