ddbaeb26e3d5b6f1cfda460a67d9bcbcfe3c2db9
ComfyUI Civitai Prompt Picker
ComfyUI custom node for browsing Civitai image prompts directly inside a node.
Features
- Thumbnail browser embedded in the node UI
- Click image to output
prompt,negative_prompt,width, andheight - Infinite scroll
- Filters for time range, sort order, NSFW, base model, model ID, model version ID, and metadata-only results
- Exact local NSFW filtering when Civitai upstream results are mixed
- Faster first-screen loading with background prefill
Install
Clone this repository into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/Aca233/ComfyUI_CivitaiPromptPicker.git
Then restart ComfyUI.
Usage
- Add the
Civitai Prompt Pickernode in ComfyUI. - Browse thumbnails directly inside the node.
- Click an image to output:
promptnegative_promptwidthheight
- Optional: paste your Civitai API key into the node's
Civitai API Keyfield to access more complete results, including account-visible or NSFW content when your account is allowed to see them.
Example Workflow
This plugin now includes a bundled example workflow:
workflows/civitai-prompt-picker-example.json
You can drag that JSON file directly into ComfyUI to load the example graph.
How to get a Civitai API Key
If you want more complete image results, open your Civitai account page here:
https://civitai.com/user/account
Then:
- Sign in to your Civitai account.
- Open the account page above.
- Find the API key section on that page.
- Create a new API key if you do not already have one.
- Copy the key and paste it into the node's
Civitai API Keyinput box. - Click
Apply filtersor refresh the node results.
Notes:
- The API key is optional, but it helps when some images are hidden unless you are logged in.
- NSFW results still depend on your Civitai account permissions and visibility settings.
- Keep your API key private and do not share it publicly.
Node Outputs
promptnegative_promptwidthheight
Languages
JavaScript
60.3%
Python
39.7%