增加正式版json文件

This commit is contained in:
YoungTx 2024-08-01 18:37:01 +08:00
parent 79c7a637d0
commit e32a44a4cb
1 changed files with 39 additions and 0 deletions

39
public/manifest.json Normal file
View File

@ -0,0 +1,39 @@
{
"identifier": "alps-tongyi-image",
"api": [
{
"url": "https://alps-tongyi-image.vercel.app/api/generate",
"name": "generateImage",
"description": "Generate an image based on the given prompt using Alibaba's Tongyi Wanxiang model",
"parameters": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "The text prompt to generate the image from"
}
},
"required": ["prompt"]
}
}
],
"meta": {
"avatar": "🎉",
"description": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.",
"tags": ["image", "generator", "tongyi", "wanxiang", "alibaba"],
"title": "Tongyi wanxiang Image Generator"
},
"settings": {
"type": "object",
"required": ["ALIBABA_API_KEY"],
"properties": {
"ALIBABA_API_KEY": {
"type": "string",
"title": "Alibaba API Key",
"description": "The API key to use the Alibaba Tongyi Wanxiang model"
}
}
},
"version": "1",
"systemRole": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts."
}