Call fal.ai model APIs for image generation (text-to-image and image-to-image). Use when a user asks to integrate fal, construct requests, run jobs, handle auth, or return image URLs from fal model APIs.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install falimagegen或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install falimagegen⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/falimagegen/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: fal-image-gen description: "Call fal.ai model APIs for image generation (text-to-image and image-to-image). Use when a user asks to integrate fal, construct requests, run jobs, handle auth, or return image URLs from fal model APIs." ---
Use this skill to implement text-to-image or image-to-image calls against fal model APIs. Prioritize correctness by checking the current docs for the selected model’s required inputs/outputs and authentication requirements.
prompt, optional negative_prompt, size/aspect, steps, seed, safety options.run/submit method with an input object.Use these as templates only. Replace placeholders after checking the docs.
# Pseudocode: replace with the exact fal SDK import + call pattern from docs
import os
# from fal import client # or the current SDK import
MODEL_ID = "<model-id-from-docs>"
input_data = {
"prompt": "a cinematic photo of a red fox",
# "image_url": "https://..." # for image-to-image
# "negative_prompt": "...",
# "width": 1024,
# "height": 1024,
}
# result = client.run(MODEL_ID, input=input_data)
# urls = extract_urls(result)
// Pseudocode: replace with the exact fal SDK import + call pattern from docs
// import { client } from "@fal-ai/client";
const MODEL_ID = "<model-id-from-docs>";
const input = {
prompt: "a cinematic photo of a red fox",
// image_url: "https://..." // for image-to-image
};
// const result = await client.run(MODEL_ID, { input });
// const urls = extractUrls(result);
# Pseudocode: replace endpoint, headers, and payload schema from docs
curl -X POST "https://<fal-api-base>/<model-endpoint>" \
-H "Authorization: Bearer <API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a cinematic photo of a red fox"
}'
references/fal-model-api-checklist.md: Checklist for gathering inputs and validating responses.references/fal-model-examples.md: Example templates for text-to-image, image-to-image, and REST usage.安装 falimagegen 后,可以对 AI 说这些话来触发它
Help me get started with falimagegen
Explains what falimagegen does, walks through the setup, and runs a quick demo based on your current project
Use falimagegen to call fal
Invokes falimagegen with the right parameters and returns the result directly in the conversation
What can I do with falimagegen in my design & creative workflow?
Lists the top use cases for falimagegen, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/falimagegen/ 目录(个人级,所有项目可用),或 .claude/skills/falimagegen/(项目级)。重启 AI 客户端后,用 /falimagegen 主动调用,或让 AI 根据上下文自动发现并使用。
falimagegen 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
falimagegen 可免费安装使用。请查阅仓库了解许可证信息。
Call fal.ai model APIs for image generation (text-to-image and image-to-image). Use when a user asks to integrate fal, construct requests, run jobs, handle auth, or return image URLs from fal model APIs.
falimagegen 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using falimagegen
Identifies repetitive steps in your workflow and sets up falimagegen to handle them automatically