mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-30 21:59:47 +08:00
c3cbce9ce3
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`.
30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# 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
|
|
|
|
- [Image Generation Guide](https://platform.minimaxi.com/docs/guides/image-generation)
|
|
- [Text-to-Image API](https://platform.minimaxi.com/docs/api-reference/image-generation-t2i)
|
|
- [Image-to-Image API](https://platform.minimaxi.com/docs/api-reference/image-generation-i2i)
|