Kling Outpainting

by Kuaishou

Kling Outpainting grows an image's canvas up, down, left or right, by up to twice its size on each side and three times its area in total, and fills the new space so it continues the original scene. An optional prompt steers what appears there. It suits reframing a shot for a new aspect ratio.

Call Kling Outpainting on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Pricing
$0.028 / generation
Billing
Per generation
  • Zero data retention with abuse monitoring
  • No training by default

Pricing

Usage-based pricing, billed per generation, not by token.

VariantPrice
Standard$0.028 / generation

Available routes

Kling Outpainting runs on 1 route through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

ProviderRegionZero data retentionTrainingPrice
SingaporeNo$0.028 / generation

Live routes and prices as JSON: api.opper.ai/v3/models?q=kling%3Asg%2Fkling-image-expand

Data handling per route

Each route hosting Kling Outpainting has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Kling AI — Singapore🇸🇬

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 30 days for abuse monitoring only, and are not used for training. No training on customer data. SG; unknown.

Zero data retention
With abuse monitoring, 30-day window.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Abuse monitoring
On by default, holds flagged content
Caching
Not cached
GDPR DPA
No DPA
Transfer mechanism
unknown

Get started

Call Kling Outpainting through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Kling Outpainting is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "kling:sg/kling-image-expand",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Kling Outpainting in your apps

Pick your tool, then choose Kling Outpainting to see how to run it through Opper.

Compare Kling Outpainting with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from Kuaishou

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation