add-fal-model
为 V3 API 添加新的 Fal AI 模型。当用户要添加 fal 模型、配置新模型、或提供 fal.ai 模型文档链接时使用此 skill。
Why use this skill?
Learn how to integrate new fal.ai models into your OpenClaw V3 ecosystem. Automate model registration, pricing configuration, and schema setup efficiently.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hexiaochun/add-fal-modelWhat This Skill Does
The add-fal-model skill is a comprehensive developer tool designed to streamline the integration of new Fal AI models into the OpenClaw V3 API ecosystem. It provides an automated, structured framework for developers to register models that automatically become accessible across both the V3 API endpoints and the MCP (Model Context Protocol) interface. By utilizing this skill, you ensure consistent price calculation, schema validation, and execution logic for every new model added to your infrastructure.
Installation
To integrate this skill into your workflow, run the following command in your terminal:
clawhub install openclaw/skills/skills/hexiaochun/add-fal-model
Ensure your development environment is connected to the project source repository at openclaw/skills.
Use Cases
- Integrating new generative AI models (image, video, audio) from fal.ai into your proprietary V3 backend.
- Standardizing complex pricing models across diverse AI services, including fixed-cost, per-second billing, and duration-based tiers.
- Maintaining model registries in
translate_api/app/api/v3/transports/mcp/model_registry.pywithout manual errors. - Onboarding developers to the V3 architecture by enforcing strict input/output media type validation and documentation requirements.
Example Prompts
- "I need to add the new Flux.1-schnell model from fal.ai to our V3 API. Here is the documentation link: https://fal.ai/models/fal-ai/flux/schnell. Please analyze the billing and help me configure the executor."
- "Help me update the model registry for the latest video-to-audio model. It charges per second. What steps should I take in the executor file?"
- "Add a new model to our V3 system. It uses duration-based pricing for video generation. I have the API schema here: [paste schema]."
Tips & Limitations
- Pricing Accuracy: Always verify the billing method directly on the fal.ai Playground page before implementing the executor code. Mistakes here lead to revenue discrepancies.
- Schema Validation: Always define your input/output media types clearly. V3 systems rely on these tags for proper route handling in the
TaskServiceV3architecture. - Unified Architecture: Remember that the executor handles the heavy lifting; ensure that the
SUPPORTED_CHANNELSconstant is updated to include your new model, or it will remain inaccessible to the MCP interface. - Testing: Always test both the REST API endpoint and the MCP
submit_taskfunction after registration to ensure complete integration path verification.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hexiaochun-add-fal-model": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api
Related Skills
水浒传故事小人书
水浒传故事小人书创建。使用 Nano Banana Pro 模型生成手绘卡通风格的水浒传故事信息图。当用户想要创建水浒传故事插画、小人书、信息图时使用此 skill。
style-extractor
从参考剧本或参考素材中提取统一风格锚点(STYLE_BASE),确保全剧视觉一致性。当需要匹配参考风格、提取画风、建立风格基准、生成风格资产包时使用。
视频链接解析
解析视频分享链接,获取无水印视频下载地址。当用户想要下载视频、解析抖音/快手/小红书/B站链接、获取无水印视频时使用此 skill。
vidu-video
使用 Vidu Q3 Pro 模型生成视频。当用户想要文生视频、生成带音频的视频,或提到 vidu 时使用此 skill。
character-creator
创建AI角色的完整流程,包括生成详细角色描述、文生图肖像和多角度参考图。使用即梦4.5模型。当用户要求创建角色、生成人物立绘、制作角色参考图、或需要多角度人物图时使用此技能。