Dumpling AI Doc To Text
15 credits/call
ae_dumplingai_doc_to_text
Extract plain text from PDF, Word, or PowerPoint documents using DumplingAI.
15 credits/call
Pricing
15 credits/call
| Condition | Charge |
|---|---|
| Each call | 15 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
file | string | Yes | Document URL or base64-encoded file content to convert to text. | — |
pages | string | No | Optional page ranges to extract (e.g., '1-3,5'). | — |
inputMethod | enum (url | base64) | Yes | Indicates whether binary content is supplied via URL or base64-encoded string. | — |
requestSource | enum (API | WEB | MAKE_DOT_COM | ZAPIER | N8N | PLAYGROUND | DEFAULT_AUTOMATION | AGENT_PREVIEW | AGENT_LIVE | AUTOPILOT | STUDIO) | No | Optional identifier describing where the API request originated. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest 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
{
"text": "\n\n\n\n\n\n"
}
