Generate an image
image_generateStarts an EdgeCloud image generation from a prompt and returns the image. Charges credits per image, only on success; price it with quote. Needs sign-in (auth_challenge then auth_verify).
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": "image_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Image size in px (512 only) | |
| prompt | Yes | What to draw, up to 1,000 characters | |
| quote_id | No | The quote_id returned by quote (valid 5 minutes, single use). Use instead of max_price_credits | |
| max_price_credits | No | The most you'll pay for this call, in Wave credits. Needed unless you pass quote_id; the call fails if the price is higher |