Xpersona
M

MiniMax image-01 · AI Text-to-Image Tool

CLAWHUB · Unverified

MiniMax image-01 文生图工具。支持中文指令(画一张、生成图片、帮我画)和英文指令(generate an image、draw)。双端支持(中国区/国际区)。Token Plan 每日免费额度:Plus 50张/天、Max 120张/天、Ultra 800张/天。模型:image-01,输出 PNG。

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17bjy1e27pf2pgarsxxz2xh7d83hsjb:mz-minimax-img-gen
  1. Install using `clawhub skill install s17bjy1e27pf2pgarsxxz2xh7d83hsjb:mz-minimax-img-gen` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sweesama/mz-minimax-img-gen before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sweesama-mz-minimax-img-gen/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

42,814 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: minimax-image-gen
displayName: AI Text-to-Image Tool · MiniMax image-01
description: "MiniMax image-01 文生图工具。支持中文指令(画一张、生成图片、帮我画)和英文指令(generate an image、draw)。双端支持(中国区/国际区)。Token Plan 每日免费额度:Plus 50张/天、Max 120张/天、Ultra 800张/天。模型:image-01,输出 PNG。"
allowList:
  - env: MINIMAX_API_KEY   # MiniMax API key for image generation
---
---

# MiniMax image-01 文生图工具

MiniMax image-01 文本生成图像工具。使用 MiniMax 的 image-01 模型从文字描述生成图片。

---

## 安装依赖

```bash
pip install requests
```

---

## 环境变量

```bash
# macOS / Linux
export MINIMAX_API_KEY=your_key

# Windows (PowerShell)
$env:MINIMAX_API_KEY="your_key"
```

**获取 API Key:**
- 中国区:https://platform.minimaxi.com/user-center/basic-information/interface-key
- 国际区:https://www.minimax.io/platform/user-center/basic-information/interface-key

---

## 区域选择

| 区域 | API 地址 | 适用用户 |
|------|---------|---------|
| **中国区** | `https://api.minimax.chat/v1/image_generation` | 中国用户 / MiniMax 中国站 |
| **国际区** | `https://api.minimax.io/v1/image_generation` | 海外用户 |

---

## 快速使用

```bash
# 中国用户
python scripts/image_gen.py "你的图片描述" --region cn

# 国际用户
python scripts/image_gen.py "your prompt" --region global
```

---

## 参数说明

| 参数 | 说明 | 默认值 |
|------|------|--------|
| `prompt` | 图片描述(必填) | — |
| `--region` | 区域:`cn` 或 `global`(必填) | — |
| `--aspect` | 比例:16:9、1:1、4:3、9:16、21:9 | 16:9 |
| `--n` | 生成数量(1-9) | 1 |
| `--no-enhance` | 关闭 Prompt 增强 | 开启 |
| `--output` | 输出目录 | 当前目录 |

---

## 比例参考

| 比例 | 最佳用途 |
|------|---------|
| 16:9 | 横版 / 视频封面 |
| 1:1 | 社交媒体 / 卡片 |
| 9:16 | 手机竖版 / Stories |
| 4:3 | 博客 / 文档 |

---

## Prompt 增强(默认开启)

对于短描述(<8词),自动补充专业摄影/艺术参数:

- 光影:soft natural lighting、cinematic lighting、volumetric light
- 画质:4K、sharp focus、highly detailed
- 风格:photorealistic、detailed linework、professional quality

示例:
- "一只猫" → 自动补充 soft lighting、sharp focus、4K
- "赛博朋克城市" → 自动补充 neon lighting、Blade Runner atmosphere、cinematic

关闭增强:`python image_gen.py "简单描述" --region cn --no-enhance`

---

## 输出

图片保存为 `minimax_gen_1.png`、`minimax_gen_2.png` 等。

---

## 每日额度(Token Plan)

| 套餐 | 每日图片额度 |
|------|-------------|
| Starter | 0(不包含图像生成) |
| **Plus** | **50 张/天** |
| Max | 120 张/天 |
| Ultra | 800 张/天 |

额度每日零点重置,直接消耗 Token Plan 套餐额度,无需额外付费。

---

**作者:** Mzusama
**模型:** MiniMax image-01

README.md

# MiniMax image-01 Text-to-Image Generator

**Skill Name:** minimax-image-gen
**Category:** Image Generation / Text-to-Image
**Author:** Mzusama
**Price:** Free

---

## Short Description
Generate images from text using MiniMax image-01 model. Supports both Global and China API endpoints. 50 free images/day via Token Plan.

## Features
- **Text-to-Image generation** using MiniMax image-01 model
- **Dual-region support**: China (api.minimax.chat) and Global (api.minimax.io)
- **Prompt enhancement**: Automatically enhances short prompts with professional photography/art parameters
- **Aspect ratio control**: 16:9, 1:1, 4:3, 9:16, 21:9, etc.
- **Batch generation**: Generate up to 9 images at once
- **Token Plan compatible**: Uses existing MiniMax Token Plan quota

### Quick Example
```
你:帮我画一张赛博朋克风格的城市夜景
→ Runs: python image_gen.py "cyberpunk city, neon lights..." --region cn

你:generate an image of a red sports car
→ Runs: python image_gen.py "red sports car on sunset highway" --region global
```

### Requirements
- MiniMax API key (get from MiniMax platform)
- Set `MINIMAX_API_KEY` environment variable
- Python with `requests` library

### Region Selection
- `--region cn` for China/MiniMax CN users
- `--region global` for International users

### ⚠️ Daily Quota (Token Plan)
| Plan | Daily Images | Notes |
|------|-------------|-------|
| Starter | 0 | No image generation |
| **Plus** | **50 images/day** | Default, recommended |
| Max | 120 images/day | |
| Ultra | 800 images/day | |

Quota resets daily at midnight. Uses your existing Token Plan balance — no extra cost.

### Model Info
- **Model:** MiniMax image-01
- **Endpoints:** api.minimax.io (Global) | api.minimax.chat (China)

### Author
**Mzusama**

_meta.json

{
  "ownerId": "kn7aa4pxabf5n0nqnc6wzdrfq582ffzd",
  "slug": "mz-minimax-img-gen",
  "version": "1.3.8",
  "publishedAt": 1774372995436
}

references/prompt_templates.md

# MiniMax Image-01 Prompt Templates

## Region & API Configuration

| Region | API Endpoint | Get Key From |
|--------|-------------|-------------|
| **China** | `api.minimax.chat` | platform.minimaxi.com |
| **Global** | `api.minimax.io` | www.minimax.io |

Set region in script: `--region cn` or `--region global`

---

## Style Templates

Replace `{subject}` with your content:

### Photography
```
Professional photography of `{subject}`, soft natural lighting, shallow depth of field, Canon 85mm f/1.4, film grain, warm tones, 4K resolution
```

### Digital Art / Illustration
```
Digital illustration of `{subject}`, vibrant colors, detailed linework, Studio Ghibli inspired, anime style, 4K resolution
```

### Cyberpunk / Sci-Fi
```
Cyberpunk `{subject}`, neon lighting, rain-slicked streets, Blade Runner atmosphere, dark moody tones, cinematic, highly detailed
```

### Product Photography
```
Clean product photography of `{subject}`, white background, soft studio lighting, commercial quality, minimalist, 4K
```

### UI / Interface
```
Modern UI design of `{subject}`, clean interface, Figma style, dark mode, glassmorphism, 4K resolution
```

### 3D Rendering
```
3D render of `{subject}`, octane render, unreal engine, soft shadows, studio lighting, 8K quality, hyperrealistic
```

### Fantasy
```
Fantasy scene of `{subject}`, magical lighting, epic composition, detailed environment, digital art, 4K, masterpiece
```

### Portrait
```
Portrait of `{subject}`, professional photography, soft lighting, natural skin tones, detailed, 4K, studio quality
```

---

## Quality Parameters Reference

| Category | Keywords |
|----------|----------|
| Lighting | cinematic lighting, soft natural light, volumetric light, rim lighting, golden hour |
| Details | intricate details, hyperrealistic, macro detail, sharp focus |
| Mood | moody, ethereal, dramatic, serene, dark and moody |
| Quality | 4K, 8K, masterpiece, professional quality, highly detailed |
| Camera | Canon 85mm, f/1.4, shallow depth of field, wide angle |

---

## Aspect Ratios

| Ratio | Dimensions | Best For |
|-------|-----------|---------|
| 16:9 | 1920×1080 | Landscape, video thumbnails |
| 1:1 | 1024×1024 | Social media, cards |
| 9:16 | 1080×1920 | Mobile, stories, vertical |
| 4:3 | 1024×768 | Blog posts, documentation |
| 21:9 | 2560×1080 | Ultrawide, cinematic |

---

## Usage Examples

```bash
# China user - generate cyberpunk scene
python image_gen.py "neon city at night with flying cars" --region cn --aspect 16:9

# Global user - product photography
python image_gen.py "modern wireless headphones" --region global --aspect 1:1 --n 4

# Disable enhancement (raw prompt)
python image_gen.py "simple geometric pattern" --region cn --no-enhance

# Generate multiple variations
python image_gen.py "fantasy castle landscape" --region global --n 9 --aspect 21:9
```

---

**Author:** Mzusama

CHINESE_LISTING.md

# 水产市场上架内容 — minimax-image-gen

**技能名称:** minimax-image-gen
**分类:** 图像生成 / 文生图
**作者:** Mzusama
**价格:** 免费

---

## 标题
MiniMax image-01 文生图工具 — 集成 Token Plan 额度

## 短描述
使用 MiniMax image-01 模型从文字生成图片。支持中国区和国际区双端。Token Plan 套餐每日 50 张免费额度。

## 完整描述

MiniMax image-01 文生图工具,集成到 OpenClaw。

### 功能亮点
- **文生图**:使用 MiniMax image-01 模型,支持中英文 prompt
- **双端支持**:中国区(api.minimax.chat)和国际区(api.minimax.io)自动适配
- **Prompt 自动增强**:短描述自动补充专业光影、构图、画质参数,效果更佳
- **比例控制**:16:9、1:1、9:16、4:3、21:9 等多种比例
- **批量生成**:一次生成最多 9 张候选图
- **Token Plan 额度**:直接消耗你的 Plus 套餐额度(每日 50 张),无需额外付费

### 快速示例
```
你:帮我画一张赛博朋克风格的城市夜景
→ 自动执行:python image_gen.py "赛博朋克城市夜景..." --region cn --aspect 16:9

你:画一只猫
→ 自动执行:python image_gen.py "a cat..." --region cn
```

### 使用前提
- MiniMax API Key(从 MiniMax 开放平台获取)
- 设置环境变量 `MINIMAX_API_KEY`
- Python 环境(需安装 requests 库)

### 区域选择
使用前需指定区域:
- `--region cn`:中国区用户(MiniMax 中国站)
- `--region global`:国际区用户(MiniMax 国际站)

### 模型信息
- **模型:** MiniMax image-01
- **每日额度:** 50 张(Token Plan Plus 套餐)
- **API 地址:** api.minimax.chat(中国区)| api.minimax.io(国际区)

### ⚠️ 每日额度(Token Plan)
| 套餐 | 每日图片额度 | 备注 |
|------|-------------|------|
| Starter | 0 | 不包含图像生成 |
| **Plus** | **50 张/天** | 推荐,默认套餐 |
| Max | 120 张/天 | |
| Ultra | 800 张/天 | |

额度每日零点重置,直接消耗 Token Plan 套餐额度,无需额外付费。

### 模型信息
- **模型:** MiniMax image-01
- **API 地址:** api.minimax.io(国际区)| api.minimax.chat(中国区)

### 作者
**Mzusama**

Sponsored

Ads related to MiniMax image-01 · AI Text-to-Image Tool and adjacent AI workflows.