xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
Z.ai API logo

Zai File Upload

zai_file_upload

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.

$0.02/call
Flat rate
Z.ai API
Raw SKILL.mdTool Page

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:

  1. xpay_details — Get full input schema: xpay_details("zai/zai_file_upload")
  2. xpay_run — Execute: xpay_run("zai/zai_file_upload", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
purposestringYesUpload purpose (agent)
filestringYesFile to upload. Limit to 100MB. Allowed formats: pdf, doc, xlsx, ppt, txt, jpg, png.

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to 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
// 1. Get full schema
xpay_details("zai/zai_file_upload")
// 2. Execute
xpay_run("zai/zai_file_upload", { ...inputs })
Input Parameters
ParameterTypeRequiredDescription

purpose

string
Yes

Upload purpose (agent)

file

string
Yes

File to upload. Limit to `100MB`. Allowed formats: `pdf`, `doc`, `xlsx`, `ppt`, `txt`, `jpg`, `png`.

Related Tools from Z.ai API
Zai Generate Image — $0.02Zai Web Reader — $0.02Zai Chat Completion — $0.02Zai Retrieve Result — $0.01Zai Conversation History — $0.02Zai Retrieve Result Post — $0.02Zai Agent Chat — $0.02Zai Generate Videoasync — $0.02
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/zai/zai-file-upload/SKILL.md
CLI
npx @xpaysh/cli install zai/zai-file-upload
Manual
curl -o SKILL.md https://xpay.tools/skills/zai/zai-file-upload/SKILL.md
Pricing

Cost

$0.02/call

Model

Flat rate

Provider

Z.ai API

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service