mcpField
F
fal-restore

fal-restore

github.com/fal-ai-communityクリエイティブ・メディア25890 回インストール24 週間前に更新
リポジトリ

fal-restore について

fal-restoreは、fal.aiモデルで画像の品質を修復・向上するスキルです。ぼかしやノイズ、かすみの除去、顔の補正、文書の修復に対応します。

主な機能

  1. 01画像のぼかし・ノイズ・かすみを除去
  2. 02顔の補正と文書の修復
  3. 03モデルエンドポイントの選択
  4. 04顔補正の忠実度を設定

活用シーン

  1. 01ぼやけた写真やノイズのある写真を改善
  2. 02スキャンした文書を修復
  3. 03画像内の顔を補正

MCP 対応

画像修復モデルの検索に search_models MCP ツールを利用できます。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/fal-ai-community/skills --skill fal-restore

インストール後、Claude Code で/fal-restoreを入力して読み込まれたか確認します。

同梱ファイルscripts/restore.sh

詳細

fal-restore

AI を使用して画像の品質を復元・向上します。ぼかし、ノイズ、かすみ、顔、文書を修正できます。

スクリプト

スクリプト用途
restore.sh画像を復元します(ぼかし除去、ノイズ除去、かすみ除去、顔の修正、文書)

使用方法

ぼかし除去
./scripts/restore.sh --image-url "https://example.com/blurry.jpg" --operation deblur
ノイズ除去
./scripts/restore.sh --image-url "https://example.com/noisy.jpg" --operation denoise
顔の修正
./scripts/restore.sh --image-url "https://example.com/bad-face.jpg" --operation fix-face
文書の復元
./scripts/restore.sh --image-url "https://example.com/scan.jpg" --operation document

引数

引数説明必須
--image-url復元する画像の URLはい
--operationdeblur、denoise、dehaze、fix-face、documentはい
--model / -mモデルのエンドポイントを上書きしますいいえ
--fidelity顔の修正用:0.0~1.0(0=最高品質、1=最も忠実)いいえ

モデルの検索

最新かつ最適な画像復元モデルを見つけるには、検索 API を使用します。

# Search for restoration models
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "restore"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "deblur"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "denoise"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "face restoration"
bash /mnt/skills/user/fal-generate/scripts/search-models.sh --query "document"

または、search_models MCP ツールを使用して、「restore」、「deblur」、「denoise」、「face fix」、「document」などのキーワードで検索します。

コメント