License 许可证
April 12, 2025 · View on GitHub
PicGo Plugin ImageFlow
PicGo's ImageFlow image hosting upload tool, developed by Jiaxiang Wang.
PicGo 的 ImageFlow 图床上传工具,由王嘉祥开发。
Configuration Instructions 配置说明
| 参数名 | 是否必填 | 描述 |
|---|---|---|
URL | 是 | 服务器地址 |
API Key | 是 | API 密钥 |
Installation Instructions 安装说明
CLI
Install via PicGo Core CLI
通过 PicGo Core 命令行安装
picgo add imageflow
GUI
Search for imageflow in the GUI to download
GUI 直接搜索 imageflow 下载即可
Usage 使用方式
Configuration 配置
In PicGo, follow the steps shown in the illustration to configure.
在 PicGo 中,按照图示步骤进行配置即可。

Upload 上传
In PicGo, follow the steps shown in the illustration to upload. Note to switch to this plugin in Step 2.
在 PicGo 中,按照图示步骤操作即可,注意在第二步中切换本插件使用。

Development 开发
Architecture Diagram 架构图
graph TD
A[Start 开始] --> B[Read Config File 读取配置文件]
B --> C[Build Form Parameters 构建表单参数]
C --> D[Assemble Request Headers 组装请求头]
D --> E[Transform File Array 转换文件数组]
E --> F[Send HTTP Request 发送HTTP请求]
F --> G{Success? 成功?}
G -- Yes 是 --> H[Parse URL Response 解析URL返回结果]
G -- No 否 --> I[Error Handling 错误处理]
H --> J[Update PicGo Album 更新PicGo相册]
I --> K[Show Error Message 显示错误提示]
Upstream API Description 上游接口说明
API Key Authentication API 密钥认证
Image upload requires API key authentication. You can:
图片上传功能需要 API 密钥认证。您可以:
- Add
Authorizationin the requestheader, with the valueBearer <token>.
在请求header中添加Authorization,值为Bearer <token>。
API Reference API 参考
| 接口 | 方法 | 描述 | 参数 | 认证 |
|---|---|---|---|---|
/api/upload | POST | 上传新图片 | Form 数据,字段名 images[],存放照片数组 可选参数: expiryMinutes(过期时间,分钟)可选参数: tags(标签数组) | 需要 API 密钥 |
Reference Documentation 参考文档
Contributing 贡献
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
欢迎提交 Pull Request。如需进行重大更改,请先打开 Issue 讨论您想要更改的内容。
Acknowledgments 鸣谢
Thanks to the following open-source projects for inspiration:
感谢以下开源项目提供灵感:
License 许可证
Released under the MIT License.
基于 MIT License 发布。