fal-model-guide
Complete fal.ai model selection system. PROACTIVELY activate for: (1) Choosing image generation models (FLUX, SDXL), (2) Choosing video models (Kling, Sora, LTX), (3) Choosing audio models (Whisper, ElevenLabs), (4) Model quality vs speed comparison, (5) Cost optimization by model tier, (6) 3D generation models, (7) Model-specific parameters, (8) Development vs production model selection. Provides: Model comparison tables, decision trees, pricing tiers, performance benchmarks. Ensures optimal model selection for quality, speed, and cost.
What this skill does
## Quick Reference
| Category | Fast/Cheap | Balanced | Best Quality |
|----------|------------|----------|--------------|
| Image | FLUX Schnell | FLUX.1 Dev | FLUX.2 Pro |
| Video | Runway Turbo | LTX-2 Pro | Kling 2.6 Pro |
| Audio STT | Whisper Turbo | Whisper | Whisper Large v3 |
| Audio TTS | Kokoro | XTTS | ElevenLabs |
| FLUX Model | Endpoint | Steps | Use Case |
|------------|----------|-------|----------|
| FLUX.2 Pro | `fal-ai/flux-2-pro` | 28 | Production |
| FLUX.1 Dev | `fal-ai/flux/dev` | 28 | High quality |
| FLUX Schnell | `fal-ai/flux/schnell` | 4 | Fast iteration |
| Video Model | Duration | Audio | Speed |
|-------------|----------|-------|-------|
| Kling 2.6 Pro | 5-10s | Yes | Slow |
| LTX-2 Pro | 5s | Yes | Medium |
| Runway Turbo | 5-10s | No | Fast |
## When to Use This Skill
Use for **model selection decisions**:
- Comparing FLUX vs SDXL for image generation
- Choosing video models by quality tier
- Optimizing costs with appropriate model selection
- Understanding model-specific parameters
- Building production vs development pipelines
**Related skills:**
- For text-to-image: see `fal-text-to-image`
- For text-to-video: see `fal-text-to-video`
- For audio models: see `fal-audio`
---
# fal.ai Model Selection Guide
Comprehensive guide to selecting the right fal.ai model for your use case.
## Image Generation Models
### FLUX Family
| Model | Endpoint | Best For | Speed | Quality | Cost |
|-------|----------|----------|-------|---------|------|
| FLUX.2 [pro] | `fal-ai/flux-2-pro` | Production, best quality | Medium | Highest | $$$ |
| FLUX.1 [dev] | `fal-ai/flux/dev` | High quality, open-source | Medium | High | $$ |
| FLUX Schnell | `fal-ai/flux/schnell` | Fast iteration | Fast | Good | $ |
| FLUX LoRA | `fal-ai/flux-lora` | Custom trained styles | Medium | High | $$ |
| FLUX Realism | `fal-ai/flux-realism` | Photorealistic images | Medium | High | $$ |
**FLUX.2 Pro** - Latest and best quality
```typescript
const result = await fal.subscribe("fal-ai/flux-2-pro", {
input: {
prompt: "Professional product photo of a watch",
image_size: "square_hd",
num_inference_steps: 28,
guidance_scale: 3.5
}
});
```
**FLUX.1 Dev** - Best open-source option
```typescript
const result = await fal.subscribe("fal-ai/flux/dev", {
input: {
prompt: "A serene mountain landscape",
image_size: "landscape_16_9",
num_inference_steps: 28
}
});
```
**FLUX Schnell** - Fast 4-step generation
```typescript
const result = await fal.subscribe("fal-ai/flux/schnell", {
input: {
prompt: "Quick concept sketch",
num_inference_steps: 4 // Optimized for 4 steps
}
});
```
### Stable Diffusion Models
| Model | Endpoint | Best For |
|-------|----------|----------|
| Fast SDXL | `fal-ai/fast-sdxl` | Speed, lower cost |
| SDXL | `fal-ai/stable-diffusion-xl` | Classic SDXL |
| SD 1.5 | `fal-ai/stable-diffusion-v15` | Legacy compatibility |
| SDXL Turbo | `fal-ai/sdxl-turbo` | Ultra-fast |
```typescript
// Fast SDXL - Good balance of speed and quality
const result = await fal.subscribe("fal-ai/fast-sdxl", {
input: {
prompt: "A colorful abstract painting",
image_size: "square_hd",
num_inference_steps: 25
}
});
```
### Specialized Image Models
| Model | Endpoint | Use Case |
|-------|----------|----------|
| Recraft V3 | `fal-ai/recraft-v3` | Design assets, vectors |
| Ideogram | `fal-ai/ideogram` | Text in images |
| Playground v2.5 | `fal-ai/playground-v25` | Creative/artistic |
| Kandinsky 3 | `fal-ai/kandinsky-3` | Russian model |
### Image-to-Image Models
| Model | Endpoint | Use Case |
|-------|----------|----------|
| FLUX i2i | `fal-ai/flux/dev/image-to-image` | Transform images |
| FLUX Inpaint | `fal-ai/flux/dev/inpainting` | Edit regions |
| FLUX ControlNet | `fal-ai/flux/dev/controlnet` | Guided generation |
| IP-Adapter | `fal-ai/ip-adapter-flux` | Style transfer |
```typescript
// Image-to-Image transformation
const result = await fal.subscribe("fal-ai/flux/dev/image-to-image", {
input: {
image_url: "https://example.com/photo.jpg",
prompt: "Transform into watercolor painting style",
strength: 0.75 // 0-1, how much to change
}
});
// Inpainting (edit specific regions)
const result = await fal.subscribe("fal-ai/flux/dev/inpainting", {
input: {
image_url: "https://example.com/photo.jpg",
mask_url: "https://example.com/mask.png",
prompt: "A golden retriever"
}
});
// ControlNet (structural guidance)
const result = await fal.subscribe("fal-ai/flux/dev/controlnet", {
input: {
prompt: "Modern house design",
control_image_url: "https://example.com/edges.png",
controlnet_conditioning_scale: 0.8
}
});
```
## Video Generation Models
### Text-to-Video
| Model | Endpoint | Quality | Duration | Audio | Best For |
|-------|----------|---------|----------|-------|----------|
| Kling 2.6 Pro | `fal-ai/kling-video/v2.6/pro` | Highest | 5-10s | Native | Cinematic |
| Sora 2 | `fal-ai/sora` | Highest | 5-20s | Optional | Advanced |
| LTX-2 Pro | `fal-ai/ltx-video-2-pro` | High | 5s | Yes | Fast HQ |
| Runway Gen-3 | `fal-ai/runway/gen3/turbo` | High | 5-10s | No | Fast |
| Luma | `fal-ai/luma-dream-machine` | Good | 5s | No | Creative |
| CogVideoX | `fal-ai/cogvideox` | Good | 6s | No | Open source |
**Kling 2.6 Pro** - Best overall quality
```typescript
const result = await fal.subscribe("fal-ai/kling-video/v2.6/pro", {
input: {
prompt: "A majestic eagle soaring over mountains at golden hour",
duration: 5,
aspect_ratio: "16:9",
negative_prompt: "blurry, distorted",
cfg_scale: 0.5
}
});
```
**LTX-2 Pro** - Fast with audio
```typescript
const result = await fal.subscribe("fal-ai/ltx-video-2-pro", {
input: {
prompt: "Ocean waves crashing on rocks",
resolution: "720p",
enable_audio: true
}
});
```
### Image-to-Video
| Model | Endpoint | Best For |
|-------|----------|----------|
| MiniMax Hailuo | `fal-ai/minimax/video-01` | Image animation |
| Kling i2v | `fal-ai/kling-video/v2.6/pro/image-to-video` | HQ animation |
| Luma i2v | `fal-ai/luma-dream-machine` | Creative |
| Runway i2v | `fal-ai/runway/gen3/turbo/image-to-video` | Fast |
```typescript
// Animate a still image
const result = await fal.subscribe("fal-ai/minimax/video-01", {
input: {
image_url: "https://example.com/portrait.jpg",
prompt: "Person slowly turns head and smiles",
prompt_optimizer: true
}
});
```
### Video-to-Video (Editing)
```typescript
// Edit/transform existing video
const result = await fal.subscribe("fal-ai/kling-video/o1", {
input: {
video_url: "https://example.com/video.mp4",
prompt: "Change to anime style"
}
});
```
## Audio Models
### Speech-to-Text
| Model | Endpoint | Best For |
|-------|----------|----------|
| Whisper | `fal-ai/whisper` | Accurate transcription |
| Whisper Turbo | `fal-ai/whisper-turbo` | Fast transcription |
```typescript
const result = await fal.subscribe("fal-ai/whisper", {
input: {
audio_url: "https://example.com/speech.mp3",
task: "transcribe", // or "translate"
language: "en",
chunk_level: "segment"
}
});
console.log(result.text);
console.log(result.chunks); // With timestamps
```
### Text-to-Speech
| Model | Endpoint | Best For |
|-------|----------|----------|
| Elevenlabs | `fal-ai/elevenlabs` | Premium voices |
| F5-TTS | `fal-ai/f5-tts` | Voice cloning |
| Kokoro | `fal-ai/kokoro` | Multi-language |
```typescript
// Text-to-speech with Elevenlabs
const result = await fal.subscribe("fal-ai/elevenlabs", {
input: {
text: "Hello, welcome to our service.",
voice_id: "voice_id_here"
}
});
```
## 3D Generation Models
| Model | Endpoint | Use Case |
|-------|----------|----------|
| TripoSR | `fal-ai/triposr` | Image to 3D mesh |
| InstantMesh | `fal-ai/instantmesh` | Fast 3D generation |
| Stable Zero123 | `fal-ai/stable-zero123` | Novel view synthesis |
```typescript
// Generate 3D mesh from image
const result = awaiRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.