Model Routing logo

Model Routing

Organization
fal-ai-community
model-routing

Choose default fal.ai endpoint IDs for genmedia production skills. Use this with commercial, marketing, ugc, character-design, cinematography, storytelling, and workflow when the user has not named a specific model.

Overview

Publisherfal-ai-community
Repositoryskills
Skill namemodel-routing
Stars
255
Forks
35
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by fal-ai-community on GitHub. Read the source before you install it.

Installation

Install the Model Routing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fal-ai-community/skills/tree/main/skills/model-routing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Model Routing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Model Routing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Model Routing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Model Routing AI skill do?

Choose default fal.ai endpoint IDs for genmedia production skills. Use this with commercial, marketing, ugc, character-design, cinematography, storytelling, and workflow when the user has not named a specific model.

Why use Model Routing on TypingMind?

Because you install it once and use it with any model. Model Routing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Model Routing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fal-ai-community/skills/tree/main/skills/model-routing. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Model Routing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Model Routing?

As many as you like. As long as a model supports skills, you can use Model Routing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Model Routing AI skill free?

It is published on GitHub by fal-ai-community. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇