Esrgan

2.88 credits/call
ae_esrgan

ae_esrgan — Upscale an image from its URL with WaveSpeed Real-ESRGAN. Processing is asynchronous, and generated outputs are returned when the task completes. The current interface accepts only the image URL and does not provide upscale-factor or face-correction controls.

UpscalingImage
2.88 credits/call

Pricing

2.88 credits/call
ConditionCharge
Each call2.88 credits/call

Each call has a fixed charge of 2.88 credits.

Each call accepts a single image URL for super-resolution upscaling and returns the result after asynchronous processing completes.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.imagestringYesThe URL of the image to generate an image from.—

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_esrgan' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image": "https://agentearth.ai/fileserver/file/ac1c90c6-5e91-42ff-9187-c268a12def4e.png"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "c51ee193-15c2-4cdd-8c5c-5c239afba85d"
}

This example shows part of the response. Copied content is valid JSON.

Guides using this tool

See how this tool fits into real workflows