Ae · Dumplingai · Extract · Image

55积分/次
ae_dumplingai_extract_image

使用 DumplingAI 通过 OCR 和 AI 分析从图像中提取文本和关键信息。

图像
55积分/次

价格说明

55积分/次

API 调用

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

cURL
curl --request POST \
  --url 'https://api.agentearth.ai/v1/tools/run' \
  --header 'Authorization: Bearer $AGENTEARTH_API_KEY' \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "tool": "ae_dumplingai_extract_image",
  "input": {
    "images": "xxx",
    "prompt": "xxx",
    "jsonMode": "false",
    "inputMethod": "xxx",
    "requestSource": "xxx"
  }
}'
请求方式
POST
接口地址
/v1/tools/run
鉴权方式
Bearer Token
超时时间
60 秒
当前版本
—
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

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

参数类型必填说明默认值
imagesarray是Array of image URLs or base64-encoded strings to analyze.—
promptstring是Instructions that describe the insights to extract from the images.—
jsonModeboolean否When true, requests the model to respond with JSON-formatted output.false
inputMethodenum (url | base64)是Indicates whether binary content is supplied via URL or base64-encoded string.—
requestSourceenum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO)否Optional identifier describing where the API request originated.—