image

Generate images via the MiniMax API from text prompts and reference images.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/HuaiminHuang/personal-skills-for-openclaw --skill image-huaiminhuang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image
Source: https://github.com/HuaiminHuang/personal-skills-for-openclaw/tree/main/image
Command: npx skills add https://github.com/HuaiminHuang/personal-skills-for-openclaw --skill image-huaiminhuang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates high-quality image generation using the MiniMax API, reducing manual prompt crafting and iterative guesswork by orchestrating prompts, mode selection, and reference-image handling.

Core Features & Use Cases

  • Text-to-image and image-to-image generation using the MiniMax API with prompt enhancement.
  • Automatic reference image detection and handling for i2i workflows.
  • Prompt optimization, aspect-ratio control, and multi-output support with built-in error handling.

Quick Start

Provide a text prompt and, if needed, a reference image, to generate one or more images via MiniMax in t2i or i2i mode.

Frequently Asked Questions about image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate text-to-image generation using the MiniMax API?

Image-to-image generation with a reference image is supported through the MiniMax API by automatically detecting the reference image and applying prompt optimization to transform the original visual assets.

Do I need specific API credentials to use MiniMax for image generation?

MiniMax image generation requires setting up the MINIMAX_API_HOST and MINIMAX_API_KEY environment variables to authenticate requests and successfully execute text-to-image or image-to-image workflows.

What is the best way to optimize prompts for high-quality image outputs?

Prompt optimization for high-quality image outputs is handled automatically through role-augmented prompts, reducing manual prompt crafting and iterative guesswork during the MiniMax API image generation process.

Can I generate multiple images at once using the MiniMax API?

Multi-output support allows generating one or more images simultaneously via the MiniMax API, providing multiple variations or results from a single text prompt or reference image input.

Why does my MiniMax API image generation fail during processing?

MiniMax API image generation failures are managed by built-in error handling that provides feedback on generation results and failures, ensuring issues like missing environment variables or prompt errors are caught.