image-generation

Generate images and videos from text prompts using Gemini, fal.ai, and Grok Imagine.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/a0972199950/lazy-cv --skill image-generation-a0972199950
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-generation
Source: https://github.com/a0972199950/lazy-cv/tree/main/.agents/skills/image-generation
Command: npx skills add https://github.com/a0972199950/lazy-cv --skill image-generation-a0972199950

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation of images and videos from text prompts, offering a fast and cost-effective way to generate visual content.

Core Features & Use Cases

  • Image Generation: Create high-quality images using Gemini or budget-friendly options with fal.ai. Supports various aspect ratios and quality settings.
  • Video Generation: Produce videos from text or existing images using Grok Imagine or fal.ai. Customizable duration and aspect ratio.
  • Use Case: Generate a series of social media posts with unique images for a marketing campaign, or create a short animated video explaining a product.

Quick Start

Generate a poster image of a futuristic city at sunset and save it to /tmp/my-image.jpg.

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 AI?

You can generate images from text prompts by utilizing models like Gemini or fal.ai FLUX.2. This skill processes your text input to produce high-quality images while allowing you to control aspect ratio and quality settings.

Can I create videos from existing images or text?

Yes, you can create videos from text or existing images using xAI Grok Imagine or fal.ai. The generation process supports customizable video durations and aspect ratios for your specific visual content needs.

Does this skill support image editing with reference assets?

Yes, image editing with reference assets is fully supported. You can provide existing images as reference inputs to guide the AI in modifying and generating new visual content based on your provided assets.

What is the best way to balance cost and speed for AI image generation?

To balance cost and speed, use fal.ai for budget-friendly image generation or Gemini for high-quality outputs. The skill provides specific options to adjust cost-effectiveness, speed, and overall visual quality.

Do I need an API key to use fal.ai and Grok Imagine for video generation?

Yes, you need API keys configured in a dotenv environment to authenticate with fal.ai and xAI Grok Imagine. This environment setup allows the scripts to securely access the video generation models.