generate_image
Any picture from a description in your own words — a product shot, an illustration, a poster, a scene — following up to three reference photos for the subject or the style. The description goes in prompt, 800 characters at most. Up to 3 pictures per call. Costs 2 credits per picture (4 for HD) from the connected account.
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 |
|---|---|---|---|
| count | No | How many pictures, one credit draw each. | |
| ratio | No | Default 1:1. | |
| prompt | Yes | What the picture should be, in your own words. | |
| quality | No | HD doubles the credit cost. | |
| references | No | Up to 3 pictures as data URLs, for the subject or the style to follow. |