Update manifest.json

This commit is contained in:
Passerby1011 2025-03-12 22:36:25 +08:00 committed by GitHub
parent e32a44a4cb
commit afb38b2af3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 56 additions and 8 deletions

View File

@ -8,20 +8,68 @@
"parameters": {
"type": "object",
"properties": {
"prompt": {
"model": {
"type": "string",
"description": "The text prompt to generate the image from"
"description": "The model name to use for image generation",
"default": "wanx2.1-t2i-turbo",
"enum": [
"wanx2.1-t2i-turbo",
"wanx2.1-t2i-plus",
"wanx2.0-t2i-turbo"
]
},
"input": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Positive prompt describing elements and visual features desired in the generated image. Supports Chinese and English, up to 800 characters"
},
"negative_prompt": {
"type": "string",
"description": "Negative prompt describing elements you don't want in the image. Supports Chinese and English, up to 500 characters"
}
},
"required": ["prompt"]
},
"parameters": {
"type": "object",
"properties": {
"size": {
"type": "string",
"description": "Resolution of the output image. Width and height should be between 768 and 1440 pixels, up to 2 million pixels total",
"default": "1024*1024"
},
"n": {
"type": "integer",
"description": "Number of images to generate, between 1 and 4",
"minimum": 1,
"maximum": 4,
"default": 1
},
"seed": {
"type": "integer",
"description": "Random seed to control generation randomness. Range: [0, 2147483647]",
"minimum": 0,
"maximum": 2147483647
},
"prompt_extend": {
"type": "boolean",
"description": "Whether to enable intelligent prompt rewriting for better results. Only affects positive prompts",
"default": true
}
}
}
},
"required": ["prompt"]
"required": ["model","input"]
}
}
],
"meta": {
"avatar": "🎉",
"description": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts.",
"description": "该插件利用阿里巴巴的通义万相模型,根据文本提示生成图像。",
"tags": ["image", "generator", "tongyi", "wanxiang", "alibaba"],
"title": "Tongyi wanxiang Image Generator"
"title": "通义万相图像生成器"
},
"settings": {
"type": "object",
@ -30,10 +78,10 @@
"ALIBABA_API_KEY": {
"type": "string",
"title": "Alibaba API Key",
"description": "The API key to use the Alibaba Tongyi Wanxiang model"
"description": "用于使用阿里通义万相模型的API密钥"
}
}
},
"version": "1",
"systemRole": "This plugin uses Alibaba's Tongyi Wanxiang model to generate images based on text prompts."
}
"systemRole": "该插件利用阿里巴巴的通义万象模型,根据文本提示生成图像。"
}