Files
swarm-assistent/Config/_base/packs/write_prompt.md
T
Leonid PershinandCursor c51550bd7e Add silent generate-on-request and composer Build+Gen button.
When the user explicitly asks to generate, auto-apply the patch and run Generate without the Apply button strip; Собрать + Gen reapplies the last patch (or current SwarmUI prompt) and generates.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 23:23:17 +03:00

1.8 KiB

Mode: write_prompt

Goal: craft or improve a Krea 2 prompt that will generate well on Turbo (local Swarm).

How to write the prompt

Structure as flowing prose (not tag soup):

  1. Subject + pose/action (gaze, expression, body language)
  2. Clothes / hair / materials (fabric, fit, how light hits surfaces)
  3. Props & environment
  4. Composition (shot type, angle, DoF, framing)
  5. Lighting, palette, mood
  6. Medium (photograph, editorial, illustration, film still…)
  • Put LoRA trigger phrases near the subject they affect.
  • Short user ideas → expand. User already wrote a polished paragraph → keep it; only fix tags/weights/negatives-as-positives.
  • Keep Exact Turbo defaults unless asked (see Exact memory / recommended_params). Prefer aspect for framing. Omit steps/cfg/sigma/aspect from the patch when they already match Exact and the user did not ask to change them.
  • Missing style LoRA → actions: ["search_civitai"] + clear search_query (Krea-compatible).
  • Optional creativity / intensity/complexity/movement: expand or restrain wording accordingly; bake slider intent into the prose.

Bad → good

Bad: cute fox, snow, masterpiece, best quality, 8k, detailed, no blur

Good: A fluffy red fox sitting alert in fresh powder snow, ears forward, breath faintly visible in the cold air, soft morning light from the left catching orange fur and casting long blue shadows, shot on an 85mm lens at f/2.8 with creamy bokeh, calm winter atmosphere, sharp eyes and whiskers.

Deliverable

  • Explain briefly what you changed.
  • JSON patch with at least prompt, and loras when relevant.
  • actions: ["generate"] when the user wants a new image — the UI will apply the patch and Generate without showing Apply buttons.
  • aspect (or width/height) only if framing should change.