Generate an image
generate_imageUse when the user asks for a new AI image from a text description. Spends credits from the user's AI Video GT account (quote the price with estimate_cost first), waits until the image is ready and returns its URL. Failed generations are refunded automatically. Needs the user's AI Video GT account: sign-in (OAuth) or a Developer API key sent as Authorization: Bearer vgt_....
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>",
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Image model id from list_models. | |
| prompt | Yes | The image to make. | |
| resolution | No | One of the model's resolutions, e.g. 1K, 2K or 4K. Defaults to 1K. | |
| aspect_ratio | No | One of the model's aspect ratios, e.g. 1:1 or 16:9. Defaults to the first. |