image-generation

Generate base64-encoded images from text prompts using the z-ai-web-dev-sdk.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill enables building AI image generation capabilities using the z-ai-web-dev-sdk, allowing creation of images from text prompts, supporting multiple output sizes and returning base64-encoded images, with a CLI for quick generation.

Core Features & Use Cases

  • Generate images from natural language prompts using the z-ai-web-dev-sdk on the backend.
  • Support multiple output sizes (1024x1024, 768x1344, 1344x768, etc.) and base64-encoded image outputs.
  • Include a CLI tool and example scripts to quickly generate images in various workflows (design, marketing, product visuals).

Quick Start

Run a prompt through the SDK to generate an image and save the base64 result to a file.

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 a backend application?

To generate images from text prompts in a backend application, use the z-ai-web-dev-sdk to process natural language inputs and return base64-encoded images suitable for automated workflows.

Can I customize the output size when generating text-to-image content?

Yes, text-to-image generation supports multiple output sizes including 1024x1024, 768x1344, and 1344x768, allowing you to tailor image dimensions for design or marketing visuals.

Do I need the z-ai-web-dev-sdk to use the image generation CLI tool?

Yes, the z-ai-web-dev-sdk is required as a dependency to run the image generation CLI tool and execute the provided sample scripts for automated visual content creation.

What is the best way to automate image creation for marketing workflows?

The best way to automate image creation for marketing workflows is using a CLI tool with sample scripts that converts text prompts into base64-encoded images via backend SDKs.

Why are generated images returned as base64-encoded strings?

Generated images are returned as base64-encoded strings to facilitate immediate backend processing, secure transmission, and direct file saving without needing separate binary storage infrastructure.