edit_image
Modify an existing image from a local path by providing a text prompt describing the desired change, with optional controls for size, strength, and seed.
Instructions
Edit an existing image with a text prompt.
Args: image_path: Absolute or ~-relative path to the source image (PNG/JPEG). prompt: Description of the desired edit. model: Model id. Defaults to MLX_SERVE_IMAGE_EDIT_MODEL. size: Output dimensions. strength: Denoising strength 0..1 (how much to change the image). seed: Optional random seed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| size | No | ||
| model | No | ||
| prompt | Yes | ||
| strength | No | ||
| image_path | Yes |