Skip to content

a386572631/chatgpt-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatgpt-api

ChatGPT API工具包

引入依赖包

<dependency>
  <groupId>io.github.a386572631</groupId>
  <artifactId>chatgpt-api</artifactId>
  <version>0.0.1-RELEASE</version>
</dependency>

添加配置

chatgpt:
  proxy-url: https://api.openai-proxy.com
  api-key: xxx
  text:
    role: user
  image:
    num: 1
    size: 1024x1024