← 返回 Skills 市场
taoj2025

minimax文生图技能

作者 陶建敏 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install minimax-image
功能描述
使用MiniMax图像生成API进行文生图。支持文字描述生成图片,适用于PPT配图、封面图、内容配图等场景。触发词:生成图片、文生图、创建图片、MiniMax图片。
使用说明 (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/

安全使用建议
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.
功能分析
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.
能力标签
requires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install minimax-image
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /minimax-image 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- 首次发布 minimax-image 1.0.0,支持通过MiniMax API进行文本生成图片 - 支持设置图片描述、宽高比与生成数量 - 输出生成图片的URL列表,图片可自动保存本地 - 提供命令行与Python调用示例 - 依赖 requests 包,API Key 可通过环境变量或参数配置
元数据
Slug minimax-image
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

minimax文生图技能 是什么?

使用MiniMax图像生成API进行文生图。支持文字描述生成图片,适用于PPT配图、封面图、内容配图等场景。触发词:生成图片、文生图、创建图片、MiniMax图片。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。

如何安装 minimax文生图技能?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install minimax-image」即可一键安装,无需额外配置。

minimax文生图技能 是免费的吗?

是的,minimax文生图技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

minimax文生图技能 支持哪些平台?

minimax文生图技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 minimax文生图技能?

由 陶建敏(@taoj2025)开发并维护,当前版本 v1.0.0。

💬 留言讨论