用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill fal-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | fal-api |
| description | Generate images, videos, and audio via fal.ai API (FLUX, SDXL, Whisper, etc.) |
Generate images, videos, and transcripts using fal.ai's API with support for FLUX, Stable Diffusion, Whisper, and more.
fal_client required)export FAL_KEY="your-api-key"
Or via clawdbot config:
clawdbot config set skill.fal_api.key YOUR_API_KEY
You: Generate a cyberpunk cityscape with FLUX
Klawf: Creates the image and returns the URL
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)
| 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:
python3 fal_api.py --list-models
| Parameter | Type | Default | Description |
|---|---|---|---|
| prompt | str | required | Image/video description |
| model | str | "flux-dev" | Model name from table above |
| image_size | str | "landscape_16_9" | Preset: square, portrait_4_3, landscape_16_9, etc. |
| num_images | int | 1 | Number of images to generate |
| seed | int | None | Random seed for reproducibility |
Built following the krea-api skill pattern. Uses fal.ai's queue-based API for reliable async generation.