ComfyUI Node
Anime PromptGen
A ComfyUI node in utils/text with 17 inputs and 2 outputs.
Anime PromptGen
- prompts
- first_prompt
◄prompt1girl, genshin►
◄model_id_or_pathFredZhang7/anime-anything-promptgen-v2►
◄tokenizer_id_or_pathdistilgpt2►
◄gguf_modelnone►
◄gguf_file_path►
◄max_length76►
◄num_return_sequences10►
◄do_sampletrue►
◄repetition_penalty1.20►
◄temperature0.70►
◄top_k4►
◄early_stoppingtrue►
◄seed-1►
◄dtypefloat32►
◄deviceauto►
◄local_files_onlyfalse►
◄strip_input_promptfalse►
Categoryutils/text
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | 1girl, genshin | — |
| model_id_or_path | STRING | FredZhang7/anime-anything-promptgen-v2 | — |
| tokenizer_id_or_path | STRING | distilgpt2 | — |
| gguf_model | COMBO | none | 1 options: none |
| gguf_file_path | STRING | — | |
| max_length | INT | 761–4096 | — |
| num_return_sequences | INT | 101–64 | — |
| do_sample | BOOLEAN | true | — |
| repetition_penalty | FLOAT | 1.200.01–10 | — |
| temperature | FLOAT | 0.700.01–5 | — |
| top_k | INT | 40–1000 | — |
| early_stopping | BOOLEAN | true | — |
| seedopt | INT | -1-1–18446744073709550000 | — |
| dtypeopt | COMBO | float32 | 3 options: float32, float16, bfloat16 |
| deviceopt | COMBO | auto | 3 options: auto, cpu, cuda |
| local_files_onlyopt | BOOLEAN | false | — |
| strip_input_promptopt | BOOLEAN | false | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| prompts | STRING | — |
| first_prompt | STRING | — |