← Back to catalog

Kling Element

Live
imagegenedit

Create a reusable Kling "element" from a frontal image plus optional reference images.

Endpoint

POSThttps://brahmand-api.bulletshorts.co/v1/image/kling-element

Authenticate with the X-API-Key request header.

Pricing

7 credits / call1 credit = ₹1. Billed on success: per generation.

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

Parameters

NameTypeRequiredDescriptionDefault / options
image_urlstringrequiredFrontal/primary image of the element.
namestringoptionalElement name (max 14 chars).
default: element
descriptionstringoptionalElement description (max 100 chars).
refer_image_urlsstring[]optionalUp to 3 additional reference images.
callback_urlstringoptionalWebhook URL notified when the task completes.

Request

curl
curl -X POST https://brahmand-api.bulletshorts.co/v1/image/kling-element \
  -H "X-API-Key: $TRINETRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url":"https://example.com/mascot-front.jpg","name":"mascot","refer_image_urls":["https://example.com/mascot-side.jpg"]}'
request body (JSON)
{
  "image_url": "https://example.com/mascot-front.jpg",
  "name": "mascot",
  "refer_image_urls": [
    "https://example.com/mascot-side.jpg"
  ]
}

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_klingelement_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_klingelement_a1b2c3",
  "model": "kling-element",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/kling-element/a1b2c3.png",
        "type": "image"
      }
    ]
  },
  "credits_charged": 10
}

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