8000 GitHub - takakie/ChatGPT2Art: 通过ChatGPT 的接口生成提示词,并调用Stable Diffusion的接口实现通过描述实现自动绘画的功能。
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

通过ChatGPT 的接口生成提示词,并调用Stable Diffusion的接口实现通过描述实现自动绘画的功能。

License

Notifications You must be signed in to change notification settings

takakie/ChatGPT2Art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

调用ChatGPT API开发 实现中文AI绘画

1.框架

一个主程序MAIN,两个类,一个json格式的配置文件。

1.1.ImageDescriptionGenerator

​ 这个类用来实现调用我搭建好的pandora chatgpt API接口,根据我们提供的中文描述,生成英文AI绘画提示词。

1.2.MessageToImageProcessor

​ 通过生成的AI提升词,调用stable diffusion 的API 的文生图接口实现AI绘画出图。

1.3.主程序main

​ 实现对两个类的调用 5885 同时设置可选参数。

1.4.配置config.json

​ 配置初始的配置参数。

1.5.API接口文档

pandora chatgpt 代理接口,可突破限制,https://github.com/pengzhile/pandora/blob/master/doc/HTTP-API.md

本地stable diffusion 接口文档地址 http://127.0.0.1:7860/docs

About

通过ChatGPT 的接口生成提示词,并调用Stable Diffusion的接口实现通过描述实现自动绘画的功能。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0