fal-image-gen

Community

High-quality AI images with fal.ai.

Authorwernerstrauch
Version1.0.0
Installs0

System Documentation

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" });

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fal-image-gen
Download link: https://github.com/wernerstrauch/wernerstrauch/archive/main.zip#fal-image-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository