
Tuzi Image Gen
This is a multi-provider image generation skill that defaults to Tuzi API's nano-banana models but also supports Google, OpenAI, DashScope, and Replicate. It handles text-to-image with reference images, aspect ratios, and quality presets, plus OpenAI gateway dialect switching for compatibility. The setup is thorough, maybe overly so. It blocks execution until you configure API keys and preferences in EXTEND.md, which could frustrate quick tests but prevents half-configured failures. Tuzi offers a solid model lineup including VIP tiers and async polling for slower models like Midjourney. If you need one skill to route between providers without rewriting prompts, this does it, though you'll spend a few minutes on first-run configuration.
- skills.sh installs
- 208
- GitHub stars
- 39
- last updated
- Aug 21, 2026
Install
$ npx -y skills add tuziapi/tuzi-skills --skill tuzi-image-gen --agent claude-codeInstalls into .claude/skills of the current project.
Files
Image Generation (AI SDK)
Multi-provider image generation. Default provider: Tuzi (兔子API, api.tu-zi.com).
Script Directory
Agent Execution:
SKILL_DIR= this SKILL.md file's directory- Script path =
${SKILL_DIR}/scripts/main.ts
Step 0: Load Preferences ⛔ BLOCKING
CRITICAL: This step MUST complete BEFORE any image generation. Do NOT skip or defer.
0.1 Check API Key
Check if the selected provider's API key is available. For Tuzi (default):
# Check env, then .tuzi-skills/.env files
echo "${TUZI_API_KEY:-not_set}"
grep -s TUZI_API_KEY .tuzi-skills/.env "$HOME/.tuzi-skills/.env"
| Result | Action |
|---|---|
| Key found | Continue to Step 0.2 |
| Key NOT found | ⛔ Run API key setup (see references/config/first-time-setup.md → "API Key Setup") → Store key → Then continue |
CRITICAL: If API key is missing, MUST guide user to obtain and store it BEFORE any generation. Generation is BLOCKED until key is configured.
0.2 Check EXTEND.md
Check EXTEND.md existence (priority: project → user):
Sponsors
Details
- Repository
- github.com/tuziapi/tuzi-skills
- Categories
- Backend & APIs, AI & Agent Building, Generative Media
- First seen
- Jun 3, 2026
More from tuziapi/tuzi-skills
All 20- Tuzi Comic191
- Tuzi Video Gen189
- Tuzi Infographic178
- Tuzi Post To Wechat174
- Tuzi Compress Image172
- Tuzi Xhs Images170
- Tuzi Article Illustrator165
- Tuzi Format Markdown165
- Tuzi Markdown To Html164
- Tuzi Url To Markdown164
- Tuzi Cover Image160
- Tuzi Post To X159
- Tuzi Slide Deck159
- Tuzi Copy Polish158
- Tuzi Danger Gemini Web156
- Tuzi Danger X To Markdown156
- Release Skills151
- Tuzi Update Claude Md150
- Tuzi Short Video329