Dumpling AI Doc To Text

15 credits/call
ae_dumplingai_doc_to_text

Extract plain text from PDF, Word, or PowerPoint documents using DumplingAI.

Productivity
15 credits/call

Pricing

15 credits/call
ConditionCharge
Each call15 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
filestringYesDocument URL or base64-encoded file content to convert to text.—
pagesstringNoOptional page ranges to extract (e.g., '1-3,5').—
inputMethodenum (url | base64)YesIndicates 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)NoOptional identifier describing where the API request originated.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dumplingai_doc_to_text' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "file": "https://file.gw.xnetwk.net/file/1d86b211-f76c-4c03-be0f-6b51a98fb07e.pdf",
    "inputMethod": "url",
    "requestSource": "AGENT_LIVE"
  }
}'
Response exampleresponse.json
JSON
{
  "text": "\n\n\n\n\n\n"
}