Enhance Prompt
sdnext_prompt_enhanceExpand and refine prompts for Stable Diffusion generation using an LLM, supporting text, image, or video inputs with adjustable parameters.
Instructions
Enhance/expand a prompt with an LLM (SD.Next /sdapi/v1/prompt-enhance). Type: text, image, or video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nsfw | No | Allow NSFW content (default true). | |
| seed | No | Seed for prompt generation (-1 = random). | |
| type | No | text | |
| image | No | Base64 image (for type=image). | |
| model | No | Enhancement model name. | |
| top_k | No | ||
| top_p | No | ||
| prefix | No | ||
| prompt | Yes | Prompt to enhance. | |
| suffix | No | ||
| prefill | No | ||
| thinking | No | ||
| do_sample | No | ||
| max_tokens | No | ||
| min_tokens | No | ||
| use_openai | No | ||
| use_vision | No | ||
| custom_args | No | ||
| temperature | No | ||
| keep_prefill | No | ||
| keep_thinking | No | ||
| process_words | No | ||
| system_prompt | No | ||
| repetition_penalty | No | ||
| semantic_threshold | No | ||
| embedding_similarity | No |