image-generation

Generate images from text descriptions using the z-ai-web-dev-sdk.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill image-generation-cao-r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/Cao-R/SamrtEmailAssistantAgents/tree/main/skills/image-generation
Command: npx skills add https://github.com/Cao-R/SamrtEmailAssistantAgents --skill image-generation-cao-r

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of images from text descriptions, solving the need for quick and easy image generation for applications, design, and content creation.

Core Features & Use Cases

  • AI-Driven Image Generation: Convert text descriptions into visual images.
  • Custom Image Sizes: Support for various image dimensions.
  • Base64 Encoded Images: Provide images as base64 strings for easy integration.
  • CLI Tool: Quick image generation via command line interface.
  • Use Case: Generate a cover image for a blog post with the description "A serene mountain landscape at sunset, 1440x720 resolution."

Quick Start

Use the image-generation skill to create an image from the text "A modern office space" with the size "1024x1024".

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?

You can generate images from text descriptions by using the CLI tool to input your text prompts. The Skill processes these descriptions to output high-quality visual images suitable for design assets and content creation.

Can I get base64 encoded images for easy integration into my applications?

Yes, the Skill provides generated images as base64 encoded strings. This format allows for easy integration of AI-generated visual content directly into your web applications or software projects without separate image file management.

Does this text to image tool support custom image sizes and resolutions?

Yes, the text to image tool supports custom image sizes and resolutions. You can specify exact dimensions, such as 1440x720 or 1024x1024, to ensure the generated visual content meets your specific design requirements.

Do I need z-ai-web-dev-sdk to use this AI image generation Skill?

Yes, you need the z-ai-web-dev-sdk installed to use this AI image generation Skill. It serves as the core dependency for processing text descriptions and generating the corresponding high-quality visual images.

What is the best way to create a cover image for a blog post from text?

The best way to create a cover image from text is using this AI-driven image generation Skill. You simply input a descriptive text prompt like "A serene mountain landscape at sunset" and specify your desired resolution to get the visual asset.

Are there limitations when using base64 encoding for large custom image sizes?

Base64 encoding increases the payload size of generated images by about 33%. While the tool supports custom image sizes, be mindful that larger dimensions will produce significantly longer base64 strings, potentially impacting application memory and performance.