Image Apps V2 Photo Restoration
48 credits/call
ae_image_apps_v2_photo_restoration
Restore old or damaged photos by improving resolution, correcting colors, and removing scratches.
48 credits/call
Pricing
48 credits/call
| Condition | Charge |
|---|---|
| Each call | 48 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | No parameter description. | — |
request_body.image_url | string | Yes | Old or damaged photo URL to restore | — |
request_body.fix_colors | boolean | No | No parameter description. | true |
request_body.aspect_ratio | object | No | Aspect ratio model that calculates 4K resolution dimensions | — |
request_body.aspect_ratio.ratio | enum (1:1 | 16:9 | 9:16 | 4:3 | 3:4) | No | Aspect ratio for 4K resolution output | 1:1 |
request_body.remove_scratches | boolean | No | No parameter description. | true |
request_body.enhance_resolution | boolean | No | No parameter description. | true |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_image_apps_v2_photo_restoration' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"image_url": "https://v3.fal.media/files/panda/BcOIyOJ5Z1-GOjDi_GmsX_50e353c588c74435882f8f68989b4af5.png"
}
}
}'No response example available yet.







