> ## 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.

# Geração de imagens

> Chame /images/generations com o SDK Python.

**Método**: `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.