ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.44k stars 59.12k forks source link

[Feature Request] 图片自动上传到图床 #5201

Open 122cygf opened 3 months ago

122cygf commented 3 months ago

🥰 需求描述

把图片自动上传到图床以减少token用量

🧐 解决方案

可以增加一个环境变量,控制上传图片时触发的shell命令,让用户自行实现上传图片到图床的操作并返回图片url

📝 补充信息

No response

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] The picture is automatically uploaded to the picture bed

🥰 Description of requirements

Automatically upload pictures to the picture bed to reduce token usage

🧐 Solution

You can add an environment variable to control the shell command triggered when uploading images, allowing users to upload images to the image bed and return the image URL.

📝 Supplementary information

No response