klingai-content-policy

Featured

Implement content policy compliance for Kling AI prompts and outputs. Use when filtering user prompts or handling moderation. Trigger with phrases like 'klingai content policy', 'kling ai moderation', 'safe video generation', 'klingai content filter'.

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Kling AI Content Policy ## Overview Kling AI enforces content policies server-side. Tasks with policy-violating prompts return `task_status: "failed"` with a content policy message. This skill covers pre-submission filtering to avoid wasted credits and API calls. ## Restricted Content Categories Kling AI prohibits prompts that generate: | Category | Examples | |----------|---------| | Violence/gore | Graphic injuries, torture, weapons used violently | | Adult/sexual | Explicit nudity, sexual acts, suggestive content | | Hate/discrimination | Slurs, targeted harassment, supremacist imagery | | Illegal activity | Drug manufacturing, terrorism, fraud instructions | | Real people | Deepfakes of identifiable individuals without consent | | Copyrighted characters | Trademarked characters (Mickey Mouse, Spider-Man) | | Misinformation | Fake news, fabricated events presented as real | | Self-harm | Suicide, eating disorders, self-injury instructions | ## Pre-Submission Prompt Filter ```python import re class PromptFilter: """Filter prompts before sending to Kling AI to save credits.""" BLOCKED_PATTERNS = [ r"\b(nude|naked|explicit|nsfw|porn)\b", r"\b(gore|dismember|torture|mutilat)\b", r"\b(bomb|terroris|weapon|firearm)\b", r"\b(suicide|self.harm|kill.yourself)\b", r"\b(deepfake|impersonat)\b", ] BLOCKED_TERMS = { "blood splatter", "graphic violence", "child abuse", "drug manufacturing", "hate speech"...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category