Expand a photo
expand_imageExtend a photo beyond its edges to a wider or taller shape, filling in matching scenery. Charged in USD to your PopNow balance. Call it without max_usd for a quote, then again with max_usd after the user approves.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "expand_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ChatGPT only: the photo the user attached. Use image_url everywhere else. | |
| 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. | |
| image_url | No | The photo to extend beyond its edges (https or popnow:// link). | |
| aspect_ratio | No | The new, larger shape: 16:9, 9:16, 1:1, 4:3, 3:4 or 3:2. Default 16:9. |