← Back to Skills Marketplace
taoj2025

minimax文生图技能

by 陶建敏 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
31
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install minimax-image
Description
使用MiniMax图像生成API进行文生图。支持文字描述生成图片,适用于PPT配图、封面图、内容配图等场景。触发词:生成图片、文生图、创建图片、MiniMax图片。
README (SKILL.md)

MiniMax 图像生成技能

功能概述

使用 MiniMax API 进行文本到图像生成(Text-to-Image)。

API 信息

输入要求

参数 说明 必填
prompt 图片描述文本
aspect_ratio 宽高比(默认16:9)
n 生成数量(默认1,最大4)

使用方法

命令行调用

python3 /path/to/scripts/generate.py "你的图片描述" --ratio 16:9 --num 1

Python调用

from minimax_image import MiniMaxImage

client = MiniMaxImage(api_key="your-api-key")
result = client.generate("蓝色科技风格PPT封面,标题:深度学习")
image_urls = result["image_urls"]

输出

  • 返回生成的图片URL列表
  • 图片自动保存至 {output}/{date}/ 目录

依赖

pip install requests

API Key 配置

API Key通过环境变量 MINIMAX_API_KEY 设置,或在初始化时传入。

获取地址:https://platform.minimaxi.com/

Usage Guidance
This skill appears safe for its stated purpose. Before installing, understand that your prompts and API key are used with MiniMax, generated images are downloaded and saved locally, and you may need to install the requests Python package yourself.
Capability Analysis
Type: OpenClaw Skill Name: minimax-image Version: 1.0.0 The skill bundle provides a standard implementation for generating images using the MiniMax API. The Python scripts (minimax_image.py and test_api.py) perform legitimate API requests to api.minimaxi.com and save the resulting images to a local directory as described in the documentation. No indicators of data exfiltration, malicious execution, or prompt injection were found.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The stated purpose, SKILL.md, and code all align around MiniMax text-to-image generation. The skill sends prompts to MiniMax and downloads generated image URLs, which is expected for this purpose.
Instruction Scope
The workflow is mostly scoped to user-provided prompts and optional output paths. There is a minor documentation mismatch: SKILL.md shows a command for scripts/generate.py, while the provided executable script is scripts/minimax_image.py.
Install Mechanism
There is no install spec, but SKILL.md documents a requests dependency. This is a normal dependency for API access, but users must install it themselves and should use a trusted Python environment.
Credentials
The skill uses network access to MiniMax and writes downloaded images to a local output directory, defaulting to the Desktop. This is proportionate to image generation, but users should avoid sending sensitive prompt content.
Persistence & Privilege
The skill reads a MiniMax API key from MINIMAX_API_KEY or constructor input and saves generated images locally. It does not show background persistence, credential storage, or privileged system modification.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install minimax-image
  3. After installation, invoke the skill by name or use /minimax-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- 首次发布 minimax-image 1.0.0,支持通过MiniMax API进行文本生成图片 - 支持设置图片描述、宽高比与生成数量 - 输出生成图片的URL列表,图片可自动保存本地 - 提供命令行与Python调用示例 - 依赖 requests 包,API Key 可通过环境变量或参数配置
Metadata
Slug minimax-image
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is minimax文生图技能?

使用MiniMax图像生成API进行文生图。支持文字描述生成图片,适用于PPT配图、封面图、内容配图等场景。触发词:生成图片、文生图、创建图片、MiniMax图片。 It is an AI Agent Skill for Claude Code / OpenClaw, with 31 downloads so far.

How do I install minimax文生图技能?

Run "/install minimax-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is minimax文生图技能 free?

Yes, minimax文生图技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does minimax文生图技能 support?

minimax文生图技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created minimax文生图技能?

It is built and maintained by 陶建敏 (@taoj2025); the current version is v1.0.0.

💬 Comments