image-generation

Generates base64 encoded images from text prompts using the z-ai-web-dev-sdk and a CLI tool.

25|17|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/QvvvvvvQ/skills_leaks --skill image-generation-qvvvvvvq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/QvvvvvvQ/skills_leaks/tree/main/GLM/skills/image-generation
Command: npx skills add https://github.com/QvvvvvvQ/skills_leaks --skill image-generation-qvvvvvvq

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables the creation of high-quality images from simple text descriptions, automating visual content generation for various applications.

Core Features & Use Cases

  • Text-to-Image Generation: Generate images based on detailed text prompts.
  • Multiple Image Sizes: Supports various aspect ratios for different use cases (square, portrait, landscape).
  • CLI Tool: Quickly generate images directly from the command line.
  • Use Case: Generate a hero banner for a website, create illustrations for a blog post, or design social media graphics.

Quick Start

Use the image-generation skill to create an image of 'A cute cat playing in the garden' and save it as 'cat_image.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 images from text descriptions using a CLI tool?

To generate images from text descriptions, you can use this CLI tool to process detailed prompts and output base64 encoded visual content. It automates the creation of artwork and design assets directly from the command line.

Can I create AI art in different sizes for website banners and social graphics?

Yes, you can create AI art in multiple sizes. The tool supports various aspect ratios including square, portrait, and landscape to visually accommodate website banners, blog illustrations, and social graphics.

How does text-to-image generation work with the z-ai-web-dev-sdk?

Text-to-image generation works by implementing the z-ai-web-dev-sdk to translate text descriptions into base64 encoded images. This mechanism facilitates the rapid creation of visual content and design assets.

What is the best way to automate visual content generation for web design assets?

The best way to automate visual content generation is using a CLI tool that converts text prompts into base64 encoded images. This approach streamlines the creation of web design assets like hero banners.

Do I need the z-ai-web-dev-sdk to run this text-to-image generation tool?

Yes, you need the z-ai-web-dev-sdk installed. This dependency implements the core AI image generation capabilities required to process text descriptions and output base64 encoded visual content.

What are the limitations of generating base64 encoded images from text prompts?

The limitation of generating base64 encoded images from text prompts is that outputs are returned as encoded strings rather than direct image files. You must decode the base64 data to save and view the final visual content.