Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Generate images via OpenAI, Google, OpenRouter, DashScope, Jimeng, Seedream, and Replicate APIs with batch support.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/providers/zai.md
1# Z.AI GLM-Image23Read when the user picks `--provider zai` or sets `default_model.zai`. Default model is `glm-image`.45## Models67**`glm-image`** (recommended default)89- Text-to-image only in baoyu-imagine (no `--ref` support yet)10- Native `quality` options are `hd` and `standard`; this skill maps `2k → hd` and `normal → standard`11- Recommended sizes: `1280x1280`, `1568x1056`, `1056x1568`, `1472x1088`, `1088x1472`, `1728x960`, `960x1728`12- Custom `--size` requires width/height in `[1024, 2048]`, divisible by `32`, total pixels ≤ `2^22`1314**`cogview-4-250304`** (legacy family, same endpoint)1516- Custom `--size` requires width/height in `[512, 2048]`, divisible by `16`, total pixels ≤ `2^21`1718## Behavior Notes1920- The sync API returns a temporary URL; baoyu-imagine downloads it and writes locally21- `--ref` is not supported for Z.AI in this skill yet22- The sync API returns a single image, so `--n > 1` is rejected2324## Official References2526- [GLM-Image Guide](https://docs.z.ai/guides/image/glm-image)27- [Generate Image API](https://docs.z.ai/api-reference/image/generate-image)28