スキル faceswap
🎭

faceswap

中リスク ⚙️ 外部コマンド🌐 ネットワークアクセス🔑 環境変数📁 ファイルシステムへのアクセス

AIで動画の顔を交換する

動画内の顔を手動で入れ替えるのは時間がかかり、専門的なソフトウェアが必要です。このスキルはverging.ai APIを使用してワークフロー全体を自動化し、ローカルファイルやYouTube/BilibiliのURLを入力として受け取り、結果を直接出力します。

対応: Claude Codex Code(CC)
⚠️ 61 貧弱
1

スキルZIPをダウンロード

2

Claudeでアップロード

設定 → 機能 → スキル → スキルをアップロードへ移動

3

オンにして利用開始

テストする

「faceswap」を使用しています。 Run /faceswap with video ./video.mp4 and face ./face.jpg

期待される結果:

  • Checking video duration: 22 seconds
  • Credits needed: 22 (normal mode)
  • Uploading video to cloud storage...
  • Job created: job_id=295
  • Progress: 25%... 50%... 75%... 100%
  • Result: https://img.panpan8.com/face-swap/2026-05-31/result.mp4

「faceswap」を使用しています。 Swap the face in a YouTube clip from 10-25 seconds in HD mode

期待される結果:

  • Downloading video from YouTube...
  • Trimming to 10-25 seconds...
  • Uploading trimmed video (15 seconds, HD = 45 credits)...
  • Job created: job_id=296
  • Status: COMPLETED after 45 seconds
  • Result downloaded to: ./result_hd.mp4

セキュリティ監査

中リスク
v3 • 6/8/2026

The skill is a documentation/instruction file (no executable code) that guides an AI assistant to run shell commands (yt-dlp, ffmpeg, curl) and make API calls to verging.ai. All 82 static findings are false positives in context: backtick patterns are markdown code examples, URLs are legitimate API endpoints, API key references are standard authentication documentation, and temp directory access is standard media processing. The combination of network + credentials + external commands is expected for this use case. No malicious intent detected. Risk level is medium due to the breadth of system access required.

2
スキャンされたファイル
225
解析された行数
9
検出結果
3
総監査数
中リスクの問題 (1)
Broad system access required
The skill requires yt-dlp, ffmpeg, ffprobe, and curl binaries plus the VERGING_API_KEY environment variable. While all usages are documented and legitimate for face-swap workflows, the combination of network access, external command execution, credential handling, and filesystem write access represents a significant attack surface if the skill were modified maliciously. This is a known characteristic of media-processing skills, not a current vulnerability.
低リスクの問題 (4)
Temp directory usage in /tmp
The skill uses /tmp/verging-faceswap/ for intermediate video and image files. This is standard practice for media processing but files may persist if not cleaned up. The documentation recommends cleanup. Low risk.
Static analyzer false positives: backtick patterns
The static scanner flagged 44 instances of 'Ruby/shell backtick execution' in markdown files. These are all code-block examples in documentation showing curl, ffmpeg, and yt-dlp commands. They are not executable code in the skill itself. False positive.
Static analyzer false positives: hardcoded URLs
17 URL references flagged as suspicious are all legitimate API endpoints (verging.ai/api/v1/*) and documentation links. False positive.
Static analyzer false positives: weak cryptography
The 'weak cryptographic algorithm' findings at SKILL.md:3 and SKILL.md:33 are likely false positives triggered by the term 'key' in API key context or video codec references (libx264). No actual cryptographic operations are performed by the skill.

リスク要因

監査者: claude 監査履歴を表示 →

品質スコア

38
アーキテクチャ
100
保守性
87
コンテンツ
22
コミュニティ
52
セキュリティ
91
仕様準拠

作れるもの

コンテンツクリエイターのクイック編集

動画エディタを開かずに、ソーシャルメディア用の短いクリップの顔を交換します。

YouTube動画の顔入れ替え

YouTube URLと顔画像を指定すると、交換結果が自動的にダウンロードされます。

バッチ顔入れ替えの自動化

CLIコマンドを異なる入力で繰り返し使用し、複数の動画を順次処理します。

これらのプロンプトを試す

基本的なローカルファイル交換
Run /faceswap with video ./video.mp4 and face image ./face.jpg to swap the face.
トリミング付きYouTube URL
Run /faceswap with video https://youtube.com/watch?v=xxx, face https://example.com/face.jpg, trimming from 10 to 25 seconds in HD mode and auto-downloading the result.
リモート顔画像とカスタム出力
Run /faceswap with video ./input.mp4, a remote face image URL, and save the output to /tmp/result.mp4.
クレジット確認を含むフルパイプライン
First check my verging.ai credit balance, then run /faceswap with the provided video and face URL, trim to 15 seconds, use HD mode, and download the result.

ベストプラクティス

  • スキル実行前にVERGING_API_KEY環境変数を設定し、コマンドでキーを渡さないようにします
  • クレジット消費を最小限に抑えるため、動画を必要な最小限の長さにトリミングします
  • クレジット節約のため、プレビューには通常モードを使用し、最終出力にのみHDモードを使用します
  • 処理後に/tmp/verging-faceswap/をクリーンアップし、メディアファイルがディスクに残らないようにします

回避

  • シェル履歴やプロセスリストに表示される可能性があるため、APIキーをコマンドラインで直接渡さないでください
  • upload-videoエンドポイントにJSON body(-d)を使用しないでください。multipart form data(-F)が必要です
  • 顔画像を/upload-videoで個別にアップロードしないでください。create-jobエンドポイントがswap_image=@pathとして直接受け取ります

よくある質問

対応している最大動画長は?
30秒です。30秒を超える動画は自動的にトリミングされます。
verging.aiのAPIキーの取得方法は?
verging.aiにアクセスし、ログインして、右上のアバターをクリックし、API Keysで作成してください。
必要な外部ツールは?
yt-dlpは動画ダウンロード、ffmpegとffprobeはトリミング、curlはAPIリクエスト用です。
顔入れ替えの料金は?
通常モードは1秒あたり1クレジットです。HDモードは1秒あたり3クレジットです。
YouTubeとBilibiliのURLは使用できますか?
はい、yt-dlpを通じてYouTubeとBilibiliの動画URLに対応しています。
一時ファイルはどこに保存されますか?
中間ファイルは/tmp/verging-faceswap/に保存され、使用後にクリーンアップする必要があります。

開発者の詳細

作成者

verging.ai

ライセンス

MIT

参照

main

ファイル構成

📄 README.md

📄 SKILL.md