From e32a44a4cb5f32182803ae23cafed712d2966f37 Mon Sep 17 00:00:00 2001 From: YoungTx Date: Thu, 1 Aug 2024 18:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=AD=A3=E5=BC=8F=E7=89=88js?= =?UTF-8?q?on=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/manifest.json | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 public/manifest.json diff --git a/public/manifest.json b/public/manifest.json new file mode 100644 index 0000000..fb9824d --- /dev/null +++ b/public/manifest.json @@ -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." +} \ No newline at end of file