Text to Image
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
messages | array | ✅ Yes | - | Array of message objects for the conversation role of user. |
content | string | ✅ Yes | - | The prompt for the generation. |
model | string | ✅ Yes | gemini-2.5-flash-image | The model to use for the request |