Skip to content
项目

fairy-root/Flux-Prompt-Generator

在 GitHub 查看

关于

Flux Prompt Generator provides a flexible and customizable prompt generator for generating detailed and creative prompts for image generation models.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Flux-Prompt-Generator

Flux Prompt Generator is a ComfyUI node that provides a flexible and customizable prompt generator for generating detailed and creative prompts for image generation models. based on the work by Aitrepreneur found here Flux Prompt Generator python code and modified to work with ComfyUI by FairyRoot

Flux Prompt Generator

Overview

The Flux Prompt Generator utilizes a collection of JSON data files containing various categories of descriptive terms. These categories include:

  • Accessories: Glasses, Hats, Jewelry, etc.
  • Additional Details: Clothing, Accessories, etc.
  • Age Group: Child, Teenager, Adult, etc.
  • Artform: Photography, Digital Art, etc.
  • Artist: Famous artists, etc.
  • Background: Plain, Detailed, etc.
  • Body Markings: Birthmarks, Moles, Freckles, etc.
  • Body Types: Muscular, Thin, etc.
  • Clothing: Dress, Suit, etc.
  • Composition: Rule of Thirds, Golden Ratio, etc.
  • Default Tags: Man, Woman, Child, etc.
  • Device: Camera models, etc.
  • Digital Artform: Pixel Art, 3D Render, etc.
  • Ethnicity: Various ethnicities and cultural backgrounds.
  • Expression: Smile, Frown, Surprise, etc.
  • Eye Colors: Blue, Green, Brown, etc.
  • Face Features: Sharp Jawline, High Cheekbones, etc.
  • Facial Hair: Beard, Mustache, etc.
  • Hair Color: Blonde, Brown, Black, etc.
  • Hairstyles: Long, Short, Braided, etc.
  • Lighting: Soft, Harsh, etc.
  • Makeup Styles: Natural, Glamorous, etc.
  • Photo Type: Portrait, Landscape, etc.
  • Photographer: Famous photographers, etc.
  • Photography Styles: Cinematic, Realistic, etc.
  • Place: Forest, City, etc.
  • Pose: Standing, Sitting, etc.
  • Roles: Knight, Wizard, etc.
  • Skin Tone: Pale, Dark, etc.
  • Tattoos & Scars: Detailed descriptions of body modifications.

Flux Prompt Generator

The node allows you to select specific terms or choose "random" to let the generator pick random terms from the corresponding JSON file. This randomness adds a degree of unpredictability and creativity to the generated prompts.

Installation

  1. cd to the custom_nodes folder inside of ComfyUI directory
  2. cmd in the address bar, then use this command:
git clone https://github.com/fairy-root/Flux-Prompt-Generator.git

Usage

  1. Add the "Flux Prompt Generator" node to your ComfyUI workflow.

  2. Configure the desired parameters:

    • Seed: Controls the randomness of the generator.
    • Custom: Add any custom text to the prompt.
    • Subject: Specify the main subject of the image.
    • Artform: Choose the desired art form (Photography, Digital Art, etc.).
    • ... (All other parameters as described in the Overview section)
  3. Connect the output of the node to a text-to-image model (like Flux or Stable Diffusion...etc) to generate images based on the generated prompt.

Example

Let's say you want to generate a prompt for a portrait photograph of a woman with long hair, wearing a dress, and standing in a forest. You could configure the node with the following parameters:

  • Artform: Photography
  • Photo Type: Portrait
  • Default Tags: Woman
  • Hairstyles: Long Hair
  • Clothing: Dress
  • Place: Forest

The node would then generate a prompt similar to: "photography of a woman with long hair, dressed in a dress, in a forest."

Donation

Your support is appreciated:

  • USDt (TRC20): TGCVbSSJbwL5nyXqMuKY839LJ5q5ygn2uS
  • BTC: 13GS1ixn2uQAmFQkte6qA5p1MQtMXre6MT
  • ETH (ERC20): 0xdbc7a7dafbb333773a5866ccf7a74da15ee654cc
  • LTC: Ldb6SDxUMEdYQQfRhSA3zi4dCUtfUdsPou

Author and Contact

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or features.

探索相关项目

加载中…