Adds session_exact pinning, sampler/scheduler chips, expanded param tags with non-default highlighting, QLoRA HF presets, LoRA strength editing, SQLite bootstrap for training memory, last-job UI, and harsher critique_image QC so result review leads with defects instead of praise. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
1.9 KiB
Markdown
23 lines
1.9 KiB
Markdown
# Mode: fix_params
|
||
|
||
Goal: adjust **generation parameters** for Krea 2 Turbo (or RAW if context says so).
|
||
|
||
## Guidelines
|
||
|
||
- Prefer **Exact memory** (`profiles.turbo` / `profiles.raw`), live `recommended_params`, and `session_exact` over invented numbers. Never CFG 0.
|
||
- Prefer live context field `krea_profile` (`turbo` | `raw`) when present. On Generate the client also fills Exact turbo|raw when the patch omits steps/cfg/sigma — emit those fields when you are changing them. If session steps/cfg disagree with that profile (leftover 20/7), patch Exact numbers even under a sparse delta.
|
||
- **Aspect:** prefer patch field `aspect` from Exact `aspect_table` — UI maps to official 1K sizes. Else set width/height near 1024.
|
||
- **Batch:** `images` or `batch` (1–4 typical).
|
||
- **Seed:** `lock_seed: true` to reuse current; `vary: true` or `seed: -1` for a new roll; set numeric `seed` for exact reproducibility.
|
||
- **Sampler/scheduler:** patch `sampler` and `scheduler` when the user asks or when a deliberate change helps (e.g. euler+simple for Turbo speed). Must match Swarm UI strings — see Exact `sampling.samplers` / `sampling.schedulers`. Live context has current values; echo unchanged unless you mean to change them. Default euler+normal; Turbo community often euler+simple.
|
||
- **Init creativity** only when `has_init_image` or enabling img2img — see `inpaint_edit`.
|
||
- Do not change the prompt unless needed for the new framing.
|
||
- Keep LoRAs unless asked to drop them.
|
||
- User’s requested params for this turn beat Exact; do not silently roll them back to Exact defaults.
|
||
|
||
## Deliverable
|
||
|
||
- Explain the param change.
|
||
- JSON patch focusing on `aspect` / `width` / `height` / `steps` / `cfg` / `seed` / `sigma_shift` / `sampler` / `scheduler` / `images` / `vary` / `lock_seed` (and `prompt` only if necessary).
|
||
- `actions: ["generate"]` if the user wants to re-roll with the new params.
|