Documentation
README
MiniMax Image Skill
Generate images from a text prompt through the bundled MiniMax Image API helper.
Resolve the skill directory
Resolve the absolute directory containing this SKILL.md before running a command and refer to it as <skill-dir>. Keep output paths relative to the user's working directory unless the user requests another location.
Requirements
- Export
MINIMAX_API_KEYbefore running the helper. - Use Python 3.9 or newer. The helper uses only the Python standard library.
Generate an image
Ask for the prompt and, when relevant, the model, region, aspect ratio, dimensions, result count, and output filename. Then run:
python3 "<skill-dir>/minimax_image.py" \
--prompt "A quiet observatory beneath an aurora" \
--output "observatory.png"
This is the opening of the README. Read the full README on GitHub.