KL

klingai-style-transfer

Tools for applying artistic styles and visual effects to Kling AI video generations.

Install

mkdir -p .claude/skills/klingai-style-transfer && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5441" && unzip -o skill.zip -d .claude/skills/klingai-style-transfer && rm skill.zip

Installs to .claude/skills/klingai-style-transfer

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Apply artistic styles and visual effects to Kling AI video generation.
70 charsno explicit “when” trigger
Beginner

Key capabilities

  • Apply artistic style descriptors to prompts
  • Execute visual transformations via Effects API
  • Generate styled images using Kolors
  • Configure cfg_scale for prompt adherence
  • Maintain style consistency across video clips

How it works

The skill uses prompt engineering and the Effects API to apply visual transformations and artistic styles to Kling AI video generation.

Inputs & outputs

You give it
Prompt with style keywords or image URL
You get back
Stylized video or image

When to use klingai-style-transfer

  • Apply artistic style descriptors to video prompts
  • Configure pre-built visual effects via the Effects API
  • Reference images for consistent style transfer
  • Optimize negative prompts for specific art styles

About this skill

Kling AI Style Transfer & Effects

Overview

Apply artistic styles through prompt engineering, use the Effects API for pre-built visual transformations, and leverage Kolors for image-based style references. Available on v1.6+ models.

Style via Prompt Engineering

The most direct approach -- include style descriptors in your prompt:

import jwt, time, os, requests

BASE = "https://api.klingai.com/v1"

def get_headers():
    ak, sk = os.environ["KLING_ACCESS_KEY"], os.environ["KLING_SECRET_KEY"]
    token = jwt.encode(
        {"iss": ak, "exp": int(time.time()) + 1800, "nbf": int(time.time()) - 5},
        sk, algorithm="HS256", headers={"alg": "HS256", "typ": "JWT"}
    )
    return {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}

# Style: Studio Ghibli watercolor
response = requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
    "model_name": "kling-v2-6",
    "prompt": "A cozy cottage in a meadow, hand-painted watercolor style, "
              "soft pastel colors, Studio Ghibli aesthetic, gentle breeze",
    "negative_prompt": "photorealistic, harsh lighting, dark, gritty",
    "duration": "5",
    "mode": "professional",
    "cfg_scale": 0.7,  # higher = stricter prompt adherence
})

Style Prompt Recipes

StylePrompt Keywordscfg_scale
Cinematic"cinematic lighting, anamorphic lens, film grain, 35mm"0.5-0.6
Anime"anime style, cel-shaded, vibrant colors, clean lines"0.6-0.7
Watercolor"watercolor painting, soft edges, pastel, hand-painted"0.7-0.8
Oil painting"oil painting, thick brushstrokes, impasto, canvas texture"0.7-0.8
Neon/cyberpunk"neon lights, cyberpunk, rain, dark city, purple and blue"0.5-0.6
Vintage film"vintage 8mm film, warm tones, light leaks, soft focus"0.6-0.7
Pixel art"pixel art style, retro 16-bit, limited palette"0.8-0.9
Photorealistic"photorealistic, 4K, natural lighting, DSLR quality"0.4-0.5

Effects API

The Effects API applies pre-built transformations to existing images. Available on v1.6+.

Endpoint: POST https://api.klingai.com/v1/videos/effects

# Apply an effect to an image
response = requests.post(f"{BASE}/videos/effects", headers=get_headers(), json={
    "model_name": "kling-v1-6",
    "image": "https://example.com/portrait.jpg",
    "effect_type": "hug",           # effect to apply
    "duration": "5",
    "mode": "standard",
})

task_id = response.json()["data"]["task_id"]
# Poll for result as usual

Available Effects

EffectDescription
hugEmbrace/hug motion between subjects
kissKiss animation between subjects
heartHeart gesture or heart-shaped framing
expandZoom/expand outward effect
squishCompression/squish animation

Kolors Image Restyle

Use Kolors to restyle images before converting to video:

# Generate styled image with Kolors
image_response = requests.post(f"{BASE}/images/kolors", headers=get_headers(), json={
    "prompt": "A cyberpunk city street, neon signs, rain-slicked roads",
    "aspect_ratio": "16:9",
    "imageCount": 1,
})

# Then use the generated image as input for I2V
image_url = image_response.json()["data"]["images"][0]["url"]
video_response = requests.post(f"{BASE}/videos/image2video", headers=get_headers(), json={
    "model_name": "kling-v2-1",
    "image": image_url,
    "prompt": "Camera slowly pushes forward through the rain, neon reflections",
    "duration": "5",
    "mode": "professional",
})

cfg_scale Tuning

The cfg_scale parameter (0.0-1.0) controls how strictly the model follows your prompt:

cfg_scaleEffect
0.0-0.3More creative freedom, may drift from prompt
0.4-0.5Balanced (default), natural results
0.6-0.7Stronger prompt adherence
0.8-1.0Very strict, may reduce quality/naturalness

For style transfer: Use 0.6-0.8 to ensure the style keywords are respected.

Style Consistency Across Clips

# Use a consistent style template for all clips in a project
STYLE_TEMPLATE = {
    "suffix": ", cinematic lighting, 35mm film grain, warm color grading, "
              "anamorphic lens flare, shallow depth of field",
    "negative": "cartoon, anime, painting, illustration, CGI, digital art",
    "cfg_scale": 0.6,
    "model": "kling-v2-6",
    "mode": "professional",
}

def styled_generation(scene_prompt: str):
    return requests.post(f"{BASE}/videos/text2video", headers=get_headers(), json={
        "model_name": STYLE_TEMPLATE["model"],
        "prompt": scene_prompt + STYLE_TEMPLATE["suffix"],
        "negative_prompt": STYLE_TEMPLATE["negative"],
        "cfg_scale": STYLE_TEMPLATE["cfg_scale"],
        "duration": "5",
        "mode": STYLE_TEMPLATE["mode"],
    })

Resources

When not to use it

  • Applications requiring strictly photorealistic output without artistic modification
  • Models older than v1.6 for Effects API

Prerequisites

Kling AI API accessv1.6+ model availability

Limitations

  • Effects API limited to v1.6+ models
  • High cfg_scale values may reduce quality

How it compares

It provides specific style recipes and parameter tuning guides rather than relying on trial-and-error prompt crafting.

Compared to similar skills

klingai-style-transfer side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
klingai-style-transfer (this skill)127dCautionBeginner
crewai46moNo flagsAdvanced
autonomous-agent-patterns46moReviewIntermediate
computer-use-agents106moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

crewai

davila7

Expert in CrewAI - the leading role-based multi-agent framework used by 60% of Fortune 500 companies. Covers agent design with roles and goals, task definition, crew orchestration, process types (sequential, hierarchical, parallel), memory systems, and flows for complex workflows. Essential for building collaborative AI agent teams. Use when: crewai, multi-agent team, agent roles, crew of agents, role-based agents.

459

autonomous-agent-patterns

davila7

Design patterns for building autonomous coding agents. Covers tool integration, permission systems, browser automation, and human-in-the-loop workflows. Use when building AI agents, designing tool APIs, implementing permission systems, or creating autonomous coding assistants.

451

computer-use-agents

davila7

Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives. Critical focus on sandboxing, security, and handling the unique challenges of vision-based control. Use when: computer use, desktop automation agent, screen control AI, vision-based agent, GUI automation.

1040

voice-ai-engine-development

sickn33

Build real-time conversational AI voice engines using async worker pipelines, streaming transcription, LLM agents, and TTS synthesis with interrupt handling and multi-provider support

427

crewai-developer

smallnest

Comprehensive CrewAI framework guide for building collaborative AI agent teams and structured workflows. Use when developing multi-agent systems with CrewAI, creating autonomous AI crews, orchestrating flows, implementing agents with roles and tools, or building production-ready AI automation. Essential for developers building intelligent agent systems, task automation, and complex AI workflows.

213

hummingbot

2025Emma

Hummingbot trading bot framework - automated trading strategies, market making, arbitrage, connectors for crypto exchanges. Use when working with algorithmic trading, crypto trading bots, or exchange integrations.

213

Search skills

Search the agent skills registry