ساخت تصویر (Generate an image)
generate_imageCreate one image from a text description and return it as an MCP image (base64). Default model gemini-3.1-flash-lite-image at 1024x1024, a quick and inexpensive one; name another image model from list_models for higher quality. Paid from the Gisoo credit of this key like POST /images/generations; the USD cost is in the text. Text written inside the image is unreliable, especially Persian: leave it out and add it later. یک تصویر از روی توضیح متنی میسازد؛ هزینه از اعتبار گیسو کم میشود.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | e.g. 1024x1024 (default), 1536x1024, 1024x1536. Larger costs more. | |
| model | No | Image model id. Default: gemini-3.1-flash-lite-image. | |
| prompt | Yes | What the image shows. English or Persian. | |
| quality | No | GPT Image models only. Higher costs more. |