Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Ravana

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • Self-hosted
7.2 Club score Visit github.com

What Ravana is

Ravana is a free, open-source Python SDK for swapping faces in images, video, and webcam streams. It supports HyperSwap and InSwapper models, with restoration choices including GFPGAN, GPEN, CodeFormer, RestoreFormer++, and OpenCV. Real-time mode can detect faces every chosen number of frames, track a region of interest, skip heavy restoration, and show a webcam FPS display. Face selection can target all faces, the largest or first face, an index, or a pose. The project lists ArcFace identity and sharpness metrics. ONNX Runtime can use CUDA, AMD DirectML, or CPU, with automatic device selection. An optional PySide6 desktop application adds drag-and-drop, batch processing, webcam use, scoring, video playback, and result saving. The README documents Python installation and a one-folder Windows executable build. Ravana is MIT-licensed, while downloaded model weights may have separate third-party licenses. Optional invisible DCT watermarking supports provenance. The project recommends consent-based entertainment, VFX, privacy, and creative uses.

Who it suits

Ravana is aimed at developers building face-swap workflows for images, video, or webcams. Its optional desktop GUI also supports users who prefer drag-and-drop and batch processing.

Good to know, and what to watch

  • Supports image, video, and webcam face swaps
  • Offers multiple restoration models
  • CUDA, AMD DirectML, and CPU support
  • Optional PySide6 desktop GUI
  • Optional invisible DCT provenance watermark
  • Downloaded model weights may have separate licenses
  • Developers are the listed intended audience
  • Consent is required for recommended use

Open-source

Free

Open source

The verdict

Ravana provides SDK and optional desktop workflows with selectable models, restoration, metrics, and hardware backends. Review model licenses and use it only for consent-based work.

What the maker publishes

Desktop app
An optional PySide6 desktop GUI supports drag-and-drop, batch processing, webcam, scoring, video playback, and saving results. source
Distribution
The README documents Python installation and a Windows one-folder executable build. source
Enhancement
Listed restoration options include GFPGAN, GPEN, CodeFormer, RestoreFormer++, and OpenCV. source
Ethical use
The README recommends use for entertainment, VFX, privacy, and creative work with consent, and says not to use it for non-consensual deepfakes, impersonation, or fraud. source
Face selection and metrics
Face selection includes all, largest, first, index, and pose, and the project lists ArcFace identity and sharpness metrics. source
Face-swap models
It supports HyperSwap and InSwapper face-swap models. source
Hardware support
ONNX Runtime can use CUDA, AMD DirectML, or CPU, and the automatic device setting selects among them. source
Intended users
The package metadata lists developers as its intended audience. source
Product
Ravana is an open-source Python face-swap SDK for images, video, and webcam. source
Provenance
Optional invisible DCT watermarking is available for provenance. source
Real-time features
Its real-time mode supports detection every N frames, ROI tracking, skipping heavy restoration, and a webcam FPS HUD. source
Support channel
The repository links to GitHub Issues for reporting or discussing issues. source
Third-party licensing
The README says third-party model licenses apply to downloaded weights and should be reviewed before commercial use. source

Checked against the maker's pages on 4 Oct 2026.