Back to MCP Tools
fal.ai
by fal.aiImage Generation
Image generation MCP tool for AI agents. Generate high-quality images using state-of-the-art diffusion models.
Generate Image
Usage Example
This code updates automatically as you change the prompt below.
import { generateImage } from 'gx402'
const result = await generateImage({
prompt: "A serene landscape at sunset",
model: "fal-ai/nano-banana-pro"
})
console.log(result.imageUrl)Installation
npm install gx402yarn add gx402Features
- •High-quality image generation using advanced AI models
- •Fast inference with optimized pipelines
- •Support for various image sizes and styles
- •Built-in error handling and retry logic