wanx-img
Installation
SKILL.md
Overview
This skill provides commands for generating and editing images using the WanX model from Alibaba.
Workflow
- decide user's intent: whether to generate a new image, or edit given images
- decide which version of visual LLM will be used, use the highest version by default, if it's not availiable or rejected by provider, then downgrade to other version
- if user provides images urls/paths, you don't need to read the files but only pass them to scripts
- if user specify size of image in pixel number, pass it to scripts, or if user specify aspect ratio, convert it to image size and then pass to scripts
- run a proper script to generate or edit images with user input prompt, synchronously by default
- output original prompts, extended actual prompts, size of image, and full urls of generated images (don't miss any parameters from the url for example Signature etc. )
Conversion between ratio and image size
The total number of pixels must be between [12801280, 14401440] and the aspect ratio must be between [1:4, 4:1]. For example, 7682700 meets the requirements. The default value is 12801280.