fal-image-gen

Generate images from text prompts using fal.ai's Nano Banana Pro model.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables generating high-quality AI images using fal.ai's Nano Banana Pro model. It supports multiple aspect ratios, resolutions up to 4K, and formats, making image generation fast and accessible without a designer.

Core Features & Use Cases

  • API-based image generation: Generate images from text prompts.
  • Flexible output: Control aspect ratio, resolution, and file format.
  • Programmatic & CLI usage: Use the provided Node.js script or library call.
  • Use Case: Create 4 variations of a product hero image for a marketing page.

Quick Start

Set the FALAI_KEY environment variable (or FAL_KEY) and run:

  • CLI: node scripts/generate_image.js "A sunset over mountains" -o sunset.png --aspect-ratio 16:9 --resolution 2K --format png
  • Programmatic: import { generateImage } from "./scripts/generate_image.js"; const result = await generateImage({ prompt: "A sunset over mountains", outputPath: "sunset.png", aspectRatio: "16:9", resolution: "2K", outputFormat: "png" });