✓ Verified ✍️ Content Creation ✓ Enhanced Data

Fal Ai

Generate images, videos, and audio via fal.ai API (FLUX, SDXL, Whisper, etc.).

Rating
4.4 (74 reviews)
Downloads
594 downloads
Version
1.0.0

Overview

Generate images, videos, and audio via fal.ai API (FLUX, SDXL, Whisper, etc.).

Key Features

1

Queue-based async generation (submit → poll → result)

2

Support for 600+ AI models

3

Image generation (FLUX, SDXL, Recraft)

4

Video generation (MiniMax, WAN)

5

Speech-to-text (Whisper)

6

Stdlib-only dependencies (no fal_client required)

Complete Documentation

View Source →

fal.ai API Skill

Generate images, videos, and transcripts using fal.ai's API with support for FLUX, Stable Diffusion, Whisper, and more.

Features

  • Queue-based async generation (submit → poll → result)
  • Support for 600+ AI models
  • Image generation (FLUX, SDXL, Recraft)
  • Video generation (MiniMax, WAN)
  • Speech-to-text (Whisper)
  • Stdlib-only dependencies (no fal_client required)

Setup

  • Get your API key from https://fal.ai/dashboard/keys
  • Configure with:
bash
export FAL_KEY="your-api-key"

Or via clawdbot config:

bash
clawdbot config set skill.fal_api.key YOUR_API_KEY

Usage

Interactive Mode

text
You: Generate a cyberpunk cityscape with FLUX
Klawf: Creates the image and returns the URL

Python Script

python
from fal_api import FalAPI

api = FalAPI()

# Generate and wait
urls = api.generate_and_wait(
    prompt="A serene Japanese garden",
    model="flux-dev"
)
print(urls)

Available Models

ModelEndpointType
flux-schnellfal-ai/flux/schnellImage (fast)
flux-devfal-ai/flux/devImage
flux-profal-ai/flux-pro/v1.1-ultraImage (2K)
fast-sdxlfal-ai/fast-sdxlImage
recraft-v3fal-ai/recraft-v3Image
sd35-largefal-ai/stable-diffusion-v35-largeImage
minimax-videofal-ai/minimax-video/image-to-videoVideo
wan-videofal-ai/wan/v2.1/1.3b/text-to-videoVideo
whisperfal-ai/whisperAudio
For the full list, run:

bash
python3 fal_api.py --list-models

Parameters

ParameterTypeDefaultDescription
promptstrrequiredImage/video description
modelstr"flux-dev"Model name from table above
image_sizestr"landscape_16_9"Preset: square, portrait_4_3, landscape_16_9, etc.
num_imagesint1Number of images to generate
seedintNoneRandom seed for reproducibility

Credits

Built following the krea-api skill pattern. Uses fal.ai's queue-based API for reliable async generation.

Installation

Terminal bash

openclaw install fal-ai
    
Copied!

💻Code Examples

clawdbot config set skill.fal_api.key YOUR_API_KEY

clawdbot-config-set-skillfalapikey-yourapikey.txt
## Usage

### Interactive Mode

print(urls)

printurls.txt
### Available Models

| Model         | Endpoint                              | Type         |
| ------------- | ------------------------------------- | ------------ |
| flux-schnell  | `fal-ai/flux/schnell`                 | Image (fast) |
| flux-dev      | `fal-ai/flux/dev`                     | Image        |
| flux-pro      | `fal-ai/flux-pro/v1.1-ultra`          | Image (2K)   |
| fast-sdxl     | `fal-ai/fast-sdxl`                    | Image        |
| recraft-v3    | `fal-ai/recraft-v3`                   | Image        |
| sd35-large    | `fal-ai/stable-diffusion-v35-large`   | Image        |
| minimax-video | `fal-ai/minimax-video/image-to-video` | Video        |
| wan-video     | `fal-ai/wan/v2.1/1.3b/text-to-video`  | Video        |
| whisper       | `fal-ai/whisper`                      | Audio        |

For the full list, run:
example.py
from fal_api import FalAPI

api = FalAPI()

# Generate and wait
urls = api.generate_and_wait(
    prompt="A serene Japanese garden",
    model="flux-dev"
)
print(urls)

Tags

#image_and-video-generation #api

Quick Info

Category Content Creation
Model Claude 3.5
Complexity One-Click
Author agmmnn
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install fal-ai