40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"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"]
|
|
}
|
|
}
|
|
],
|
|
"gateway": "https://alps-tongyi-image.vercel.app/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."
|
|
} |