{"id":"7578156c-3111-43ff-8300-259f39d6a587","shortId":"8ALmNJ","kind":"skill","title":"rembg AI Background Removal CLI and Python Library","tagline":"rembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames.","description":"# rembg AI Background Removal CLI and Python Library\n\nrembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- pip install \"rembg[cpu]\" # for library\n- pip install \"rembg[cpu,cli]\" # for library + cli\n- pip install \"rembg[gpu]\" # for library\n- pip install \"rembg[gpu,cli]\" # for library + cli\n\nRequirements and caveats from upstream:\n- <p align=\"center\">Rembg is a tool to remove image backgrounds. It can be used as a CLI, Python library, HTTP server, or Docker container.</p>\n- python: >=3.11, <3.14\n- **Note:** NVIDIA GPUs may require onnxruntime-gpu, CUDA, and cudnn-devel. See [#668](https://github.com/danielgatis/rembg/issues/668#issuecomment-2689830314) for details. If rembg[gpu] doesn't work and you can't insta...\n\nBasic usage or getting-started notes:\n- text\n- Choose **one** of the following backends based on your hardware:\n- ### CPU support\n\n- Source: https://github.com/danielgatis/rembg\n- Extracted from upstream docs: https://raw.githubusercontent.com/danielgatis/rembg/HEAD/README.md\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/rembg-ai-background-removal-cli/)","tags":["rembg","background","removal","cli","skills","agentskillexchange","agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex"],"capabilities":["skill","source-agentskillexchange","skill-rembg-ai-background-removal-cli","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/rembg-ai-background-removal-cli","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,402 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:12:04.247Z","embedding":null,"createdAt":"2026-05-18T13:18:49.225Z","updatedAt":"2026-05-18T19:12:04.247Z","lastSeenAt":"2026-05-18T19:12:04.247Z","tsv":"'/danielgatis/rembg':231 '/danielgatis/rembg/head/readme.md':238 '/danielgatis/rembg/issues/668#issuecomment-2689830314)':194 '/skills/rembg-ai-background-removal-cli/)':245 '3.11':175 '3.14':176 '668':191 'acceler':45,98 'agent':240 'agentskillexchange.com':244 'agentskillexchange.com/skills/rembg-ai-background-removal-cli/)':243 'ai':2,21,55,74 'automat':15,68 'backend':221 'background':3,17,56,70,159 'base':222 'basic':208 'batch':47,100 'caveat':149 'choos':216 'cli':5,33,58,86,129,132,143,146,166 'contain':40,93,173 'cpu':42,95,122,128,226 'cuda':185 'cudnn':188 'cudnn-devel':187 'detail':196 'devel':189 'doc':235 'docker':39,92,172 'doesn':200 'environ':118 'exchang':242 'extract':232 'follow':220 'frame':53,106 'get':212 'getting-start':211 'github.com':193,230 'github.com/danielgatis/rembg':229 'github.com/danielgatis/rembg/issues/668#issuecomment-2689830314)':192 'gpu':44,97,136,142,184,199 'gpus':179 'hardwar':225 'http':36,89,169 'imag':16,50,69,103,158 'insta':207 'instal':107,111,120,126,134,140 'librari':8,35,61,88,124,131,138,145,168 'like':23,76 'match':116 'may':180 'model':22,75 'net':26,79 'note':177,214 'nvidia':178 'one':217 'onnxruntim':183 'onnxruntime-gpu':182 'path':114 'pip':119,125,133,139 'power':19,72 'process':48,101 'python':7,12,34,60,65,87,167,174 'raw.githubusercontent.com':237 'raw.githubusercontent.com/danielgatis/rembg/head/readme.md':236 'rembg':1,9,54,62,121,127,135,141,152,198 'remov':4,18,57,71,157 'requir':147,181 'sam':28,81 'see':190 'server':37,90,170 'setup':113 'skill':241 'skill-rembg-ai-background-removal-cli' 'sourc':228,239 'source-agentskillexchange' 'start':213 'support':41,94,227 'text':215 'tool':13,66,155 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'u2':25,78 'u2-net':24,77 'upstream':110,151,234 'usag':209 'use':108,163 'video':52,105 'work':30,83,202","prices":[{"id":"eb5bda09-be08-47d1-b1a9-e24a270634c1","listingId":"7578156c-3111-43ff-8300-259f39d6a587","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:18:49.225Z"}],"sources":[{"listingId":"7578156c-3111-43ff-8300-259f39d6a587","source":"github","sourceId":"agentskillexchange/skills/rembg-ai-background-removal-cli","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/rembg-ai-background-removal-cli","isPrimary":false,"firstSeenAt":"2026-05-18T13:18:49.225Z","lastSeenAt":"2026-05-18T19:12:04.247Z"}],"details":{"listingId":"7578156c-3111-43ff-8300-259f39d6a587","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"rembg-ai-background-removal-cli","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"f3e35c1baf8a1e797f7dfc12d6ce9d62e17b7022","skill_md_path":"skills/rembg-ai-background-removal-cli/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/rembg-ai-background-removal-cli"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"rembg AI Background Removal CLI and Python Library","description":"rembg is a Python tool for automatic image background removal powered by AI models like U2-Net and SAM. It works as a CLI, Python library, HTTP server, or Docker container, supporting CPU and GPU acceleration for batch processing of images and video frames."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/rembg-ai-background-removal-cli"},"updatedAt":"2026-05-18T19:12:04.247Z"}}