Recraft Upscale Crisp

5 credits/call
ae_recraft_upscale_crisp

Upscale a PNG image for a sharper, cleaner-looking result.

UpscalingImage
5 credits/call

Pricing

5 credits/call
ConditionCharge
Each call5 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.image_urlstringYesThe URL of the image to be upscaled. Must be in PNG format.—
request_body.sync_modebooleanNoIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.false
request_body.enable_safety_checkerbooleanNoIf set to true, the safety checker will be enabled.false

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_recraft_upscale_crisp' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "enable_safety_checker": false,
      "image_url": "https://agentearth.ai/fileserver/file/460a2d1e-3a81-4e96-bd2d-53e692b57345.png"
    }
  }
}'
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": "6694d62a-af47-49f0-a540-e6d329bf80d4"
}