mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(tools): remove background from animated GIFs (WebP, APNG) (#502)
Adds a dedicated remove-gif-background AI tool: removes the background from an animated GIF, WebP, or APNG frame by frame and reassembles a transparent (or composited) animation in WebP, APNG, or GIF, with full per-frame effects. Reuses the background-removal bundle. Verified end-to-end with the real rembg model. Closes #496.
This commit is contained in:
@@ -226,6 +226,29 @@ const BASE_TOOLS: Tool[] = [
|
||||
acceptedInputs: IMAGE_INPUTS,
|
||||
executionHint: "long",
|
||||
},
|
||||
{
|
||||
id: "remove-gif-background",
|
||||
name: "Remove GIF Background",
|
||||
description: "AI background removal for animated GIFs, WebP, and APNG",
|
||||
category: "enhance",
|
||||
icon: "Film",
|
||||
route: "/remove-gif-background",
|
||||
modality: "image",
|
||||
acceptedInputs: [".gif", ".webp", ".apng", ".png"],
|
||||
executionHint: "long",
|
||||
keywords: [
|
||||
"gif",
|
||||
"animated",
|
||||
"transparent gif",
|
||||
"animated webp",
|
||||
"apng",
|
||||
"remove gif background",
|
||||
"gif background",
|
||||
"animated background removal",
|
||||
"transparent background gif",
|
||||
"gif cutout",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "upscale",
|
||||
name: "Image Upscaling",
|
||||
@@ -2635,6 +2658,7 @@ export const APP_VERSION = "2.1.0";
|
||||
*/
|
||||
export const PYTHON_SIDECAR_TOOLS = [
|
||||
"remove-background",
|
||||
"remove-gif-background",
|
||||
"upscale",
|
||||
"blur-faces",
|
||||
"erase-object",
|
||||
|
||||
Reference in New Issue
Block a user