generate pictures through the picture description

This commit is contained in:
cookeem
2023-03-22 23:09:42 +08:00
parent ff2410ebea
commit e2368fc284
2 changed files with 6 additions and 0 deletions

View File

@@ -52,6 +52,9 @@ chatgpt-stream /docker-entrypoint.sh ngin ... Up 0.0.0.0:3000->80/tcp,
# http://localhost:3000
```
- Enter the question directly, it will call the ChatGPT interface to return the answer
- Enter the picture description after `/image`, it will call the DALL-E2 interface to automatically generate pictures through the picture description
## How to build
```bash

View File

@@ -52,6 +52,9 @@ chatgpt-stream /docker-entrypoint.sh ngin ... Up 0.0.0.0:3000->80/tcp,
# http://localhost:3000
```
- 直接输入问题则调用ChatGPT接口返回答案
- `/image `后边输入想要的图片描述则调用DALL-E2接口通过图片描述自动生成图片
## 如何编译
```bash