tuziapi avatar

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-code

Installs 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:

  1. SKILL_DIR = this SKILL.md file's directory
  2. 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"
ResultAction
Key foundContinue 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
1databricks avatardatabricksdatabricks/databricks-agent-skillsDatabricks CLI operations: auth, profiles, data exploration, and bundles. Contains up-to-date guidelines for Databricks-related CLI tasks.205skills.sh installs
2harperaa avatarsecurity-headersharperaa/secure-claude-skillsConfigure security headers to defend against clickjacking, XSS, MIME confusion, and SSL stripping attacks. Use this skill when you need to set up Content-Securi203skills.sh installs
3davila7 avatarprotocolsio-integrationdavila7/claude-code-templatesIntegration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publ202skills.sh installs
4harperaa avatarrate-limitingharperaa/secure-claude-skillsImplement rate limiting to prevent brute force attacks, spam, and resource abuse. Use this skill when you need to protect endpoints from automated attacks, prev199skills.sh installs
5harperaa avatarsecure-error-handlingharperaa/secure-claude-skillsImplement secure error handling to prevent information leakage and provide appropriate error responses. Use this skill when you need to handle errors in API rou197skills.sh installs
6cinience avataralicloud-network-esa-testcinience/alicloud-skillsMinimal smoke test for Alibaba Cloud ESA skill. Validate OpenAPI metadata discovery and API inventory generation for product ESA.194skills.sh installs