← Back to catalog

Kling Image Expand

Coming soon
imageedit

Outpaint/expand an image in any direction (awaiting a Kling image resource pack).

Planned — not yet callable. The schema below reflects the intended request shape.

Endpoint

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

Authenticate with the X-API-Key request header.

Pricing

6 credits / image1 credit = ₹1. Billed on success: per image.

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

Parameters

NameTypeRequiredDescriptionDefault / options
imagestringrequiredSource image to expand.
up_expansion_rationumberoptionalTop expansion ratio (0-2).
default: 0
down_expansion_rationumberoptionalBottom expansion ratio (0-2).
default: 0
left_expansion_rationumberoptionalLeft expansion ratio (0-2).
default: 0
right_expansion_rationumberoptionalRight expansion ratio (0-2).
default: 0
callback_urlstringoptionalWebhook URL notified when the task completes.

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_klingimageexpand_a1b2c3",
  "status": "queued"
}
GET /v1/jobs/{id} → succeeded
{
  "id": "job_klingimageexpand_a1b2c3",
  "model": "kling-image-expand",
  "status": "succeeded",
  "output": {
    "outputs": [
      {
        "url": "https://cdn.trinetra.ai/out/kling-image-expand/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.