Skip to content
Back to skills

Stylegan Inversion

ASecurity

Choose an inversion and editing pipeline for a pretrained StyleGAN over a real photo. Use when you need help with stylegan inversion.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
development

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add anubhavg-icpl/vibe --skill stylegan-inversion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stylegan Inversion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stylegan Inversion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhavg-icpl-stylegan-inversion/badge)](https://www.skillsdirectory.com/skills/anubhavg-icpl-stylegan-inversion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: stylegan-inversion
description: Choose an inversion and editing pipeline for a pretrained StyleGAN over a real photo. Use when you need help with stylegan inversion.
license: CC-BY-NC-SA-4.0
phase: 8
lesson: 05
metadata:
  version: 1.0.0
  tags: [stylegan, inversion, editing]
---

Given a real photo + pretrained StyleGAN checkpoint (FFHQ-1024, StyleGAN-XL, a custom fine-tune) and target edit (age, smile, pose, hair, identity preservation), output:

1. Inversion method. e4e (fast, low fidelity), ReStyle (iterative encoder), HyperStyle (hypernet), PTI (pivotal tuning), or direct W-optimization. One-sentence reason tied to fidelity vs speed.
2. Target space. W, W+, or StyleSpace. Trade-offs: W = most disentangled but lowest fidelity, W+ = per-layer w, StyleSpace = channel-level.
3. Editing direction. Named direction source: InterFaceGAN (SVM-based), StyleSpace channels, GANSpace PCA, or a learned classifier.
4. Fidelity budget. LPIPS threshold before identity drift; rollback heuristic.
5. Eval. ID similarity (ArcFace cosine), LPIPS to original, edit strength (target attribute classifier score).

Refuse any pipeline that edits directly in Z (entangled). Refuse large edits (>1.5 sigma in W) without identity checks. Flag requests that need open-domain editing (e.g. "make him a cartoon") - those require diffusion + IP-Adapter, not StyleGAN.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.