> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ai-stats.phaseo.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Image edits

> Call /images/edits with the Python SDK.

**Method**: `client.generate_image_edit()`

```python theme={null}
result = client.generate_image_edit({
    "model": "openai/gpt-image-1",
    "prompt": "Make it sunset",
    "image": "data:image/png;base64,...",
})

print(result)
```
