image-generation

Generate AI images from text prompts via the z-ai-web-dev-sdk.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/kamal81684/file_system --skill image-generation-kamal81684
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/kamal81684/file_system/tree/main/skills/image-generation
Command: npx skills add https://github.com/kamal81684/file_system --skill image-generation-kamal81684

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires z-ai-web-dev-sdk, and includes scripts (resource) components.

What problem does it solve?

Generate AI-generated images from text prompts using the z-ai-web-dev-sdk to streamline visual content creation.

Core Features & Use Cases

  • Backend-focused image generation: generate images from descriptive prompts for apps, websites, and marketing assets.
  • Multi-size support & base64 output: returns base64-encoded images in multiple resolutions suitable for quick delivery and caching.
  • CLI and scripts: includes a CLI workflow and example scripts to bootstrap visual content generation.

Quick Start

Generate a cat illustration from the prompt "cute cat playing in a garden" and save it as output.png.

Frequently Asked Questions about image-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate base64-encoded images from text prompts in a backend environment?

You generate base64-encoded images from text prompts by running backend scripts that call the z-ai-web-dev-sdk. This process returns base64 strings suitable for direct caching and quick visual content delivery.

Can I generate AI visuals in multiple sizes like 1024x1024 or 1344x768?

Yes, AI visuals can be generated in multiple sizes like 1024x1024 and 1344x768. The backend image generation process supports these resolutions to fit various web app layouts and marketing asset requirements.

What's the best way to automate image generation for marketing assets using a CLI?

Automating image generation for marketing assets is best handled via the included CLI workflow and example scripts. These tools bootstrap visual content generation by processing descriptive text prompts directly from your terminal.

Does z-ai-web-dev-sdk support prompt engineering for scalable image creation?

Yes, z-ai-web-dev-sdk supports prompt engineering for scalable image creation. You apply descriptive text prompts within your backend scripts to generate tailored AI visuals for product designs and websites.

How do I save a base64-encoded AI image output to a file like output.png?

You save a base64-encoded AI image output to a file like output.png by decoding the base64 string returned from the z-ai-web-dev-sdk. The included example scripts demonstrate this workflow for quick local saving.