apply_effect
Apply an AI photo effect to a photo and return the result image URL. Waits up to about 60 seconds. Costs 11 credits (standard) or 29 credits (pro); failed jobs are refunded. The photo must show a real person who agreed to the edit.
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": {
"slug": "<slug>",
"image_url": "<image_url>"
},
"name": "apply_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Effect slug from list_effects, e.g. 80s-yearbook | |
| quality | No | standard or pro | standard |
| image_url | Yes | Public URL of the input photo (JPEG, PNG or WebP) |