edit_image
Edit or vary an image with image-to-image generation from an init image, re-deriving the whole frame for wardrobe, pose, lighting, or hair-mass changes rather than single-feature fixes.
Instructions
Edit/vary an image (img2img). ⚠ HOLISTIC — re-derives the WHOLE frame from the init, so use it for
variants that should re-settle (wardrobe, pose, lighting, hair-mass), NOT single-feature fixes (those
belong in a PSD — pushing just the eyes also moves skin/age/expression). For character consistency,
pass the character's canonical keeper as init_image and its seed/prompt, then change only the delta.
Args:
init_image: the source image as base64 (your client reads the keeper PNG from the repo and passes
it; also load its sidecar params so this render builds on the keeper's recipe).
denoising_strength: 0.3-0.45 = keep the subject, fix details; 0.5-0.65 = restyle. Default 0.45.
(all other args: see generate_image.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cfg | No | ||
| seed | No | ||
| shot | No | portrait | |
| model | No | ||
| steps | No | ||
| style | No | ||
| width | No | ||
| height | No | ||
| prompt | Yes | ||
| sampler | No | DPM++ SDE | |
| negative | No | ||
| scheduler | No | Karras | |
| init_image | Yes | ||
| include_full | No | ||
| negative_profile | No | sfw-strict | |
| denoising_strength | No |