Dumpling AI Convert To PDF
37.5 credits/call
ae_dumplingai_convert_to_pdf
Convert a webpage URL or uploaded file into a PDF document using DumplingAI.
37.5 credits/call
Pricing
37.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 37.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
file | string | Yes | Document URL or base64-encoded content to convert to PDF. | — |
inputMethod | enum (url | base64) | Yes | Indicates whether binary content is supplied via URL or base64-encoded string. | — |
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_convert_to_pdf' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"file": "/Users/mac/WorkBuddy/2026-11-03-09-36-16/ART-AI-产品方案-16页.html",
"inputMethod": "base64"
}
}'Response exampleresponse.json
{
"url": "https://pub-1ff5a17124b34b658b5b75065b3a03e8.r2.dev/temp-d60a1715-8da0-4b6c-b5c1-4fc24aec32b2.pdf"
}Guides using this tool
See how this tool fits into real workflows
Building a RAG Data Pipeline with AI AgentsUse an AI agent to collapse RAG data prep into one chain — scrape pages, extract clean body text, convert documents, then chunk and tag the output into vector-ready data, with no custom crawlers or cleanup scripts.Website Screenshot & PDF Archiving with AI AgentsLet an AI agent run a full web-archiving chain — hand it a list of URLs and it screenshots each page, converts them to PDF, and names and files them into a consistent evidence pack for legal, compliance and ops.

