> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Kdenlive is Adding an AI Background Removal Tool
- URL: https://itsfoss.com/news/kdenlive-ai-background-remove/
- Published: 2024-12-31T11:49:56.000Z
- Updated: 2024-12-31T11:49:56.000Z
- Description: You can easily remove backgrounds with this new tool.
- Author: Sourav Rudra
- Tags: Development Updates, News, #Import 2025-11-08 21:15

If you are into video editing on Linux, then you have most likely used [Kdenlive](https://kdenlive.org/en/?ref=itsfoss.com) to edit your content. It is **a reliable cross-platform, open source video editor** that has been designed for both amateurs and professionals, featuring a wide range of tools that allow people to let out their creative side.

In addition, Kdenlive has embraced AI tools like many other video editors, with the [24.05 release](https://itsfoss.com/kdenlive-24-05-release/) introducing local AI-powered subtitle translations.

And now, the Kdenlive team is wrapping up 2024 by giving everyone a sneak peek of **a new AI-powered tool** planned for the upcoming 25.04 release, which is due in 2025.

## Kdenlive's Background Removal Tool: What To Expect?

0:00 

/0:02 

1× 

Source: Kdenlive

Powered by Meta's Segment Anything Model 2 ([SAM 2](https://github.com/facebookresearch/sam2?ref=itsfoss.com)), the new background removal tool **can be used to remove the background from an added clip** with the use of object masks.

The implementation works by automatically detecting and segmenting objects in a video frame, then generating object masks to define the boundaries of objects in the scene. These masks then act as overlays, allowing users to isolate and remove backgrounds with ease.

In Kdenlive, once the background removal tool is properly configured, anyone can remove the background by creating a new mask, then clicking on the object they want in the foreground, and then clicking on “*Generate Mask*” to begin the background removal process.

![a screenshot of kdenlive 25.04 alpha background removal tool setup dialog](https://itsfoss.com/content/images/2024/12/Kdenlive_Background_Removal_Tool_Setup-1.png)

When I tried testing it out on Fedora 41 by following the steps mentioned by Kdenlive, I had to download many missing dependencies, but the process was getting stuck on the same step for installing the [opencv-python](https://pypi.org/project/opencv-python/?ref=itsfoss.com) module. The situation didn't change even after I manually installed that dependency using [pip](https://pip.pypa.io/en/stable/?ref=itsfoss.com).

As I couldn't go forward with configuration, I was unable to check what models were being offered, but the default one looks to be [sam2.1-hiera-tiny](https://huggingface.co/facebook/sam2.1-hiera-tiny?ref=itsfoss.com). According to the developers, **Kdenlive downloads the smallest model by default**. 

Of course, the feature isn't out yet for a stable release. So, you should wait it out.

The devs also mention that they will be improving the installation flow for the background removal tool in the coming iterations. The [announcement blog](https://kdenlive.org/en/2024/12/kdenlive-new-year-preview/?ref=itsfoss.com) has more details if you want to know more.

### Want To Test It Out?

They have provided an [AppImage](https://files.kde.org/kdenlive/unstable/kdenlive-25.04-alpha-x86%5F64.AppImage.mirrorlist?ref=itsfoss.com) for Linux users and an [.exe](https://files.kde.org/kdenlive/unstable/kdenlive-25.04-alpha-x86%5F64.exe.mirrorlist?ref=itsfoss.com) for Windows users. If you go for it, keep in mind that this is **an under-development release** and shouldn't be used for sensitive editing tasks, only for testing.

[Kdenlive 25.04 Alpha (Linux)](https://files.kde.org/kdenlive/unstable/kdenlive-25.04-alpha-x86%5F64.AppImage.mirrorlist?ref=itsfoss.com)

**Suggested Read** 📖

[11 Free and Open Source Video EditorsHere is a list of top free and open source video editors available on Linux, Windows and macOS along with their main features.![](https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png)It's FOSSAnkush Das![](https://itsfoss.com/content/images/wordpress/2019/06/best-open-source-video-editors.png)](https://itsfoss.com/open-source-video-editors/)