Skip to main content

video models

Kling Effects API & Playground

Create AI video effects like squish, expansion, birthday, and water effects in the Kling Effects playground. Integrate the Kling Effects API via PiAPI with simple POST calls.

Bắt đầu ngay!

Kling Effects API Pricing

Pay-as-you-go access through PiAPI.

Standard effects

$0.20

  • 10 schema-priced Kling effect presets
  • Per generated video

Professional effects

$0.30

  • 5 schema-priced professional presets
  • Per generated video

Features

Capabilities from the production model page.

Effect-first image-to-video workflow

Upload one image, select a supported Kling effect, and generate a short animated video.

15 priced preset effects

The current schema exposes 10 standard-price presets and 5 professional-price presets.

Simple task API

Create an effects task with model kling, then poll the task ID for its completed video URL.

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "kling",
    "task_type": "effects",
    "input": {
      "effect": "squish",
      "professional_mode": false,
      "image_url": "YOUR_IMAGE_URL"
    }
  }'

# → { "task_id": "9d5a…", "status": "pending" }

Frequently asked questions

What is the Kling Effects API?

Kling Effects API creates short image-to-video animations. Upload an image, select an effect such as squish or water, submit an effects task, and retrieve the finished video through PiAPI.

How is Kling Effects priced?

The authorized preset tiers are $0.20 per video for standard effects and $0.30 per video for professional effects. The selected effect determines the tier.

What input does an effects task need?

An effects task uses model kling, task_type effects, an effect name, and an image_url. Some effects may also benefit from an optional prompt.

Can I try focused effects such as kiss or squish?

Yes. The Kling AI Kiss and AI Squish Generator pages keep focused mini-app workflows for those effects, while this page exposes the broader effects selector.

More questions? See the API docs.

Our blog

Kling Effects API