一、腾讯云配置
1.购买COS,新人可以1元购相当于白嫖
![image-20220329202529735](https://img-blog.csdnimg.cn/img_convert/4ceef845f1012cd1ccf8e844004e1efc.png)
2.前往对象存储页面创建存储桶
访问腾讯云对象存储COS的控制台,进入存储桶列表页面
![image-20220329202832766](https://img-blog.csdnimg.cn/img_convert/53e97e3dfbf94900b2d82d424435a006.png)
3.在存储桶中创建文件夹
![image-20220329203011765](https://img-blog.csdnimg.cn/img_convert/cf72ab4940081073cb94ca8db83e23f5.png)
4.回到概览获取基本信息
![image-20220329203244164](https://img-blog.csdnimg.cn/img_convert/c06ef0c959996fc710c4ac076bcd0b0a.png)
5.获取用户密钥管理
点击【密钥管理】->【API密钥】->【新建密钥】
![image-20220329203555212](https://img-blog.csdnimg.cn/img_convert/26383b9bae25e954bf32c855a2eea011.png)
二、配置PicGo
1.下载安装PicGo
国内用户如果慢可以使用山东大学的镜像下载
![image-20220329203908738](https://img-blog.csdnimg.cn/img_convert/7f22fe2145914b595bfcfb5ed2bdf2f4.png)
![image-20220329204028090](https://img-blog.csdnimg.cn/img_convert/9c06e0c7c57274a40a8fb673a4cb1702.png)
2.配置PicGo
![image-20220329211019626](https://img-blog.csdnimg.cn/img_convert/344e0f108c33459157f23fa9486095ec.png)
三、typora配置PicGo自动上传
【文件】-> 【偏好设置】->【图像】
![image-20220329211335368](https://img-blog.csdnimg.cn/img_convert/7556e430272459a0bcd3773c2d9886c7.png)
四、报错解决
1.上传失败
我刚安装时遇到过上传失败然后可以查看C:\Users\你的用户名\AppData\Roaming\picgo\data.json(Windows用户)我的是tcyun中的那个配置里面version是v4你修改为v5然后重启就行
![image-20220329213709601](https://img-blog.csdnimg.cn/img_convert/04defcaab886c17e04855fab9c5cdc17.png)
修改为v5然后重启就行