ComfyUI-SmartPromptCrafter Auto-Matches Prompts to Any Model

Futuristic prompt crafting node made up of a luminous digital wireframe orbited by floating token tags.

ComfyUI-SmartPromptCrafter is a new node that builds optimized prompt pairs for any checkpoint you load, automatically matching the correct token style. The tool reads your model’s architecture directly and turns a rough description into production-ready positive and negative prompts. It removes the guesswork of whether to use score_9 tags, natural language, or comma-separated tokens for models like SDXL, Pony, Flux, and others.

Created by developer Jideka, the project leans on Groq’s free API and Llama-3.3-70b-versatile to generate prompts without extra dependencies. jideka built the node to end the constant hassle of manually rewriting prompts each time you switch model families. It’s a zero-dependency plugin that drops into any ComfyUI installation and requires no additional pip installs.

Model-aware prompt rewriting

Key Features
  • Automatically detects SDXL, Pony, Flux, and more.
  • Rewrites rough ideas into correct prompt style.
  • Generates architecture-specific negative tokens.
  • Adds extra permanent negative keywords on top.
  • Zero pip installs, pure Python standard library.
  • Uses free Groq API tier, no credit card.
  • Caches outputs for instant repeated runs.

This node is for users who frequently switch between different generator models and want consistent results without manual reformatting. It cuts out the trial and error of guessing which negative tags actually help each architecture. Anyone running local image generation with multiple model families can make their prompt workflow automatic and fast.

Developer notes and caching

The node caches Groq responses per model and prompt, so after the first generation, subsequent runs complete instantly with no API overhead. It fingerprints internal properties like latent format and diffusion model class to identify architectures, falling back to the closest known family for exotic or brand‑new models. Developer jideka mentioned the project was also a way to practice coding skills through practical, bite‑sized tools.

“No more guessing whether to use score_9 tags for Pony, natural language for SDXL, or comma tokens for SD 1.5.” — Source: GitHub