Model Routingのロゴ

Model Routing

組織
fal-ai-community
model-routing

genmedia制作スキルで使うfal.aiのデフォルトエンドポイントIDを選択します。ユーザーが特定のモデルを指定していない場合に、commercial、marketing、ugc、character-design、cinematography、storytelling、workflowと併用してください。

Add to TypingMind

概要

公開者fal-ai-community
リポジトリskills
スキル名model-routing
スター
255
フォーク
35
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    fal-ai-communityがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Model Routing」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fal-ai-community/skills/tree/main/skills/model-routing
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでModel Routingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にModel Routingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Model Routingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Genmedia model routing

Use these endpoint defaults when a domain skill needs a model. These choices come from 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. Pick the endpoint ID from this skill.
  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 workflow skill reference: 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.

よくある質問

AIスキル「Model Routing」では何ができますか?

genmedia制作スキルで使うfal.aiのデフォルトエンドポイントIDを選択します。ユーザーが特定のモデルを指定していない場合に、commercial、marketing、ugc、character-design、cinematography、storytelling、workflowと併用してください。

TypingMindでModel Routingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Model Routingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにModel Routingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fal-ai-community/skills/tree/main/skills/model-routingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Model Routingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Model Routingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもModel Routingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Model Routing」は無料ですか?

fal-ai-communityがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇