Skip to content
Image Generation
Skill

/model-routing

Select fal models by production role when no model is named. Verify current published routing first; static endpoint lists are fallback candidates.

From plugin
fal-ai
27336 skills1 MCP

Claude Code

$ npx -y skills add fal-ai-community/skills --skill model-routing --agent claude-code

SKILL.md

model-routing.SKILL.md
name: model-routing
description: "Select fal models by production role when no model is named. Verify current published routing first; static endpoint lists are fallback candidates."

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.

Read more
@fal-ai-community
Ships withfal-ai

Agent skills for fal.ai. The default execution path is the genmedia CLI: discover an endpoint, inspect its schema, run it, poll status when needed, and download outputs.

27336 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
273
Star history of fal-ai-community/skills on GitHub, a chart by star-history.com

Other skills on fal-ai.

branded-graphics

branded-graphics

Create finished static branded images with original logos, exact copy and verified dimensions. Use for banners, covers, ads and…

character-sheet

character-sheet

Create one character turnaround or expression reference sheet in a single image. Use for front, side and back design views; scene…

cinematography

cinematography

Design cinematic image and video prompts for genmedia. Use this for shot language, camera movement, lighting, lens choices, color…

commercial

commercial

Direct individual commercial product images or clips on fal. Use for product placement, reveal shots and product fidelity; use…

More skills from other plugins.

Questions about model-routing.

Which coding agents can use model-routing?
model-routing installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.