manifest.json/public/manifest-dev.json

40 lines
1.2 KiB
JSON

{
"identifier": "alps-tongyi-image",
"api": [
{
"url": "http://localhost:3000/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"]
}
}
],
"gateway": "http://localhost:3000/api/gateway",
"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."
}