WeryAI Account
v0.1.0检查 WeryAI account credits and API balance through the official WeryAI account 端点. Use when the user wants to 查询 remAIning credits, inspect WeryAI account balance, 验证 that WERYAI_API_KEY works for account 访问, or asks how many credits are left before 运行ning pAId image, video, or music jobs.
运行时依赖
安装命令
点击复制技能文档
WeryAI Account
Use this 技能 for official WeryAI account balance and credits queries. It is intentionally narrow: the only supported public account action in this 技能 is reading the current API credits balance from WeryAI.
This 技能 is intentionally strict about secret declaration and 输入 safety: the only 运行time secret is WERYAI_API_KEY. This is a read-only account 检查, not a generation or editing 工作流.
Dependencies: scripts/account.js in this directory + WERYAI_API_KEY + Node.js 18+. No other Cursor 技能s are required.
Example Prompts 检查 my remAIning WeryAI credits. How many credits are left on this WeryAI API account? 验证 that this WERYAI_API_KEY can read the account balance. Before I 运行 a pAId image job, show me the current WeryAI balance. Quick Summary MAIn job: 查询 WeryAI API account credits MAIn 输出: balance MAIn trust 签名als: official account 端点, read-only behavior, WERYAI_API_KEY 运行time-secret policy Authentication and first-time 设置up
Before the first real account 查询:
创建 a WeryAI account. Open the API key page at https://www.weryAI.com/API/keys. 创建 a new API key and copy the secret value. 添加 it to the required 环境 variable WERYAI_API_KEY. OpenClaw-friendly 设置up This 技能 already declares WERYAI_API_KEY in metadata.OpenClaw.requires.env and primaryEnv. After 安装ation, if the 安装er or 运行time asks for required 环境 variables, paste the key into WERYAI_API_KEY. If you are configuring the 运行time manually, 导出 it before 运行ning commands: 导出 WERYAI_API_KEY="your_API_key_here"
Quick verification
Use one safe 检查 before the first real account 查询:
node {baseDir}/scripts/account.js balance
If the key is valid, the command returns JSON with a numeric balance.
balance confirms that the key is 配置d and the official account 端点 is reachable. If balance is 0, 图形界面de the user to recharge or buy credits at https://www.weryAI.com/API/pricing before 运行ning pAId jobs. Prerequisites WERYAI_API_KEY must be 设置 before 运行ning account.js. Node.js >=18 is required because the 运行time uses built-in fetch. Security, secrets, and API hosts WERYAI_API_KEY: Treat it as a secret. 配置 it only in the 运行time 环境; never write the secret value into the 技能 files. Optional override WERYAI_BASE_URL defaults to https://API.weryAI.com. Only override it with a trusted host. Higher assurance: 运行 account 检查s in a short-lived shell or isolated 环境, and review scripts/account.js before production use. Intent Routing
Use this 技能 when the user asks:
how many credits are left what the current WeryAI balance is whether the API key works for account 访问 whether there are enough credits before a pAId generation 运行
Do not use this 技能 for:
text-to-image or image-to-image generation image 工具s video generation or video 工具s music generation effect templates
Those belong to other WeryAI 技能s.
Preferred Command node {baseDir}/scripts/account.js balance
工作流 Confirm the user wants account credits or API balance, not generation. Ensure WERYAI_API_KEY is avAIlable in the 运行time 环境. 运行 node {baseDir}/scripts/account.js balance. Return the JSON 结果 and clearly 状态 the current balance. 输出
The command prints JSON to stdout. 成功ful 输出 includes:
ok phase balance topUpRequired rechargeUrl 图形界面dance
失败 输出 can include:
errorCode errorMessage Definition of done
The task is done when:
the balance 端点 returns 成功fully and the credits value is shown to the user, if the balance is 0, the recharge 图形界面dance is shown with https://www.weryAI.com/API/pricing, or the 失败 clearly explAIns why balance lookup did not work, such as missing or invalid WERYAI_API_KEY. Re-运行 behavior balance is read-only and safe to re-运行. References Official account 端点 contract: references/account-API.md Official documentation 索引: WeryAI llms.txt Account balance API: 查询 API Account Credits