技能圖譜SKILLSGROVE
技能圖譜/影片製作/fal-ai-community/skills/model-routing

model-routing

安裝

$npx skills add https://github.com/fal-ai-community/skills --skill model-routing
$git clone --depth 1 https://github.com/fal-ai-community/skills.git /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/model-routing ~/.claude/skills/model-routing
請幫我安裝這個 Agent Skill:https://github.com/fal-ai-community/skills/tree/ca79376d624d244e601f9182fa80b5bf66efec9c/skills/model-routing ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITSelect fal models by production role when no model is named. Verify current published routing first; static endpoint lists are fallback candidates.
以下 SKILL.md 內容轉載自 fal-ai-community/skills(提交 ca79376),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 fal.ai 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Genmedia model routing

Read current published task routing when available. Use the lists below as fallback candidates when a domain skill needs a model. Preserve an explicit user choice. These choices come from dated project-specific guidance. Still run genmedia schema <endpoint_id> --json before execution and genmedia pricing <endpoint_id> --json when cost matters.

Endpoint-first rule:

  1. Use current published routing when available; otherwise pick a candidate below.
  2. Verify it with genmedia models --endpoint_id <endpoint_id> --json.
  3. Inspect it with genmedia schema <endpoint_id> --json.
  4. Check genmedia pricing <endpoint_id> --json when cost matters.
  5. Use text search only if the routed endpoint is missing, deprecated, rejected, or the task needs a model role not covered here.

Do not invent endpoint IDs.

Image generation

Text-heavy image work

Use for infographics, UI mockups, posters, product labels, packaging text, readable signs, book covers, educational diagrams, and any output where text inside the image must be accurate.

  1. openai/gpt-image-2
    • Use quality=high.
    • Prefer 2K or 4K custom image_size when the final must be detailed.
    • Treat as expensive. Do not use it for cheap drafts.
  2. fal-ai/nano-banana-pro
    • Use as the second choice when text is important but GPT Image 2 is not available or the user accepts a lower ceiling.

Cheap and simple models are not acceptable for text-heavy production.

Premium still images

Use for commercial stills, realistic product scenes, editorial photography, cinematic keyframes, and high-quality visual concepts.

  • More realistic output: openai/gpt-image-2.
  • High-quality styled output: openai/gpt-image-2.
  • One step down: fal-ai/nano-banana-pro.
  • Strong cheaper alternative: fal-ai/nano-banana-2.

Fast draft images

Use for quick concepts, mood options, rough composition, and cheap iteration.

  • fal-ai/flux-2/klein/9b

Do not use fast draft output as final commercial delivery unless the user asks.

Image editing

Use for background replacement, relighting, cleanup, object changes, product placement, outfit changes, character edits, and multi-image composition.

  1. fal-ai/nano-banana-pro/edit
  2. openai/gpt-image-2/edit
  3. fal-ai/bytedance/seedream/v5/lite/edit

For product fidelity, also consider:

  • fal-ai/nano-banana-pro
  • fal-ai/nano-banana-2
  • fal-ai/bytedance/seedream/v5/lite/text-to-image
  • fal-ai/nano-banana-2/edit

For consistent characters, use openai/gpt-image-2 first. If editing an existing character image, inspect openai/gpt-image-2/edit.

Video generation

Highest quality video

Use Seedance 2.0 first for final, high-quality video.

  • Text to video: bytedance/seedance-2.0/text-to-video
  • Image to video: bytedance/seedance-2.0/image-to-video
  • Reference to video: bytedance/seedance-2.0/reference-to-video

Fast variants exist for lower latency:

  • bytedance/seedance-2.0/fast/text-to-video
  • bytedance/seedance-2.0/fast/image-to-video
  • bytedance/seedance-2.0/fast/reference-to-video

Fast or lower-cost video

Use Grok Imagine Video for fast, lower-cost motion previews and economical video generation.

  • Text to video: xai/grok-imagine-video/text-to-video
  • Image to video: xai/grok-imagine-video/image-to-video
  • Video edit: xai/grok-imagine-video/edit-video

Multi-shot storytelling

Use in this order:

  1. bytedance/seedance-2.0/text-to-video
  2. bytedance/seedance-2.0/image-to-video
  3. bytedance/seedance-2.0/reference-to-video
  4. fal-ai/kling-video/v3/pro/text-to-video
  5. fal-ai/kling-video/v3/pro/image-to-video
  6. alibaba/happy-horse/text-to-video
  7. alibaba/happy-horse/image-to-video

Use Kling v3 when its multi-prompt, element, or custom element controls match the requested shot plan. Use Happy Horse after Seedance and Kling unless the user specifically asks for it.

Native audio and lip-sync

Use for talking avatars, speech-driven face motion, product spokespersons, UGC-style presenters, and lip-sync from an image plus audio or text.

  1. veed/fabric-1.0
    • Image plus uploaded audio.
  2. veed/fabric-1.0/text
    • Image plus text speech.
  3. fal-ai/creatify/aurora
    • Avatar video from image plus audio, with optional visual direction.

Campaign and UGC routing

Use these when the user asks for campaign-level marketing or creator-style social content.

Marketing campaign assets

  • Campaign key art, landing heroes, posters, text-heavy ads, app visuals, and exact-copy layouts: openai/gpt-image-2 at quality=high.
  • Premium still variants: openai/gpt-image-2, then fal-ai/nano-banana-pro, then fal-ai/nano-banana-2.
  • Edits from product, logo, UI, or lifestyle references: fal-ai/nano-banana-pro/edit, then openai/gpt-image-2/edit.
  • Fast variant exploration: fal-ai/flux-2/klein/9b.
  • Product reveal or social campaign video: bytedance/seedance-2.0/image-to-video.
  • Text-to-video campaign concept: bytedance/seedance-2.0/text-to-video.

UGC and creator ads

  • Portrait plus audio talking head: veed/fabric-1.0.
  • Portrait plus text talking head: veed/fabric-1.0/text.
  • Avatar with visual direction: fal-ai/creatify/aurora.
  • Existing footage with new speech: fal-ai/sync-lipsync/v2.
  • Product b-roll: bytedance/seedance-2.0/image-to-video.
  • Fast b-roll draft: xai/grok-imagine-video/image-to-video.

Utility endpoints

Workflow utility endpoint IDs live in the fal-workflow skill reference: fal-workflow/references/utility-endpoints.md.

Utility endpoints are allowed to be explicit because they are deterministic tools, not creative model choices. Always inspect schema before use.

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 fal.ai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.