58pic
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese58pic-cli(千图 AI 开放平台)
58pic-cli (58pic AI Open Platform)
本 Skill 与仓库根目录 README.md 保持一致;实际请求由终端中的 命令发出,Agent 应通过 执行 shell 命令 调用,而不是在对话里伪造 HTTP。
58picThis Skill is consistent with the README.md in the repository root directory; actual requests are sent by the command in the terminal, the Agent should call it by executing shell commands instead of forging HTTP requests in conversations.
58picAgent Skills 安装
Agent Skills Installation
bash
npm install -g @58pic/cli
npx skills add 58pic-open/cli -y -g查看本仓库提供的 Skill 列表(不安装):
仅安装本 Skill:
亦可使用完整仓库地址。
npx skills add 58pic-open/cli --list仅安装本 Skill:
npx skills add 58pic-open/cli --skill 58pic -y -g亦可使用完整仓库地址
https://github.com/58pic-open/cli须先安装 可执行文件( 或 );Skill 不会替代 CLI,只指导 Agent 如何调用命令行。
58picnpm install -g @58pic/clinpm install -g github:58pic-open/cliUse the open source skills CLI () to install in the repository to Agent directories such as Cursor, Claude Code, Codex, etc.:
npx skillsskills/bash
npm install -g @58pic/cli
npx skills add 58pic-open/cli -y -gView the Skill list provided by this repository (no installation):
Install this Skill only:
You can also use the full repository address.
npx skills add 58pic-open/cli --listInstall this Skill only:
npx skills add 58pic-open/cli --skill 58pic -y -gYou can also use the full repository address
https://github.com/58pic-open/cliYou must install the executable first ( or ); Skill does not replace CLI, it only guides the Agent on how to call the command line.
58picnpm install -g @58pic/clinpm install -g github:58pic-open/cli58pic AI Open Platform uses API Key for authentication, no OAuth browser process. CLI provides common capabilities such as , , , etc.
config initauth statusdry-run缺少 API Key 时(Agent 必提醒用户)
When API Key is missing (Agent must remind users)
若 显示未配置、或命令报错提示缺少 API Key:不要猜测或编造 Key。
58pic auth status获取 API Key(须先登录): 千图 AI 开放平台
用户取得 Key 后,再执行 (或交互式 )。勿把 Key 写入可被提交的仓库。
58pic config init --api-key "<用户的 Key>"58pic config initIf shows unconfigured, or the command reports an error indicating missing API Key: Do not guess or fabricate the Key.
58pic auth statusGet API Key (login required first): 58pic AI Open Platform
After the user gets the Key, execute (or interactive ). Do not write the Key into a repository that can be submitted.
58pic config init --api-key "<user's Key>"58pic config init调用方式(Agent 必做)
Calling Method (Agent must follow)
- 确认已安装:(失败则按 README 执行
58pic --help或npm install -g @58pic/cli)。github:58pic-open/cli - 确认凭证:;若无 Key,必须先按上文「缺少 API Key 时」引导用户获取,再
58pic auth status(勿把 Key 写入可被提交的仓库)。58pic config init --api-key "<key>" - 自动化解析响应时加 。
--format json - 可能扣点的接口(下载、做同款等)先用 或提醒用户确认。
58pic dry-run …
- Confirm installation: (if it fails, execute
58pic --helpornpm install -g @58pic/cliaccording to README).github:58pic-open/cli - Confirm credentials: ; If there is no Key, you must first guide the user to obtain it according to the above "When API Key is missing" section, then run
58pic auth status(do not write the Key into a repository that can be submitted).58pic config init --api-key "<key>" - Add when automatically parsing responses.
--format json - For interfaces that may deduct points (download, create same style, etc.), use first or remind users to confirm.
58pic dry-run …
常用命令
Common Commands
| 场景 | 命令 |
|---|---|
| 关键词搜索 | |
| AI 向量搜索 | |
| 分类目录 | |
| 模型列表 | |
| 按 pid 拉取下载信息 | |
| 做同款 | |
| 任务状态 | |
| 未封装路由 | |
凭证优先级与环境变量 、 见 README(注意 bash/zsh 无法 以数字开头的变量名,本地优先配置文件或 )。
58PIC_API_KEY58PIC_BASE_URLexport--api-key| Scenario | Command |
|---|---|
| Keyword search | |
| AI vector search | |
| Category directory | |
| Model list | |
| Fetch download information by pid | |
| Create same style | |
| Task status | |
| Unencapsulated route | |
Credential priority and environment variables , are described in README (note that bash/zsh cannot variable names starting with numbers, local configuration files or are preferred).
58PIC_API_KEY58PIC_BASE_URLexport--api-key安全
Security
API Key 等同账号能力:限制暴露范围,勿在不可信环境明文传递;自动化调用可能扣点的接口前须让用户知情或确认。
API Key has the same permissions as the account: limit the exposure scope, do not transmit it in plain text in untrusted environments; users must be informed or confirmed before automatically calling interfaces that may deduct points.