← Back to Skills Marketplace
xiaoliang1319-cloud

MiniMax文生图

by xiaoliang1319-cloud · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
106
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install dmxapi-image
Description
使用 MiniMax (image-01) 和其他模型生成图片。支持文生图、图片编辑。当用户需要生成图片、AI绘图时使用此技能。使用方法:用户需要配置 DMXAPI_API_KEY 环境变量。
README (SKILL.md)

MiniMax Image Generation Skill

功能

  • 文生图 - 根据文本描述生成图片
  • 支持多种尺寸和比例

使用前提

用户需要:

  1. MiniMax API Key(sk-cp-xxx 格式)
  2. 确保套餐包含图片生成功能

API 用法

const https = require('https');

const apiKey = 'YOUR_MINIMAX_API_KEY';

const body = JSON.stringify({
  model: 'image-01',
  prompt: '描述内容',
  aspect_ratio: '1:1',
  response_format: 'base64'
});

const options = {
  hostname: 'api.minimaxi.com',
  path: '/v1/image_generation',
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': `Bearer ${apiKey}`
  }
};

示例

生成小龙虾头像:

  • model: image-01
  • prompt: cute cartoon lobster mascot, kawaii style, orange color, big eyes
  • aspect_ratio: 1:1
Usage Guidance
Do not install until the manifest and documentation are reconciled. Specifically: (1) Confirm the exact environment variable name the agent will read (e.g., DMXAPI_API_KEY) and ensure it is declared as the primary credential in the skill manifest; (2) Verify the service domain (api.minimaxi.com) and the provider's reputation and privacy policy, since prompts and generated images will be sent to that external API; (3) Limit the API key's scope and rotate/revoke it if shared; (4) Prefer the SKILL.md include a clear example using process.env.DMXAPI_API_KEY (or equivalent) so the agent will not rely on ambiguous or hard-coded keys; (5) If you handle sensitive images or prompts, avoid using this skill until you confirm data handling practices. These steps will reduce the risk of accidental data exposure caused by the manifest/instruction mismatch.
Capability Analysis
Type: OpenClaw Skill Name: dmxapi-image Version: 1.0.0 The skill bundle contains only metadata and documentation (SKILL.md) for integrating with the MiniMax image generation API. It provides standard usage instructions and a JavaScript code snippet for making HTTPS requests to api.minimaxi.com, with no executable scripts or malicious instructions present.
Capability Assessment
Purpose & Capability
The declared purpose (text→image generation) matches the SKILL.md's API usage (image-01 on api.minimaxi.com). However the registry metadata lists no required environment variable or primary credential while the SKILL.md explicitly says a MiniMax API key (sk-cp-xxx format / DMXAPI_API_KEY) is required. That inconsistency suggests the manifest is incomplete or incorrect.
Instruction Scope
The runtime instructions are narrowly scoped to calling the MiniMax image-generation API and include an example POST. They do not instruct reading arbitrary files or other system state. However the SKILL.md does not show how the key is obtained (no explicit env var name in the code example) and the top description mentions DMXAPI_API_KEY—this ambiguity is worth clarifying.
Install Mechanism
No install spec or code files are present (instruction-only), so nothing is written to disk and there is no package download risk.
Credentials
The skill needs an API key to operate, yet the skill manifest metadata does not declare any required environment variables or primary credential. The SKILL.md references a key (format sk-cp-xxx) and mentions DMXAPI_API_KEY — the mismatch is disproportionate and ambiguous. Also be aware that sending prompts/images to an external API can expose sensitive content to the provider.
Persistence & Privilege
The skill does not request permanent presence (always:false) and contains no instructions to modify other skills or system-wide configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dmxapi-image
  3. After installation, invoke the skill by name or use /dmxapi-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
首个版本,支持MiniMax image-01模型文生图
Metadata
Slug dmxapi-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 (image-01) 和其他模型生成图片。支持文生图、图片编辑。当用户需要生成图片、AI绘图时使用此技能。使用方法:用户需要配置 DMXAPI_API_KEY 环境变量。 It is an AI Agent Skill for Claude Code / OpenClaw, with 106 downloads so far.

How do I install MiniMax文生图?

Run "/install dmxapi-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 xiaoliang1319-cloud (@xiaoliang1319-cloud); the current version is v1.0.0.

💬 Comments