PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
You can monitor API usage in the following ways:
Log in to the ComPDF AI Console and go to the "Usage Statistics" page to view:
Use the Get Asset Info endpoint to query the current user's remaining asset information, including available and pending balances for different asset types.
curl --location --request GET 'https://api-server.compdf.com/server/v2/asset-info' \
--header 'x-api-key: <your-public-key>'Response example:
{
"code": "200",
"msg": "success",
"data": {
"assetItems": [
{
"assetType": "PARSING_PAGE_COUNT",
"name": "Document Parsing Pages",
"availableBalance": 5000,
"pendingBalance": 100
},
{
"assetType": "EXTRACT_PAGE_COUNT",
"name": "Document Extraction Pages",
"availableBalance": 3000,
"pendingBalance": 50
}
]
}
}