Stability AI Fast Sdxl Image To Image

6积分/次
ae_fast_sdxl_image_to_image

ae_fast_sdxl_image_to_image — 使用 WaveSpeed Z-Image-Turbo Image-to-Image,根据文字提示转换参考图像。必填图像 URL 和提示词,可选转换强度、输出尺寸(宽*高)、JPEG/PNG/WebP 格式及随机种子。强度越高,结果与原图的差异越大。生成以异步任务完成。工具标识保持不变,但当前模型不是 SDXL,不支持旧版 SDXL 专属控制或当前 Schema 未提供的高级参数。

图像
6积分/次

价格说明

6积分/次
条件费用
每次调用6积分/次

每次固定费用为6积分。

API 调用

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

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_fast_sdxl_image_to_image' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "image": "xxx",
      "prompt": "xxx"
    }
  }
}'
请求方式
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否The random seed to use for the generation. -1 means a random seed will be used.—
request_body.sizestring否The size of the generated media in pixels (width*height).1024*1024
request_body.imagestring是Reference image URL to guide the generation style or composition.—
request_body.promptstring是The positive prompt for the generation.—
request_body.strengthnumber否Controls the strength of the transformation. Higher values produce outputs more different from the input image.0.6
request_body.output_formatenum (jpeg | png | webp)否The format of the output image.jpeg