PiAPI
HomeWorkspace
HomeWorkspace
Join Discord
  1. Kling
  • Get Started
    • Overview
    • Quickstart
    • Make Instruction: How to Use PiAPI to Build a Workflow on Make?
  • Endpoints
    • Song(Udio)
      • Song API Task Creation Examples
      • [Udio] Song Extend
      • Get Task
      • Create Task
      • [Udio] Generate Lyrics
    • Kling
      • Lipsync With PiAPI Kling API Examples
      • Motion Brush With PiAPI Kling API Example
      • Kling Elements Video Generation API
      • Kling Effects Video Generation
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Get Task
        GET
      • Create Task
        POST
      • Kling Virtual Try-On
        POST
      • Kling Effects
        POST
    • Hailuo
      • Hailuo Director Mode Example
      • Generate Video
      • Get Task
    • Flux
      • Flux with LoRA and Controlnet
      • Available LoRA and Controlnet
      • Flux API with Redux Variation, Fill, Inpaint and Outpaint
      • Create Task
        • Text to Image
        • Image to Image
      • Get task
    • AI Hug
      • Get Task
      • Create Task
    • LLM
      • Use Cases for GPT-4o Image API
      • How To Avoid Timeouts in Completion API
      • GPT-4o Image Generation API
      • LLM API | Basic Completions
      • Get Task
    • Midjourney
      • PiAPI Penalties on Midjourney Usage
      • Detailed Explaination on Midjourney Task Result
      • Midjourney V7 API Instructions
      • Create Task
        • Imagine
        • Upscale
        • Variation
        • Reroll
        • Describe
        • Seed
        • Blend
        • Inpaint
        • Outpaint
        • Pan
      • Cancel Task
        • Cancel Task
        • Cancel Tasks
      • Get Task
    • Faceswap
      • Multi Faceswap
      • Image Faceswap
      • Video Faceswap
      • Get Task
    • TTS
      • Zeroshot Text-to-Speech F5-TTS
      • Get Task
    • Trellis
      • Create Task
      • Get Task
    • Luma Dream Machine
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Create Task
      • Get Task
    • WanX
      • Generate WanX Task with LoRA Using PiAPI
      • Available LoRA Types for Wanx
      • Use Cases for Wanx LoRA
      • Use Cases for Wanx Control Camera
      • Create Task
      • Get Task
    • Skyreels
      • Create Task
      • Get Task
    • Framepack
      • Create Task
      • Get Task
    • Hunyuan Video
      • How to Make a Hunyuan API Call
      • Get Task
      • Generate Video
    • Mmaudio
      • Get Task
      • Generate Audio
    • DiffRhythm
      • Generate Audio
      • Get Task
    • Tools
      • File Upload API
      • Video Upscale
      • Video Upscale-Get Task
      • Remove Background API
      • Remove Background-Get Task
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
      • Image Upscale(Super Resolution) API
      • Image Upscale-Get Task
    • PiAPI Account Management
      • PiAPI Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
    • Bulk Generation Service
    • Billings
    • PiAPI MCP Server
    • Workspace Manual
      • Host-your-account (HYA) | Back-up Account
      • Host-your-account (HYA) | Debug Checklist
      • Host-your-account (HYA) | Connected Account Status
    • Announcements
      • PiAPI 2025 January 1st Pricing Update
  • Legacy Documentation
    • Midjourney
      • Midjourney Webhook
      • Imagine
      • Reroll
      • Upscale
      • Variation
      • Inpaint
      • Outpaint
      • Pan
      • Describe
      • Blend
      • Seed
      • Fetch
      • Multi Fetch
      • Cancel
    • Face Swap
      • Video Faceswap
      • Multi-face-swap
      • Fetch
    • Dream Machine
      • Video Generation
      • Video Extend
      • Get Video Generation
    • Kling
      • Video Generation
      • Video Extend
      • Get Video Generation
  1. Kling

Kling Effects Video Generation

Pricing#

std mode: $0.26/generation
pro mode: $0.46/generation

Available Kling Effects Options#

Effect NameKling Namestd modepro moderequire prompt
squishMochiMochi√××
expansionBoomBoom√××
jellycat_overseaFuzzyFuzzy√××
spinoffDizzyDizzy×√×
rocketRocketRocket√√√
heartingHand Heart√√√
fightingFight√√√
kissingKiss√√√
huggingHug√√√
figureAnime Figure√××
Note
Default mode is std mode, use professional_mode = true in param to switch to pro mode.
Some of the effects require prompt param to gain better performance.

Kling Effects Example#

squish#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://wesportfish.com/wp-content/uploads/Main-Columbia-River-Fly-Fishing.jpg",
        "effect": "squish"
    }
}

rocket#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://i.ibb.co/9k86wD01/tower.jpg",
        "effect": "rocket",
        "prompt": "emits dazzling white smoke and orange Mach rings from the bottom, and it begins to rise into the air. During the launch process, the appearance remains unchanged, rising quickly, staying in the middle of the camera, capturing details and changes in the surrounding environment. The details are clear, the colors are saturated, and the picture presents a movie-level visual effect",
        "professional_mode": true
    }
}

hearting#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://i.ibb.co/vvjR9wKX/couple.jpg",
        "effect": "hearting",
        "prompt": "There are two people in the picture, they are standing close together, smiling and looking at the camera. Each person extends a hand (one person's left hand and the other person's right hand), and they meet in the middle to elegantly form a heart-shaped gesture. Only one complete heart-shaped gesture is allowed in the video, and no other additional heart-shaped gestures are allowed. The camera slowly zooms in, always keeping the two people and the only heart-shaped gesture intact, while the background is clear and natural, creating a warm and peaceful atmosphere.",
        "professional_mode": false
    }
}

fighting#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://i.ibb.co/vvjR9wKX/couple.jpg",
        "effect": "fighting",
        "prompt": "Two characters are punching and kicking fiercely, with momentary sparks, explosion smoke and flying dust effects at the contact of their bodies. The special effects flash by at each blow and do not persist. The camera gradually pulls away to show a wider fighting scene, ensuring that only the two characters in the picture are in continuous motion, with fast and powerful movements. The background is a dynamic outdoor or indoor environment with moderate light, highlighting the characters' movements, surrounded by natural elements or scene props, and the changes in light and shadow enhance the atmosphere. The special effects are synchronized with the blows to enhance the impact and dynamics of the scene.",
        "professional_mode": false
    }
}

kissing#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://i.ibb.co/vvjR9wKX/couple.jpg",
        "effect": "kissing",
        "prompt": "The two people are very close and quickly turn their heads to look at each other. One of them raises a hand and gently touches the other's cheek, the action is natural. The two then kiss, lips touching and staying for a few seconds. The camera slowly zooms in to focus on the intimate details, the picture is real and romantic, and the emotions are strong.",
        "professional_mode": false
    }
}

hugging#

{
    "model": "kling",
    "task_type": "effects",
    "input": {
        "image_url": "https://i.ibb.co/vvjR9wKX/couple.jpg",
        "effect": "hugging",
        "prompt": "The two characters stand together, as if they have just met, and slowly turn their heads to look at each other with gentle eyes. Then they move closer and embrace each other tenderly. The hugging posture is maintained for several seconds, and the camera stays steady, with sincere and moving emotions.",
        "professional_mode": false
    }
}
Previous
Kling Elements Video Generation API
Next
Cancel Tasks