- Home
- MCP servers
- Fal Imagen4
Fal Imagen4
- typescript
0
GitHub Stars
typescript
Language
5 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"pierrunoyt-fal-imagen4-mcp-server": {
"command": "npx",
"args": [
"-y",
"https://github.com/PierrunoYT/fal-imagen4-mcp-server.git"
],
"env": {
"FAL_KEY": "YOUR_API_KEY_HERE"
}
}
}
}You can generate high-quality images using the Imagen 4 Ultra model through the FAL AI platform by running an MCP server. This setup lets you request image generations, receive both remote URLs and locally downloaded copies, and manage results through your MCP client with reliable error handling and portability.
How to use
Use an MCP client to connect to the fal-imagen4 MCP server. You can generate images in real time or enqueue them for asynchronous processing. The server automatically downloads generated images to a local images directory and returns both the local file paths and the original remote URLs for each generated image.
How to install
Prerequisites you need before starting:
- Node.js 18 or higher
- A FAL AI API key
Step by step setup using the universal npx configuration, which works on any machine with Node.js:
{
"mcpServers": {
"fal-imagen4": {
"command": "npx",
"args": [
"-y",
"https://github.com/PierrunoYT/fal-imagen4-mcp-server.git"
],
"env": {
"FAL_KEY": "your-fal-api-key-here"
}
}
}
}
If you prefer a local installation, you can fetch and run the server directly from the repository:
git clone https://github.com/PierrunoYT/fal-imagen4-mcp-server.git
cd fal-imagen4-mcp-server
npm install
npm run build
npm run start
Available tools
imagen4_generate
Generate images in real-time using Imagen 4 Ultra with parameters for prompt, negative_prompt, aspect_ratio, num_images, and seed, returning local paths and remote URLs.
imagen4_generate_async
Queue-based generation for longer or batch requests with progress updates and detailed logging.