From e2368fc2843984ffeb44ba79e4e97ed6d54b8b69 Mon Sep 17 00:00:00 2001 From: cookeem Date: Wed, 22 Mar 2023 23:09:42 +0800 Subject: [PATCH] generate pictures through the picture description --- README.md | 3 +++ README_CN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 6d63779..c2227d8 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/README_CN.md b/README_CN.md index 158c56b..c5e49fa 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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