image-generation

Generate AI poster images via Gemini or fal.ai with configurable aspect ratios.

4|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/aviz85/ai-music-video-maker --skill image-generation-aviz85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/aviz85/ai-music-video-maker/tree/main/skills/image-generation
Command: npx skills add https://github.com/aviz85/ai-music-video-maker --skill image-generation-aviz85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @google/genai, @fal-ai/client, mime, dotenv, and includes scripts (resource) components.

What problem does it solve?

Generate AI-generated posters and visuals quickly using Gemini (default) or fal.ai FLUX.2 klein 4B (cheap), reducing design time and cost.

Core Features & Use Cases

  • Provider choice: switch between Gemini (high quality) and fal.ai FLUX.2 klein 4B (cheap mode) to balance quality and cost.
  • Configurable output: control aspect ratio with --aspect, output quality with --quality, and destination with --destination; optional reference images via --assets for editing.
  • Use case: Create a horizontal 3:2 poster of a futuristic city and save to a specified path for immediate use.

Quick Start

Run the image-generation script with your prompt and a destination path to generate and save the poster.

Frequently Asked Questions about image-generation

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

FAQPage Schema
How do I generate AI poster images using Gemini or fal.ai?

You can generate AI poster images by running the image-generation script with a text prompt and a destination path. It uses Gemini by default or fal.ai FLUX.2 klein 4B for a cheaper mode, allowing you to balance quality and cost.

Can I control aspect ratio and output quality for social media banners?

Yes, you can control the aspect ratio and output quality for social media banners using the --aspect and --quality flags. This ensures your AI-generated visuals meet specific format requirements for various platforms.

Do I need API keys to use the fal.ai and Gemini image generation?

Yes, you need API keys for either Gemini or fal.ai to generate images. The script requires these keys to authenticate requests and process your prompts into high-quality or cost-effective poster visuals.

What's the best way to edit an existing visual using AI image generation?

The best way to edit existing visuals is by providing optional reference images via the --assets input. This allows the AI to use your reference assets to modify and generate new poster variations.

Does the Gemini image generation support print-ready posters?

Yes, the Gemini image generation supports print-ready posters. You can configure the output quality and aspect ratio to meet print specifications, ensuring high resolution for physical media.