Integrate BGBlur blur APIs into apps and pipelines — face blur, license plate blur, NSFW detection for images and video. Covers REST API patterns, batch processing, webhook delivery, and SDK usage. Use when user mentions BGBlur API, blur API integration, face blur API, license plate API, video blur SDK, embed blur in app, or programmatic blur processing.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionbgblur-api-sdkExecute the skills CLI command in your project's root directory to begin installation:
Fetches bgblur-api-sdk from whyashthakker/bgblur-video-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate bgblur-api-sdk. Access via /bgblur-api-sdk in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
| name | bgblur-api-sdk |
| description | Integrate BGBlur blur APIs into apps and pipelines — face blur, license plate blur, NSFW detection for images and video. Covers REST API patterns, batch processing, webhook delivery, and SDK usage. Use when user mentions BGBlur API, blur API integration, face blur API, license plate API, video blur SDK, embed blur in app, or programmatic blur processing. |
| argument-hint | API endpoint, integration language, batch vs realtime, or use case |
| allowed-tools | Read, Write, WebSearch, Shell |
Integrate BGBlur API services into applications, CI pipelines, and batch processing workflows.
Available APIs:
| API | Type | Use Case |
|---|---|---|
| Face Blur (Image) | Image | Profile photos, thumbnails, uploads |
| Face Blur (Video) | Video | Frame-aware face tracking + blur |
| License Plate Blur (Image) | Image | Parking, fleet photo redaction |
| License Plate Blur (Video) | Video | Dashcam, CCTV, street footage |
| NSFW Image Detector | Image | Content moderation gate |
| NSFW Video Detector | Video | Timestamped moderation scores |
Integration patterns:
Input is image?
├── Need face redaction? → Face Blur (Image)
├── Need plate redaction? → License Plate Blur (Image)
└── Need moderation? → NSFW Image Detector
Input is video?
├── Need face redaction? → Face Blur (Video)
├── Need plate redaction? → License Plate Blur (Video)
└── Need moderation? → NSFW Video Detector
Store API key in environment variable — never hardcode:
export BGBLUR_API_KEY="your_api_key_here"
Verify connectivity:
python3 scripts/api_health_check.py
Face blur — single image:
import os
import requests
API_KEY = os.environ["BGBLUR_API_KEY"]
BASE = "https://api.bgblur.com/v1" # confirm current base URL in docs
with open("photo.jpg", "rb") as f:
resp = requests.post(
f"{BASE}/face-blur/image",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": f},
data={"blur_strength": "medium"},
)
resp.raise_for_status()
with open("photo_blurred.jpg", "wb") as out:
out.write(resp.content)
License plate blur — image:
resp = requests.post(
f"{BASE}/license-plate-blur/image",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": open("dashcam_frame.jpg", "rb")},
)
Video APIs are async — submit, poll, download:
import time
import requests
# 1. Submit job
with open("clip.mp4", "rb") as f:
job = requests.post(
f"{BASE}/face-blur/video",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": f},
data={"webhook_url": "https://yourapp.com/hooks/bgblur"},
).json()
job_id = job["id"]
# 2. Poll until complete
while True:
status = requests.get(
f"{BASE}/jobs/{job_id}",
headers={"Authorization": f"Bearer {API_KEY}"},
).json()
if status["state"] == "completed":
break
if status["state"] == "failed":
raise RuntimeError(status.get("error", "Job failed"))
time.sleep(5)
# 3. Download result
result = requests.get(
status["output_url"],
headers={"Authorization": f"Bearer {API_KEY}"},
)
with open("clip_blurred.mp4", "wb") as f:
f.write(result.content)
Image — accept/reject gate before publishing:
resp = requests.post(
f"{BASE}/nsfw/image",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": open("upload.jpg", "rb")},
).json()
if resp["score"] > 0.85:
reject_upload(resp["categories"])
Video — timestamped flags for review queue:
resp = requests.post(
f"{BASE}/nsfw/video",
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": open("clip.mp4", "rb")},
).json()
for flag in resp["timestamps"]:
print(f"NSFW at {flag['start']}s–{flag['end']}s: {flag['score']:.2f}")
For high-volume (CCTV, fleet, UGC platforms):
Upload batch → Queue → Process parallel → Webhook per job → Aggregate results
Batch pattern:
import concurrent.futures
def process_file(path: str) -> str:
# submit + poll each file
return output_path
files = ["cam1.mp4", "cam2.mp4", "cam3.mp4"]
with concurrent.futures.ThreadPoolExecutor(max_workers=5) as pool:
results = list(pool.map(process_file, files))
Enterprise tier: BGBlur Enterprise for dedicated throughput and SLA.
| HTTP Code | Meaning | Action |
|---|---|---|
| 400 | Invalid file/format | Validate with ffmpeg-video-prep first |
| 401 | Bad API key | Check BGBLUR_API_KEY |
| 413 | File too large | Compress or split video |
| 429 | Rate limited | Exponential backoff |
| 500 | Server error | Retry with idempotency key |
Retry wrapper:
import time
def with_retry(fn, max_attempts=3):
for attempt in range(max_attempts):
try:
return fn()
except requests.HTTPError as e:
if e.response.status_code in (429, 500) and attempt < max_attempts - 1:
time.sleep(2 ** attempt)
else:
raise
API Integration:
- [ ] API key in env var (not source code)
- [ ] Input validation (format, size, duration)
- [ ] Async polling or webhook handler implemented
- [ ] Error handling with retry for 429/500
- [ ] Output stored securely; temp files cleaned up
- [ ] Rate limits respected for batch jobs
- [ ] QA step on sample outputs (see video-blur-qa skill)
UGC upload gate:
User upload → NSFW detect → (pass) → Face blur → Store → Publish
→ (fail) → Reject
Fleet dashcam pipeline:
Camera upload → Plate blur (video) → QA sample → Archive
CMS thumbnail safety:
Featured image → Face blur (image) → CDN → Frontend
## BGBlur API Integration Plan
### Use Case
[UGC moderation / fleet redaction / CMS thumbnails / etc.]
### APIs Selected
- [Endpoint] — [why]
### Flow
[Sync / Async / Batch]
### Volume Estimate
- [X videos/day] | avg [Y min] | [Z MB]
### Open Questions
- [Webhook endpoint ready?]
- [Enterprise tier needed?]
Note: Confirm current API base URL, request schemas, and auth headers against official BGBlur API documentation before production deployment.
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
whyashthakker/agent-skills-marketing
affaan-m/everything-claude-code
remotion-dev/skills
supercent-io/skills-template
heygen-com/skills
inference-sh/skills
Useful defaults in bgblur-api-sdk — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
bgblur-api-sdk has been reliable in day-to-day use. Documentation quality is above average for community skills.
bgblur-api-sdk reduced setup friction for our internal harness; good balance of opinion and flexibility.
Solid pick for teams standardizing on skills: bgblur-api-sdk is focused, and the summary matches what you get after install.
bgblur-api-sdk is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
We added bgblur-api-sdk from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
bgblur-api-sdk fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend bgblur-api-sdk for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
bgblur-api-sdk fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added bgblur-api-sdk from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
showing 1-10 of 30