image-generation

Generate images from text prompts and return base64-encoded data.

Updated Jun 1, 2026
One-click install
npx skills add https://github.com/atro2829-hub/APPLE-NET-NEW --skill image-generation-atro2829-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/atro2829-hub/APPLE-NET-NEW/tree/main/skills/image-generation
Command: npx skills add https://github.com/atro2829-hub/APPLE-NET-NEW --skill image-generation-atro2829-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you generate images from text prompts without hand-building graphics workflows, making it easier to create visual content, marketing assets, and product illustrations programmatically.

Core Features & Use Cases

  • Prompt-to-Image Generation: Create images from descriptive text using the z-ai-web-dev-sdk.
  • Multiple Output Sizes: Produce square, portrait, landscape, and wide formats for different delivery channels.
  • Backend Integration: Use the SDK in server-side code for APIs, services, batch jobs, and CLI-based asset creation.
  • Use Case: A developer can generate a website hero image, a blog illustration, or a product mockup directly from an application workflow.

Quick Start

Ask the Skill to generate a base64-encoded image for a clear prompt and save it to a file using the supported output size you need.

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 using z-ai-web-dev-sdk?

To generate images from text prompts, the Skill uses z-ai-web-dev-sdk to process descriptive text and returns base64-encoded image data for saving or further processing. It supports backend automation, CLI workflows, and batch asset production.

What image output sizes are supported for text to image generation?

Supported image output sizes for text to image generation include square, portrait, landscape, and wide formats. The Skill applies size validation to ensure outputs match the required delivery channel specifications.

Can I use base64-encoded AI images in CLI workflows and batch asset production?

Yes, you can use base64-encoded AI images in CLI workflows and batch asset production. The Skill decodes base64 content into image files, enabling programmatic creation of visual assets directly from application workflows.

Does this text to image Skill work for backend API endpoints and server-side integration?

This text to image Skill works for backend API endpoints and server-side integration by utilizing z-ai-web-dev-sdk calls within your application to programmatically generate website hero images, blog illustrations, or product mockups.

How do I decode base64 image content into image files after prompt-to-image generation?

After prompt-to-image generation, you decode base64 image content into image files by passing the base64-encoded data returned from the z-ai-web-dev-sdk to your file saving logic for local storage or further processing.