mirror of
https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins.git
synced 2026-06-06 05:48:59 +08:00
add dalle plugin
This commit is contained in:
@@ -11,6 +11,7 @@ This project stores [Plugins](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
|
||||
|
||||
## Plugins
|
||||
|
||||
- [Dalle3](./plugins/dalle)
|
||||
- [WolframAlpha plugin](./plugins/wolframalpha)
|
||||
- [ArxivSearch](./plugins/arxivsearch)
|
||||
- [DuckDuckGoLiteSearch](./plugins/duckduckgolite)
|
||||
|
||||
25
plugins/dalle/README.md
Normal file
25
plugins/dalle/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Dalle3
|
||||
|
||||
> openai's dall-e image generator.
|
||||
|
||||
## Schema
|
||||
[openapi.json](./openapi.json)
|
||||
|
||||
## Servers
|
||||
|
||||
`https://api.openai.com`
|
||||
|
||||
## Operations
|
||||
|
||||
1. Dalle3;
|
||||
|
||||
## Authentication
|
||||
|
||||
type: bearer
|
||||
location: header
|
||||
|
||||
## Preview
|
||||
|
||||

|
||||
|
||||
|
||||
58
plugins/dalle/openapi.json
Normal file
58
plugins/dalle/openapi.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"openapi": "3.1.0",
|
||||
"info": {
|
||||
"title": "Dalle3",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "https://api.openai.com"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"/v1/images/generations": {
|
||||
"post": {
|
||||
"operationId": "Dalle3",
|
||||
"x-openai-isConsequential": false,
|
||||
"summary": "openai's dall-e image generator.",
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"required": ["model", "n", "prompt", "size", "quality", "style"],
|
||||
"properties": {
|
||||
"model": {
|
||||
"type": "string",
|
||||
"description": "model name, required and value is `dall-e-3`."
|
||||
},
|
||||
"n": {
|
||||
"type": "number",
|
||||
"description": "value is `1`"
|
||||
},
|
||||
"prompt": {
|
||||
"type": "string",
|
||||
"description": "A text description of the desired image(s). input must be a english prompt."
|
||||
},
|
||||
"size": {
|
||||
"type": "string",
|
||||
"description": "images size, can be `1024x1024`, `1024x1792`, `1792x1024`. default value is `1024x1024`"
|
||||
},
|
||||
"quality": {
|
||||
"type": "string",
|
||||
"description": "images quality, can be `standard`, `hd`. default value is `hd`"
|
||||
},
|
||||
"style": {
|
||||
"type": "string",
|
||||
"description": "images style, can be `vivid`, `natural`. default value is `vivid`"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
plugins/dalle/preview.png
Normal file
BIN
plugins/dalle/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Reference in New Issue
Block a user