generate_image

Generate images from text prompts using Gemini Imagen with aspect ratio control.

3|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/glwlg/X-bot --skill generate-image-glwlg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate_image
Source: https://github.com/glwlg/X-bot/tree/main/skills/builtin/generate_image
Command: npx skills add https://github.com/glwlg/X-bot --skill generate-image-glwlg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-genai, and includes scripts (resource) components.

What problem does it solve?

This skill lets you create AI-generated images from natural language prompts, empowering quick visualizations without needing design tools or artistic skills.

Core Features & Use Cases

  • Text-to-image generation: produce images from descriptive prompts.
  • Aspect ratio control: set the image's width/height using aspect_ratio.
  • Use Case: rapidly generate illustrations for blogs, presentations, or social media content from a brief concept.

Quick Start

Use the generate_image skill to create an image from the prompt "a cyberpunk cat in neon rain" with aspect_ratio "16:9".

Frequently Asked Questions about generate_image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate AI images from text prompts?

You can generate AI images from text prompts by providing a descriptive natural language prompt and an optional aspect_ratio parameter. It uses Gemini Imagen to return an image asset for your creative tasks.

What is text-to-image generation used for?

Text-to-image generation is used for rapidly creating visual content like concept art, product visuals, and marketing illustrations. It allows quick visualizations without needing traditional design tools or artistic skills.

Can I control the aspect ratio of AI generated images?

Yes, you can control the aspect ratio of AI generated images by setting the aspect_ratio parameter. This allows you to specify the width and height for outputs like 16:9 social media content or presentation visuals.

How do I create concept art using Gemini Imagen?

You create concept art using Gemini Imagen by passing a detailed visual description as the prompt parameter. The skill processes your text to generate and return a matching image asset.

Do I need design tools to create marketing illustrations?

No, you do not need traditional design tools to create marketing illustrations. This skill lets you produce visual assets directly from natural language prompts, bypassing the need for manual design software.