mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-22 10:19:46 +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`.
1.1 KiB
1.1 KiB
Z.AI GLM-Image
Read when the user picks --provider zai or sets default_model.zai. Default model is glm-image.
Models
glm-image (recommended default)
- Text-to-image only in baoyu-image-gen (no
--refsupport yet) - Native
qualityoptions arehdandstandard; this skill maps2k → hdandnormal → standard - Recommended sizes:
1280x1280,1568x1056,1056x1568,1472x1088,1088x1472,1728x960,960x1728 - Custom
--sizerequires width/height in[1024, 2048], divisible by32, total pixels ≤2^22
cogview-4-250304 (legacy family, same endpoint)
- Custom
--sizerequires width/height in[512, 2048], divisible by16, total pixels ≤2^21
Behavior Notes
- The sync API returns a temporary URL; baoyu-image-gen downloads it and writes locally
--refis not supported for Z.AI in this skill yet- The sync API returns a single image, so
--n > 1is rejected