krita_set_diffusion_region
Link a diffusion prompt to an existing paint or group layer, or remove the linked region and its controls without deleting the artwork. Requires an active Generate document and a valid operation ID.
Instructions
Create/update a prompt region linked directly to an existing paint/group layer, or remove that region and its controls without deleting artwork. A prompt is required unless removing. Rejects ambiguous/multiple links. Requires active Generate document. Reuse operation_id; no guaranteed undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | ||
| node_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| positive_prompt | No |