Skip to content
Agent Orchestration
Skill

/minimax-image-skill

Generate images when the user names MiniMax or image-01/image-01-live. Use the default image skill when no provider is named.

BOOST
From plugin
codex-settings
24712 skills
Install
$ npx -y skills add feiskyer/codex-settings --skill minimax-image-skill --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/minimax-image-skill

Context preview

The summary Claude sees to decide when to auto-load this skill.

Generate images when the user names MiniMax or image-01/image-01-live. Use the default image skill when no provider is named.

SKILL.md

minimax-image-skill.SKILL.md
name: minimax-image-skill
description: Generate images when the user names MiniMax or image-01/image-01-live. Use the default image skill when no provider is named.

MiniMax Image Skill

Generate images from a text prompt through the bundled MiniMax Image API helper.

Resolve the skill directory

Resolve the absolute directory containing this `SKILL.md` before running a command and refer to it as `<skill-dir>`. Keep output paths relative to the user's working directory unless the user requests another location.

Requirements

  • Export `MINIMAX_API_KEY` before running the helper.
  • Use Python 3.9 or newer. The helper uses only the Python standard library.

Generate an image

Every option has a working default, so pass only what the request actually constrains:

python3 "<skill-dir>/minimax_image.py" \
  --prompt "A quiet observatory beneath an aurora" \
  --output "observatory.png"

The global endpoint is used by default. Select the China endpoint explicitly when needed:

python3 "<skill-dir>/minimax_image.py" \
  --region china \
  --prompt "A paper-cut landscape at sunrise" \
  --output "landscape.png"

Use `--model image-01-live` when requested. Consult `python3 "<skill-dir>/minimax_image.py" --help` for optional fields and accepted values.

The helper downloads URL responses immediately because generated URLs expire. It also decodes base64 responses and creates output parent directories automatically. For multiple results, it adds a numeric suffix to the output filename.

Safety and failures

  • Never print or persist the API key.
  • Do not call the API until the prompt and local output path pass validation.
  • If the API rejects a field combination, correct an assistant-chosen option when the user's requested result is unchanged; ask when resolving it would change a user constraint. Check for generated output before a bounded retry.
  • Do not claim success unless at least one image was saved locally.
Read more
Ships withcodex-settings

给 Codex CLI 加上深度调研、图片生成、浏览器调试等能力,配好多模型切换,开箱即用。 仓库采用面向个人开发效率的默认配置;你可以整套使用,也可以按需选取 Profiles 或 Skills。使用前请确认模型提供商、权限和外部依赖,并避免提交真实密钥。

Get the whole plugin

Other skills on codex-settings.