Recipes

PromptEnhancement

Changed on

Analyzes and enhances user prompts for a specific AI ecosystem. /// Returns detected issues, recommendations, and improved prompt variants.

post/v2/consumer/recipes/promptEnhancement

Request

  • The document declares no server URL.
  • Auth: none required

Query parameters

experimentalboolean
allowMatureContentboolean
whatifboolean
ephemeralboolean
tier'paid' | 'free'

How a workflow is paid for.

Request body

ecosystemstring required

The target ecosystem (e.g., "sd1", "sdxl", "flux", "ltx2").

promptstring required
negativePromptstring nullable
temperaturenumber double nullable

LLM temperature for enhancement creativity (0.0–1.0). Defaults to 0.7.

instructionstring nullable

Optional instruction to guide how the prompt is enhanced (e.g., "expand to 77 tokens", "keep it under 20 words").

imagesstring[] nullable

Reference images (URLs, data URIs, raw base64 or AIR strings) the model considers for subject, style, lighting and composition. Requires the ecosystem's prompt-analysis model to be vision-capable; non-VLM models silently ignore them.

Response

OK

recommendationsstring[] required
enhancedPromptstring required
enhancedNegativePromptstring nullable

Changes