Create an image
create_imageMake a new picture from a description. Charged in USD to your PopNow balance; the tool quotes the price. Returns the picture and a link.
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": "create_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional PopNow model id (see list_models). Leave empty for the default, Nano Banana 2.1. | |
| prompt | Yes | What the picture should show, in plain words. Describe the subject, setting, style and mood. | |
| max_usd | No | Approved maximum in USD as a decimal string with up to 9 fractional digits, copied from the quoted cost_usd. Set it only after the user approves; leave it out to get a quote. Nothing is charged without it. | |
| currency | No | Optional. Always USD for this endpoint. | |
| aspect_ratio | No | Shape of the picture, for example 1:1 (square), 16:9 (wide), 9:16 (phone screen), 4:5 (portrait post). Default 1:1. |