Relight a photo
relight_photoChange the lighting of a photo, for example to golden hour, studio light or neon night. 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
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": "relight_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | ChatGPT only: the photo the user attached. Use image_url everywhere else. | |
| prompt | Yes | The new lighting in plain words, for example: warm golden-hour sun from the left, soft studio light, neon night. | |
| 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 relight (https or popnow:// link). |