Nodes/comfyui-primeia-prompts/πŸ“š PrimeIA List Prompts (Visual)
ComfyUI Node

πŸ“š PrimeIA List Prompts (Visual)

The PrimeIA card browser, minus the search

By BarbuPrimeΒ·Created 7 months agoΒ·Updated 3 months agoΒ· 0
πŸ“š PrimeIA List Prompts (Visual)
    • positive_prompt
    • negative_prompt
    • tags
    • safety_level
    • score
    β—„api_keyβ–Ί
    β—„selected_index0β–Ί
    β—„safety_filterallβ–Ί
    β—„limit500β–Ί

    PrimeIAPromptsList is what you get when you strip the flagship PrimeIAPromptsLibrary node down to its browsing bones. Same visual card UI, same Supabase-backed API, same Skool-membership gate - but no search box, no sort control, no prompt_id output. It's the "just show me the library sorted by score and let me click" version.

    If you're already using the Library node, this one is redundant. The honest take: reach for List when you want the smallest possible surface area for the job - a card browser with an API key and a safety filter, nothing else to misconfigure. If you need text search or created_at sorting, you want the Library node instead.

    How it works

    Identical plumbing to its sibling: it GETs the same Supabase edge function (juriolrfbcebhpkfaqws.supabase.co/functions/v1/prompts-api) with your primeia_ key in the x-api-key header. The one thing the code hardcodes is sort_by=score - you can't change it, so the list you're clicking through is always the library's top picks by score. Worth knowing: unlike the Library node, this one fetches on every execution - it stores a cache but never actually reads it back, so each run is a network round-trip unless ComfyUI's own execution cache (which skips re-running unchanged nodes) steps in.

    The card UI comes from the same JS extension. Click Cargar Prompts to fetch, filter with the safety chips, click a card, and the node writes the card's index into the selected_index widget. When the graph runs, the backend clamps that index into range, pulls the prompt object, and emits it.

    Inputs and outputs that matter

    Two required inputs:

    • api_key - the primeia_... key from your primeia.app profile. Required for Skool members only, and it's validated client-side and server-side.
    • selected_index - which card is picked, 0 to 999. This is the dial the card UI turns.

    Optional inputs are just safety_filter (all / sfw / nsfw / suggestive) and limit - and here's the quirk worth knowing. limit runs 100 to 7500 (default 500), matching the pack's "7500 prompts" claim, but selected_index tops out at 999. So you can fetch up to 7,500 prompts and never reach past number 1,000. The widget is the bottleneck, and it's a real ceiling on how deep into the library you can browse - by default you're actually seeing only the top 500 by score.

    Outputs: positive_prompt, negative_prompt, tags (comma-joined), safety_level, and score as an INT. That's the same set minus prompt_id, so if you want to track which prompt generated an image, this node won't tell you - that's the Library node's job.

    Installing and common issues

    ComfyUI Manager β†’ search "comfyui-primeia-prompts", or cd ComfyUI/custom_nodes && git clone https://github.com/BarbuPrime/comfyui-primeia-prompts, then restart. Only dependency is requests, already bundled; no models to download. The card UI ships in the pack's js/ directory, so keep the whole repo intact.

    Failure modes mirror the Library node: empty strings with safety_level of "error" means the fetch failed - 401 for a bad key, 403 for a non-member, or a timeout. One note: this node has no refresh_cache toggle, but it doesn't need one - since it refetches every run, library updates appear on the next execution automatically.

    CategoryPrimeIA/Prompts

    Inputs (4)

    NameTypeDefaultDescription
    api_keySTRINGβ€”
    selected_indexINT00–999β€”
    safety_filteroptCOMBOall4 options: all, sfw, nsfw, suggestive
    limitoptINT500100–7500β€”

    Outputs (5)

    NameTypeDescription
    positive_promptSTRINGβ€”
    negative_promptSTRINGβ€”
    tagsSTRINGβ€”
    safety_levelSTRINGβ€”
    scoreINTβ€”