← Back to Skills Marketplace
Minimax Image Generator
by
lanhaixuan
· GitHub ↗
· v1.1.0
· MIT-0
145
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install minimax-image-generator
Description
Text-to-image and image-to-image generation using MiniMax API. Generates images from text prompts (t2i) or transforms reference images (i2i) using MiniMax's...
Usage Guidance
This skill appears coherent and implements what it advertises, but review these practical points before installing: (1) The tool will use your MINIMAX_API_KEY — only provide a key you trust to be used with MiniMax and be aware of billing/quotas. (2) The script will read ~/.openclaw/openclaw.json as an alternate key source; verify that file before use. (3) If you supply image URLs, the script will download them to ~/.openclaw/workspace/tmp — avoid pointing it at URLs you don't trust. (4) The README suggests installing the requests package from PyPI; as with any third-party package, install from the official registry and review versions if you have supply-chain concerns. (5) If you are unsure about trusting the skill source, open and review scripts/minimax_image_gen.py (already included) before running; revoke the API key if you later suspect misuse.
Capability Analysis
Type: OpenClaw Skill
Name: minimax-image-generator
Version: 1.1.0
The skill bundle provides a legitimate interface for the MiniMax image generation API. The Python script (minimax_image_gen.py) implements standard text-to-image and image-to-image functionality, including API key retrieval from environment variables or the local OpenClaw configuration file (~/.openclaw/openclaw.json). No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description claim text-to-image and image-to-image via MiniMax. Declared binary (python3) and env var (MINIMAX_API_KEY) are appropriate. The script posts to api.minimaxi.com and implements the described models and options — requirements and functionality are proportionate to the stated purpose.
Instruction Scope
SKILL.md and the included Python script only: read MINIMAX_API_KEY (env or ~/.openclaw/openclaw.json), build a JSON payload, call the MiniMax API, parse results, optionally download/save image URLs. Instructions do not attempt to read unrelated secrets or system files beyond the single OpenClaw config file used to store the apiKey.
Install Mechanism
No install spec; SKILL.md recommends pip install requests which is standard and minimal. There are no downloads from arbitrary URLs, no extracted archives, and no creation of nonstandard system binaries.
Credentials
Only requires a single API key (MINIMAX_API_KEY) which is the expected credential. The script will also read ~/.openclaw/openclaw.json as an alternate key source (matches SKILL.md). No other tokens, passwords, or unrelated environment variables are requested.
Persistence & Privilege
Skill is not forced always-on and does not modify other skills or system-wide settings. It writes images to a per-skill workspace directory (~/.openclaw/workspace/tmp), which is reasonable for saving outputs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install minimax-image-generator - After installation, invoke the skill by name or use
/minimax-image-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
- Adds image-to-image (i2i) generation: transform images by URL or base64.
- Skill name updated to minimax-image-generator.
- Input schema now supports image_url and image_base64 for reference images.
- Documentation and usage instructions updated for both text-to-image and image-to-image methods.
v1.0.0
- Initial release of minimax-image-gen: a text-to-image generation tool using MiniMax's API.
- Supports generating images from text prompts with options for model selection, aspect ratio, style, and output format (URL or base64).
- Provides CLI and Python module usage.
- Includes schema definitions for input parameters and error codes.
- Requires a MiniMax Coding Plan API Key and the requests Python package.
Metadata
Frequently Asked Questions
What is Minimax Image Generator?
Text-to-image and image-to-image generation using MiniMax API. Generates images from text prompts (t2i) or transforms reference images (i2i) using MiniMax's... It is an AI Agent Skill for Claude Code / OpenClaw, with 145 downloads so far.
How do I install Minimax Image Generator?
Run "/install minimax-image-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Minimax Image Generator free?
Yes, Minimax Image Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Minimax Image Generator support?
Minimax Image Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Minimax Image Generator?
It is built and maintained by lanhaixuan (@lanhaixuan); the current version is v1.1.0.
More Skills