Clarity Upscaler

36.00积分/百万像素
ae_clarity_upscaler

放大图像并增强细节,可选择保留原始风格或进行创意优化。

超分辨率图像
36.00积分/百万像素

价格说明

按图片放大的实际像素处理量收费,每百万像素36.00积分。放大倍数影响处理量。

36.00积分/百万像素

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_clarity_upscaler' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image_url": "https://storage.googleapis.com/falserverless/gallery/NOCA_Mick-Thompson.resized.resized.jpg"
    }
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
request_bodyobject是暂无参数说明。—
request_body.seedinteger | unknown否 The same seed and the same prompt given to the same version of Stable Diffusion will output the same image every time. —
request_body.promptstring否The prompt to use for generating the image. Be as descriptive as possible for best results.masterpiece, best quality, highres
request_body.image_urlstring是The URL of the image to upscale.—
request_body.creativitynumber否 The creativity of the model. The higher the creativity, the more the model will deviate from the prompt. Refers to the denoise strength of the sampling. 0.35
request_body.resemblancenumber否 The resemblance of the upscaled image to the original image. The higher the resemblance, the more the model will try to keep the original image. Refers to the strength of the ControlNet. 0.6
request_body.guidance_scalenumber否 The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. 4
request_body.upscale_factornumber否The upscale factor2
request_body.negative_promptstring否The negative prompt to use. Use it to address details that you don't want in the image.(worst quality, low quality, normal quality:2)
request_body.num_inference_stepsinteger否The number of inference steps to perform.18
request_body.enable_safety_checkerboolean否If set to false, the safety checker will be disabled.true