ComfyUI > Nodes > Raffle

ComfyUI Extension: Raffle

Repo Name

ComfyUI-Raffle

Author
rainlizard (Account age: 3821 days)
Nodes
View all nodes(4)
Latest Updated
2025-11-23
Github Stars
0.03K

How to Install Raffle

Install this extension via the ComfyUI Manager by searching for Raffle
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Raffle in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Raffle Description

Raffle is a semi-random prompt generator for danbooru tags, enhancing character prompts by placing your waifu in diverse scenarios, compatible with Illustrious, NoobAI, and Pony.

ComfyUI- Raffle Introduction

ComfyUI-Raffle is an innovative extension designed to enhance your creative process by generating semi-random prompts using danbooru tags. This tool is particularly useful for AI artists who want to explore a wide range of scenarios for their characters, such as placing a beloved character or "waifu" in various imaginative settings. The extension works seamlessly with models that support tag prompting, such as Illustrious, NoobAI, and Pony. By using ComfyUI-Raffle, you can effortlessly diversify your artwork and overcome creative blocks by introducing unexpected elements into your compositions.

How ComfyUI- Raffle Works

At its core, ComfyUI-Raffle operates by leveraging a vast database of taglists sourced from danbooru, a popular image board known for its extensive tagging system. Here's a simplified breakdown of how it works:

  1. Taglist Database: The extension uses a collection of 400,000 taglists, each representing a set of tags applied to a single image on danbooru. These taglists ensure that the tags work well together, providing a harmonious and coherent prompt.
  2. Filtering Process: Initially, the extension filters the taglists based on your preferences, such as the type of content you want to include or exclude (e.g., general, questionable, sensitive, explicit).
  3. Random Selection: From the filtered pool, a taglist is randomly selected using a seed value you provide. This ensures that the selection process can be both random and reproducible.
  4. Final Filtering: The selected taglist undergoes further filtering to remove any unwanted tags, ensuring that the final output aligns with your artistic vision.
  5. Output: The result is a refined list of tags, known as the "Raffled output," which you can incorporate into your positive prompt to inspire new and exciting artwork.

ComfyUI- Raffle Features

ComfyUI-Raffle offers a range of customizable features to tailor the prompt generation process to your needs:

  • Content Type Filters: Choose from general, questionable, sensitive, or explicit taglists to match the tone and style of your artwork.
  • Seed Control: Use a seed value to control the randomness of the taglist selection, allowing for consistent results across different sessions.
  • Taglist Inclusion/Exclusion: Specify tags that must be included or excluded from the taglists, giving you precise control over the content.
  • Negative Prompt Integration: Connect your existing negative prompt to ensure that certain tags are omitted from the final output.
  • Category Exclusion: Exclude entire categories of tags, such as "clothes_and_accessories" or "standard_physical_descriptors," to focus on specific aspects of your artwork.

ComfyUI- Raffle Models

While ComfyUI-Raffle does not include different models per se, it is compatible with various AI models that support tag prompting. This compatibility allows you to use the extension with your preferred model, ensuring that the generated prompts integrate smoothly into your existing workflow.

Troubleshooting ComfyUI- Raffle

Here are some common issues you might encounter while using ComfyUI-Raffle, along with solutions to help you resolve them:

  • Issue: No Tags in Raffled Output
  • Solution: Ensure that your filtering criteria are not too restrictive. Try relaxing some of the exclusion settings or broadening the categories you allow.
  • Issue: Unexpected Tags in Output
  • Solution: Double-check your negative prompt and exclusion settings to ensure they are correctly configured. Adjust the seed value if necessary to explore different taglists.
  • Issue: Extension Not Working as Expected
  • Solution: Verify that the Raffle node is correctly added to your workflow and that all connections are properly established. Refer to the Raffle Example.json for guidance.

Learn More about ComfyUI- Raffle

To further enhance your experience with ComfyUI-Raffle, consider exploring the following resources:

  • Tutorials and Documentation: Look for online tutorials and documentation that provide step-by-step instructions and tips for using the extension effectively.
  • Community Forums: Join forums and online communities where AI artists share their experiences and offer support. Engaging with others can provide valuable insights and inspiration.
  • Workflow Examples: Study example workflows, such as the Raffle Example.json, to understand how to integrate the extension into your creative process. By utilizing these resources, you can maximize the potential of ComfyUI-Raffle and unlock new creative possibilities in your AI art projects.

Raffle Related Nodes

RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Raffle detailed guide | ComfyUI