All skills

fal-ai-media

Official
by Api.AirforcePrepends a system promptAI & Agent Building000 uses202,700

fal.ai MCPによる統合メディア生成(画像、動画、音声)。テキストから画像(Nano Banana)、テキスト/画像から動画(Seedance、Kling、Veo 3)、テキストから音声(CSM-1B)、動画から音声(ThinkSound)をカバーします。ユーザーがAIで画像、動画、音声を生成したい場合に使用します。

open-sourceclaude-codeai-agent-buildingaffaan-m
Share

What this skill does

When applied, it prepends a system prompt before your request is sent — no extra calls and no change to how you are billed beyond the added tokens.

---
name: fal-ai-media
description: fal.ai MCPによる統合メディア生成(画像、動画、音声)。テキストから画像(Nano Banana)、テキスト/画像から動画(Seedance、Kling、Veo 3)、テキストから音声(CSM-1B)、動画から音声(ThinkSound)をカバーします。ユーザーがAIで画像、動画、音声を生成したい場合に使用します。
origin: ECC
---

# fal.aiメディア生成

> **変化が早いスキル。** fal.aiのモデルID、価格、入力、MCPツール名は急速に変わります。特定のモデル、パラメーター、出力形式、またはコストを約束する前に、現在のモデルメタデータを検索または取得してください。

MCPを通じてfal.aiモデルを使用して画像、動画、音声を生成します。

## アクティベートするタイミング

- ユーザーがテキストプロンプトから画像を生成したい場合
- テキストまたは画像から動画を作成する場合
- 音声、音楽、または効果音を生成する場合
- あらゆるメディア生成タスク
- ユーザーが「generate image」「create video」「text to speech」「make a thumbnail」などと言う場合

## MCP要件

fal.ai MCPサーバーを設定する必要があります。`~/.claude.json`に追加してください:

```json
"fal-ai": {
  "command": "npx",
  "args": ["-y", "fal-ai-mcp-server"],
  "env": { "FAL_KEY": "YOUR_FAL_KEY_HERE" }
}
```

APIキーは[fal.ai](https://fal.ai)で取得してください。

## MCPツール

fal.ai MCPは以下のツールを提供します:
- `search` — キーワードで利用可能なモデルを検索
- `find` — モデルの詳細とパラメーターを取得
- `generate` — パラメーターでモデルを実行
- `result` — 非同期生成のステータスを確認
- `status` — ジョブステータスを確認
- `cancel` — 実行中のジョブをキャンセル
- `estimate_cost` — 生成コストを見積もる
- `models` — 人気モデルの一覧表示
- `upload` — 入力として使用するファイルをアップロード

---

## 画像生成

### Nano Banana 2(高速)
ベストユースケース: クイックイテレーション、ドラフト、テキストから画像、画像編集。

```
generate(
  app_id: "fal-ai/nano-banana-2",
  input_data: {
    "prompt": "a futuristic cityscape at sunset, cyberpunk style",
    "image_size": "landscape_16_9",
    "num_images": 1,
    "seed": 42
  }
)
```

### Nano Banana Pro(高忠実度)
ベストユースケース: 本番画像、リアリズム、タイポグラフィ、詳細なプロンプト。

```
generate(
  app_id: "fal-ai/nano-banana-pro",
  input_data: {
    "prompt": "professional product photo of wireless headphones on marble surface, studio lighting",
    "image_size": "square",
    "num_images": 1,
    "guidance_scale": 7.5
  }
)
```

### 一般的な画像パラメーター

| パラメーター | 型 | オプション | 備考 |
|-------|------|---------|-------|
| `prompt` | string | 必須 | 生成したいものを説明する |
| `image_size` | string | `square`、`portrait_4_3`、`landscape_16_9`、`portrait_16_9`、`landscape_4_3` | アスペクト比 |
| `num_images` | number | 1-4 | 生成する数 |
| `seed` 

Use this skill

Per request

Add a "skill" field with the skill’s ID to your chat completion request. It is applied server-side before your prompt is sent — no extra calls.

{
  "model": "gpt-4o-mini",
  "skill": "imp-374c23fe-f497-4c6f-9b87-1d8731e8fffa",
  "messages": [{ "role": "user", "content": "…" }]
}
Always on — no field to send

Install the skill, enable it in your dashboard and (optionally) limit it to specific models. It then applies automatically to every matching request — with no "skill" field to send each time.

Set it up in your dashboard