minimax-image

使用MiniMax图像生成API进行文生图。支持文字描述生成图片,适用于PPT配图、封面图、内容配图等场景。触发词:生成图片、文生图、创建图片、MiniMax图片。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "minimax-image" with this command: npx skills add taoj2025/minimax-image

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/

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

MiniMax Vision Captcha

使用MiniMax视觉模型识别图片中的验证码、滑块位置、文字内容等。适用于需要AI视觉分析的场景,如微信验证码识别、网页截图分析、图片文字提取。当需要识别图片内容、分析验证码、提取截图信息时使用此技能。

Registry SourceRecently Updated
1.5K0Profile unavailable
General

MiniMax MCP Search

Perform real-time web searches and analyze images using MiniMax MCP with input prompts and flexible image sources.

Registry SourceRecently Updated
1.1K0Profile unavailable
General

Chinese LLM Router

Route OpenClaw chats to top Chinese LLMs with smart model selection, auto-fallback, cost tracking, and unified OpenAI-compatible API access.

Registry SourceRecently Updated
1.1K0Profile unavailable
General

Music Creator

AI 音乐创作全流程技能。根据主题和风格创作歌词,通过 MiniMax AI 生成音乐和封面图,Whisper ASR + Aeneas 强制对齐精准校准歌词时序,生成标准 LRC 歌词文件和带歌词同步的播放页面并部署。触发词:创作歌曲、写首歌、生成音乐、AI 音乐、music creator、帮我写首歌、创作音...

Registry SourceRecently Updated
1690Profile unavailable