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.

By DraconicDragon·Created 2 years ago·Updated 3 months ago· 6
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)

    NameTypeDefaultDescription
    urlSTRINGEnter the booru post URL
    img_sizeCOMBOsampleSelect the image size variant to output through 'IMAGE'. Choose 'none' to output a blank image. For e6, anything below sample will be 'preview'
    format_tagsBOOLEANtrueFormat tags for prompt use. Removes underscores and adds backslashes to brackets
    trailing_commaBOOLEANfalseAppends a comma to the last tag in each output
    exclude_tagsBOOLEANtrueToggle exclusion of tags from output
    user_excluded_tagsSTRINGconditional dnp, sound_warning, unknown_artist, third-party_edit, anonymous_artist, e621, e621 post recursion, e621_comment, patreon, patreon logo, patreon username, instagram username, text, dialogueComma separated list of tags to exclude for output (they can include underscores or spaces, with or without backslashes)

    Outputs (4)

    NameTypeDescription
    IMAGEIMAGE
    ALL_TAGSSTRING
    ORIGINAL_WIDTHINT
    ORIGINAL_HEIGHTINT