image-generation

Generate images from text prompts with configurable sizes and base64 output.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Pritahi/chronos-watches --skill image-generation-pritahi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/Pritahi/chronos-watches/tree/main/skills/image-generation
Command: npx skills add https://github.com/Pritahi/chronos-watches --skill image-generation-pritahi

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The Image Generation skill enables developers to create AI-generated visuals by inputting descriptive text prompts, accelerating design, prototyping, and marketing workflows.

Core Features & Use Cases

  • Generates images from natural language prompts using the z-ai-web-dev-sdk with robust back-end support.
  • Supports multiple output sizes (1024x1024, 768x1344, 864x1152, 1344x768, 1152x864, 1440x720, 720x1440) and returns base64-encoded results for easy saving.
  • Provides a CLI interface for quick image generation and a production-ready backend integration pattern.

Quick Start

Provide a descriptive prompt and size to generate an image and save the result as a 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 prompts in my backend?

To generate images from text prompts in your backend, use this Skill's z-ai-web-dev-sdk integration. It automates the image generation process and returns base64-encoded results for direct backend handling and saving.

What image sizes are supported by the z-ai-web-dev-sdk for text to image generation?

The z-ai-web-dev-sdk supports multiple image generation sizes including 1024x1024, 768x1344, 864x1152, 1344x768, 1152x864, 1440x720, and 720x1440, allowing flexible outputs for various design and marketing formats.

Does this tool handle base64 output for AI generated images?

Yes, the tool handles base64 output for AI generated images. The backend integration pattern processes your text prompts and returns base64-encoded results, making it straightforward to save the generated visual content.

What is the best way to integrate AI image generation into a web application?

The best way to integrate AI image generation into a web app is using the z-ai-web-dev-sdk. This Skill provides a production-ready backend integration pattern with built-in error handling for robust visual content creation workflows.

Are there limitations when generating multiple visual assets from text prompts?

While generating multiple visual assets from text prompts, limitations include fixed size options and base64 output handling. The Skill includes error handling to manage backend usage constraints during bulk generation workflows.