Zai File Upload
zai_file_uploadThis API is designed for uploading auxiliary files (such as glossaries, terminology lists) to support the translation service. It allows users to upload reference materials that can enhance translation accuracy and consistency.
When to Use
Use this tool when you need to this api is designed for uploading auxiliary files (such as glossaries, terminology lists) to support the translation service. it allows users to upload reference materials that can enhance translation accuracy and consistency.. This is part of the Z.ai API provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 9+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("zai/zai_file_upload")xpay_run— Execute:xpay_run("zai/zai_file_upload", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
purpose | string | Yes | Upload purpose (agent) |
file | string | Yes | File to upload. Limit to 100MB. Allowed formats: pdf, doc, xlsx, ppt, txt, jpg, png. |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Z.ai API (all tools) — 10 tools
- Zai Generate Image — $0.02/call
- Zai Web Reader — $0.02/call
- Zai Chat Completion — $0.02/call
- Zai Retrieve Result — $0.01/call
- Zai Conversation History — $0.02/call
Links
- Tool page: https://xpay.tools/zai/zai-file-upload/
- Provider: https://xpay.tools/zai/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
purpose | string | Yes | Upload purpose (agent) |
file | string | Yes | File to upload. Limit to `100MB`. Allowed formats: `pdf`, `doc`, `xlsx`, `ppt`, `txt`, `jpg`, `png`. |
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
Z.ai API

