muapi-platform
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese⚙️ MuAPI Platform Utilities
⚙️ MuAPI 平台实用工具
Setup and polling utilities for the muapi.ai platform.
Configure your API key, verify connectivity, and poll for async generation results.
适用于muapi.ai平台的设置和轮询实用工具。
可用于配置你的API密钥、验证连通性以及轮询异步生成结果。
Available Scripts
可用脚本
| Script | Description |
|---|---|
| Configure API key, show config, test key validity |
| Poll for async generation results by request ID |
| 脚本 | 描述 |
|---|---|
| 配置API密钥、展示配置信息、测试密钥有效性 |
| 按请求ID轮询异步生成结果 |
Quick Start
快速开始
bash
undefinedbash
undefinedSave your API key
Save your API key
bash setup.sh --add-key "YOUR_MUAPI_KEY"
bash setup.sh --add-key "YOUR_MUAPI_KEY"
Show current configuration
Show current configuration
bash setup.sh --show-config
bash setup.sh --show-config
Test API key validity
Test API key validity
bash setup.sh --test
bash setup.sh --test
Poll for a result (waits for completion)
Poll for a result (waits for completion)
bash check-result.sh --id "your-request-id"
bash check-result.sh --id "your-request-id"
Check once without polling
Check once without polling
bash check-result.sh --id "your-request-id" --once
undefinedbash check-result.sh --id "your-request-id" --once
undefinedRequirements
依赖要求
curl
curl