Fähigkeiten faceswap
🎭

faceswap

Mittleres Risiko ⚙️ Externe Befehle🌐 Netzwerkzugriff🔑 Umgebungsvariablen📁 Dateisystemzugriff

Gesichter in Videos mit KI tauschen

Das manuelle Tauschen von Gesichtern in Videos ist langsam und erfordert spezialisierte Software. Dieser Skill automatisiert den gesamten Workflow mithilfe der verging.ai-API, akzeptiert lokale Dateien oder YouTube/Bilibili-URLs als Eingabe und liefert das Ergebnis direkt aus.

Unterstützt: Claude Codex Code(CC)
⚠️ 61 Schlecht
1

Die Skill-ZIP herunterladen

2

In Claude hochladen

Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen

3

Einschalten und loslegen

Teste es

Verwendung von "faceswap". Run /faceswap with video ./video.mp4 and face ./face.jpg

Erwartetes Ergebnis:

  • 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

Verwendung von "faceswap". Swap the face in a YouTube clip from 10-25 seconds in HD mode

Erwartetes Ergebnis:

  • 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

Sicherheitsaudit

Mittleres Risiko
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
Gescannte Dateien
225
Analysierte Zeilen
9
befunde
3
Gesamtzahl Audits
Probleme mit mittlerem Risiko (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.
Probleme mit niedrigem Risiko (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.
Auditiert von: claude Audit-Verlauf anzeigen →

Qualitätsbewertung

38
Architektur
100
Wartbarkeit
87
Inhalt
22
Community
52
Sicherheit
91
Spezifikationskonformität

Was du bauen kannst

Schnelle Bearbeitungen für Content-Ersteller

Tauschen Sie ein Gesicht in einem kurzen Clip für Social-Media-Inhalte, ohne einen Videoeditor zu öffnen.

Gesichtsaustausch in YouTube-Videos

Geben Sie eine YouTube-URL und ein Gesichtsbild an und erhalten Sie das getauschte Ergebnis automatisch heruntergeladen.

Automatisierung von Massen-Gesichtstausch

Verwenden Sie den CLI-Befehl wiederholt mit unterschiedlichen Eingaben, um mehrere Videos nacheinander zu verarbeiten.

Probiere diese Prompts

Einfacher Tausch mit lokalen Dateien
Run /faceswap with video ./video.mp4 and face image ./face.jpg to swap the face.
YouTube-URL mit Zuschneiden
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.
Remote-Gesichtsbild mit benutzerdefiniertem Ausgabepfad
Run /faceswap with video ./input.mp4, a remote face image URL, and save the output to /tmp/result.mp4.
Vollständige Pipeline mit Credit-Prüfung
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.

Bewährte Verfahren

  • Setzen Sie die Umgebungsvariable VERGING_API_KEY, bevor Sie den Skill ausführen, um zu vermeiden, dass der Schlüssel in Befehlen übergeben wird
  • Schneiden Sie Videos auf das kürzeste benötigte Segment zu, um den Credit-Verbrauch zu minimieren
  • Verwenden Sie den Normalmodus für Vorschauen und den HD-Modus nur für die endgültige Ausgabe, um Credits zu sparen
  • Räumen Sie /tmp/verging-faceswap/ nach der Verarbeitung auf, um zu vermeiden, dass Mediendateien auf der Festplatte zurückbleiben

Vermeiden

  • Übergeben Sie den API-Schlüssel nicht direkt in der Befehlszeile, wo er in der Shell-Historie oder in Prozessauflistungen erscheinen könnte
  • Verwenden Sie keinen JSON-Body (-d) für den upload-video-Endpunkt; er erfordert Multipart-Formulardaten (-F)
  • Versuchen Sie nicht, das Gesichtsbild separat über /upload-video hochzuladen; der create-job-Endpunkt akzeptiert es direkt als swap_image=@path

Häufig gestellte Fragen

Welche maximale Videolänge wird unterstützt?
30 Sekunden. Videos, die länger als 30 Sekunden sind, werden automatisch gekürzt.
Wie erhalte ich einen verging.ai-API-Schlüssel?
Besuchen Sie verging.ai, melden Sie sich an, klicken Sie oben rechts auf Ihren Avatar und gehen Sie zu API Keys, um einen zu erstellen.
Welche externen Tools sind erforderlich?
yt-dlp zum Herunterladen von Videos, ffmpeg und ffprobe zum Zuschneiden und curl für API-Anfragen.
Wie viel kostet ein Gesichtstausch?
Der Normalmodus kostet 1 Credit pro Sekunde. Der HD-Modus kostet 3 Credits pro Sekunde.
Kann ich YouTube- und Bilibili-URLs verwenden?
Ja, der Skill unterstützt YouTube- und Bilibili-Video-URLs über yt-dlp.
Wo werden temporäre Dateien gespeichert?
Zwischendateien werden in /tmp/verging-faceswap/ gespeichert und sollten nach der Verwendung aufgeräumt werden.

Entwicklerdetails

Dateistruktur

📄 README.md

📄 SKILL.md