← Back to catalog

Kling Effects

Live
videogen

Apply a preset Kling visual effect (single- or dual-image scenes).

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/video/kling-effects

Authenticate with the X-API-Key request header.

Pricing

19 credits / sec1 credit = ₹1. Billed on success: per second of output.
Price varies by resolution — pass resolution in your request. Credit cost per second:
resolutioncredits / secvs base
720p191×
1080p301.6×

List price. Volume / bulk customers get a discounted rate — contact us for account pricing.

Parameters

NameTypeRequiredDescriptionDefault / options
effect_scenestringrequiredEffect preset to apply.
bloombloomdizzydizzyfuzzyfuzzysquishexpansionhugkissheart_gesture
image_urlstringoptionalSingle source image (required for single-image effects).
image_urlsstring[]optionalExactly 2 images (required for dual effects: hug, kiss, heart_gesture).
durationnumberoptionalClip length in seconds.
default: 5
510
modestringoptionalQuality mode.
default: std
stdpro
external_task_idstringoptionalCaller-supplied correlation/idempotency id.
callback_urlstringoptionalWebhook URL notified when the task completes.

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/video/kling-effects \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"effect_scene":"squish","image_url":"https://example.com/toy.jpg","duration":5}'
request body (JSON)
{
  "effect_scene": "squish",
  "image_url": "https://example.com/toy.jpg",
  "duration": 5
}

Response

Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.

202 Accepted
{
  "job_id": "job_klingeffects_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_klingeffects_a1b2c3",
  "model": "kling-effects",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/kling-effects/a1b2c3.mp4",
        "type": "video"
      }
    ]
  },
  "credits_charged": 10
}

Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.