Drct Super Resolution

5.40 credits/MP
ae_drct_super_resolution

Upscale an image by a selected multiplier to make it larger and higher resolution.

UpscalingImage
5.40 credits/MP

Pricing

5.40 AE credits per MP. Charge for successfully returned images. Round each image up to a whole MP, then sum. One MP is 1,000,000 pixels.

5.40 credits/MP

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.image_urlstringYesURL of the image to upscale.—
request_body.upscale_factorintegerNoUpscaling factor.4

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_drct_super_resolution' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image_url": "https://agentearth.ai/fileserver/file/1b738aae-7514-4cc6-8462-ddc1309479a5.png",
      "upscale_factor": 4
    }
  }
}'
Response exampleresponse.json
JSON
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "d5edaa3e-0215-46ed-a0b1-c3b1c4552c9b"
}