Files
baoyu-skills/skills/baoyu-image-gen/references/providers/minimax.md
T
Jim Liu 宝玉 c3cbce9ce3 feat\!: rename baoyu-imagine→baoyu-image-gen, baoyu-image-cards→baoyu-xhs-images (v2.0.0)
BREAKING CHANGE: removed `baoyu-imagine` and `baoyu-image-cards`. All
functionality now lives under `baoyu-image-gen` and `baoyu-xhs-images`
respectively. Cross-skill `## Image Generation Tools` examples updated
across baoyu-article-illustrator, baoyu-comic, baoyu-cover-image,
baoyu-infographic, and baoyu-slide-deck.

Migration: existing `~/.baoyu-skills/baoyu-imagine/EXTEND.md` configs are
auto-renamed to `…/baoyu-image-gen/EXTEND.md` on first run via the
legacy-path resolver in `scripts/main.ts`.
2026-05-24 18:35:05 -05:00

1.2 KiB

MiniMax

Read when the user picks --provider minimax or sets default_model.minimax. Default model is image-01.

Models

image-01 (recommended default)

  • Supports text-to-image and subject-reference image generation
  • Supports official aspect_ratio values: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9
  • Supports documented custom width / height via --size <WxH>
  • Both width and height must be in [512, 2048] and divisible by 8

image-01-live — lower-latency variant

  • Use --ar for sizing; MiniMax documents custom width/height only for image-01

Subject Reference

  • --ref files are sent as MiniMax subject_reference
  • subject_reference[].type is currently character
  • Official docs say image_file supports public URLs or Base64 Data URLs; baoyu-image-gen sends local refs as Data URLs
  • Recommended refs: front-facing portraits, JPG/JPEG/PNG, under 10MB

Official References