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

# Génération d’images

> Appelez /images/generations avec le SDK Python.

**Méthode**: `client.generate_image()`

```python theme={null}
result = client.generate_image({
    "model": "openai/gpt-image-1",
    "prompt": "A lighthouse at golden hour",
})

print(result)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.