edit_image
Create a new image from a source image and a prompt, leaving the original unchanged. Provide an operation ID and prompt; source can be an artifact ID or PNG path.
Instructions
Create one new billable image from exactly one explicit source_artifact_id or approved absolute PNG source_path. Provide a self-contained prompt and new operation UUID. The source remains unchanged; masks, URLs and multiple references are unsupported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1536x864 | |
| prompt | Yes | ||
| quality | No | high | |
| source_path | No | Absolute .png path inside an explicitly configured input root. Choose exactly one source; omit source_artifact_id when using this path. | |
| operation_id | Yes | ||
| source_artifact_id | No | Choose exactly one source. Omit source_path when using this artifact ID. |