Generate AI Image
generate_imageSubmit a basic text-to-image or image-to-image generation task using Vhoo.ai models (Seedream 5.5, GPT Image 2.6, FLUX 3, Nano Banana). Deducts account credits and returns a taskId to poll with get_generation_status. Requires an API key.
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": {
"prompt": "<prompt>"
},
"name": "generate_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Aspect ratio. Defaults to "auto". | |
| model | No | Image model to use. Defaults to "seedream-5-5". Call list_models to inspect capabilities. | |
| prompt | Yes | Text description of the image to generate or edit. | |
| quality | No | Quality level (used by GPT Image 2.6). Defaults to "medium". | |
| imageUrls | No | Optional public HTTPS reference image URLs for image-to-image editing. | |
| resolution | No | Output resolution supported by the chosen model. Defaults to "1k". | |
| transparent | No | Request transparent PNG background (Seedream 5.5 PNG only). | |
| outputFormat | No | Output file format. Defaults to "png". |