video effects
Kling Effects
Video effects model by Kling. Price from $1.37. Prices in US dollars.
Try it in the PlaygroundAsyncvideo effects
kwaivgi/kling-effects
Quick start
The request is async: you send it, get an ID and poll until it's done. The example uses the model's default values and runs the whole flow.
# 1. Send the request and keep the ID
ID=$(curl -s https://api.wizzyflow.ai/api/v3/kwaivgi/kling-effects \
-H "Authorization: Bearer $WIZZYFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"image": "https://example.com/photo.jpg",
"effect_scene": "glamour_photo_shoot"
}' | jq -r '.data.id')
# 2. Poll every 2 seconds until it's done
while true; do
RES=$(curl -s https://api.wizzyflow.ai/api/v3/predictions/$ID/result \
-H "Authorization: Bearer $WIZZYFLOW_API_KEY")
STATUS=$(echo "$RES" | jq -r '.data.status')
case "$STATUS" in completed|failed|timeout) break ;; esac
sleep 2
done
# 3. The outputs (URLs) and the price charged
echo "$RES" | jq '.data | {status, outputs, price, error}'The response right after sending:
{
"code": 200,
"message": "success",
"data": {
"id": "8f1c2e4a-…",
"model": "kwaivgi/kling-effects",
"status": "created",
"outputs": [],
"urls": { "get": "https://api.wizzyflow.ai/api/v3/predictions/8f1c2e4a-…/result" },
"price": 1.37,
"currency": "USD"
}
}Getting the result
Poll GET https://api.wizzyflow.ai/api/v3/predictions/{id}/result every 2 seconds, with the same key, until the status is final.
| status | What it means |
|---|---|
created | Received, waiting its turn. |
processing | Generating. |
completed | Done: the outputs are in outputs and the amount charged in price. |
failed | Failed: the reason is in error and nothing is charged. |
timeout | Went over the time limit: nothing is charged. |
{
"code": 200,
"message": "success",
"data": {
"id": "8f1c2e4a-…",
"model": "kwaivgi/kling-effects",
"status": "completed",
"outputs": ["https://…/video.mp4"],
"error": "",
"price": 1.37,
"currency": "USD",
"created_at": "2026-10-29T14:02:11Z",
"completed_at": "2026-10-29T14:02:38Z",
"executionTime": 27000
}
}Authentication
Send the key in the Authorization: Bearer $WIZZYFLOW_API_KEY header. Keep the key in an environment variable, on the server; never in browser code.
To resend the same request without risk of a double charge (after a network drop, for example), send the Idempotency-Key header with a value of your own, up to 200 characters. The same value returns the same job.
Input
Parameters go in the body, as JSON. Any you don't send use their default.
| Name | Type | Values | Default |
|---|---|---|---|
imagerequired | URL | — | — |
effect_scenerequired | option | glamour_photo_shoot, box_of_joy, first_toast_of_the_year, my_santa_pic, santa_gift, steampunk_christmas, snowglobe, ornament_crash, santa_express, instant_christmas, coronation_of_frost, building_sweater, spark_in_the_snow, scarlet_and_snow, bullet_time_lite, jumping_ginger_joy, pure_white_wings, black_wings, golden_wing, pink_pink_wings, venomous_spider, throne_of_king, luminous_elf, woodland_elf, guardian_spirit, swish_swish, snowboarding, witch_transform, vampire_transform, pumpkin_head_transform, demon_transform, mummy_transform, zombie_transform, cute_pumpkin_transform, halloween_escape, running_man, 3d_cartoon_2, surfsurf, skateskate, pet_dance, pet_moto_rider, swing_swing, day_to_night, palm_sized_figure_pro, korean_baseball, f1_live, football_live, tennis_trend, red_card_sent_off, air_dunk, martial_meow, magic_world_vlog, spielberg_transition, landmark_reveal, bullet_time_360, flash_ride, magic_carpet_ride, return_of_the_king, dance_with_dragon, bloodline_dance, sassy_shake, twist_shake, get_rich_quick, make_it_rain, skyfall, surprise_bouquet, happy_birthday | — |
Output
Sending and polling return the job in the same format, inside data.
| Field | Type | What it is |
|---|---|---|
id | string | The job ID, to check the result. |
model | string | The model that generated it. |
status | string | created, processing, completed, failed or timeout. |
outputs | list of URLs | The generated videos, mostly mp4. |
error | string | The reason for the failure, when it fails. |
urls.get | URL | The address to check this job. |
price | number | Amount held when sent and charged when it's done, in your account's currency. |
currency | string | BRL or USD: your account's currency. |
created_at, completed_at | date | When it was received and when it finished. |
executionTime | number | Total time, in milliseconds. |