ComfyUI Node
Get Gelbooru Post
Fetches a post from Gelbooru (gelbooru.com). This node is optimized specifically for Gelbooru's API. Note that Gelbooru doesn't categorize tags, so all tags will be returned in the ALL_TAGS output.Gelbooru also only has preview and original file urls, sample and every other option is remapped to preview.IMPORTANT: needs api key and user id added to query; it can be copied from account options page at the bottom.
Get Gelbooru Post
- IMAGE
- ALL_TAGS
- ORIGINAL_WIDTH
- ORIGINAL_HEIGHT
◄url—►
◄img_sizesample►
◄format_tagstrue►
◄trailing_commafalse►
◄exclude_tagstrue►
◄user_excluded_tagsconditional dnp, sound_warning, unknown_artist, third-party_edit, anonymous_artist, e621, e621 post recursion, e621_comment, patreon, patreon logo, patreon username, instagram username, text, dialogue►
CategoryBooru Toolkit/Posts
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| url | STRING | Enter the booru post URL | |
| img_size | COMBO | sample | Select the image size variant to output through 'IMAGE'. Choose 'none' to output a blank image. For e6, anything below sample will be 'preview' |
| format_tags | BOOLEAN | true | Format tags for prompt use. Removes underscores and adds backslashes to brackets |
| trailing_comma | BOOLEAN | false | Appends a comma to the last tag in each output |
| exclude_tags | BOOLEAN | true | Toggle exclusion of tags from output |
| user_excluded_tags | STRING | conditional dnp, sound_warning, unknown_artist, third-party_edit, anonymous_artist, e621, e621 post recursion, e621_comment, patreon, patreon logo, patreon username, instagram username, text, dialogue | Comma separated list of tags to exclude for output (they can include underscores or spaces, with or without backslashes) |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| ALL_TAGS | STRING | — |
| ORIGINAL_WIDTH | INT | — |
| ORIGINAL_HEIGHT | INT | — |