---
last_updated: 2026-12-04
source_url: https://opper.ai/kuaishou/kling-image-4-0
title: "Kling Image 4.0 by Kuaishou"
description: "Kling Image 4.0, Kuaishou's image model, generates images from text and from cited reference images, and can return a series of related images in one request."
---

# Kling Image 4.0

By [Kuaishou](https://opper.ai/kuaishou).

Kling Image 4.0 is Kuaishou's image model in the Kling 4.0 family. It generates images from a prompt alone, or from a prompt plus reference images and registered Kling elements that the prompt cites by name, so one request can take a subject from one image and a setting from another. Up to ten reference images and elements can be combined.

It works in two modes. Single mode returns up to nine independent images. Series mode returns two to ten related images, or lets the model choose how many.

Kling lists 2K, 4K and 8K output in eight aspect ratios, plus an automatic ratio that follows the inputs.

## Available routes

Kling Image 4.0 runs on 1 route through the Opper gateway. Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=kling%3Asg%2Fkling-image-4.0.

| Provider | Model id | Region | Zero data retention | Training | Price |
| --- | --- | --- | --- | --- | --- |
| [Kling AI](https://opper.ai/provider/kling) | `kling:sg/kling-image-4.0` | SG (Singapore) | Abuse monitoring | No | $0.063 / generation |

## Key info

- Model id: `kling:sg/kling-image-4.0`
- Input: Text, Image
- Output: Image
- Features: none listed
- Pricing: $0.063 / generation
- Billing: Per generation
- Zero data retention with abuse monitoring
- No training by default

## Pricing

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

| Variant | Price |
| --- | --- |
| Standard | $0.063 / generation |

## Data handling per route

Each route hosting Kling Image 4.0 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: No prompt cache
- Transfer mechanism: unknown

Verified by Opper on 2026-11-02.

## Get started

Call Kling Image 4.0 through the Opper gateway with one API key. Image models run on Opper's images endpoint: POST /v3/images returns the image in the response, as base64 by default.

See the [Opper images guide](https://docs.opper.ai/build/multimodal/images) and the [Opper multimodal skill](https://skills.opper.ai/opper-multimodal/SKILL.md).

Kling Image 4.0 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

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai/opper-multimodal/SKILL.md Generate an image with Kling Image 4.0
```

### Or call it directly

cURL:

```bash
curl -s https://api.opper.ai/v3/images \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kling:sg/kling-image-4.0",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "aspect_ratio": "1:1"
  }' \
  | jq -r '.data[0].b64_json' | base64 --decode > image.png

# To edit an image, add "image": "https://..." (or a file_<id>) to the body
```

JavaScript:

```javascript
import { writeFile } from "node:fs/promises";

const res = await fetch("https://api.opper.ai/v3/images", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPPER_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "kling:sg/kling-image-4.0",
    "prompt": "A watercolor lighthouse on a cliff at sunrise",
    "aspect_ratio": "1:1"
  }),
});
const { data } = await res.json();
// Each image comes back as base64 (b64_json) unless you ask for a url
await writeFile("image.png", Buffer.from(data[0].b64_json, "base64"));
```

## Use Kling Image 4.0 in your apps

Pick your tool to see how to run it on Kling Image 4.0 through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/kling-image-4-0)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/kling-image-4-0)
- [Codex](https://opper.ai/apps/codex/kling-image-4-0)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/kling-image-4-0)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/kling-image-4-0)
- [Aider](https://opper.ai/apps/aider/kling-image-4-0)
- [Goose](https://opper.ai/apps/goose/kling-image-4-0)
- [Droid](https://opper.ai/apps/droid/kling-image-4-0)
- [OpenCode](https://opper.ai/apps/opencode/kling-image-4-0)
- [Pi](https://opper.ai/apps/pi/kling-image-4-0)
- [OpenClaw](https://opper.ai/apps/openclaw/kling-image-4-0)
- [Hermes](https://opper.ai/apps/hermes/kling-image-4-0)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/kling-image-4-0)
- [OmniRoute](https://opper.ai/apps/omniroute/kling-image-4-0)
- [Cursor](https://opper.ai/apps/cursor/kling-image-4-0)
- [Cline](https://opper.ai/apps/cline/kling-image-4-0)
- [Continue](https://opper.ai/apps/continue/kling-image-4-0)
- [Kilo Code](https://opper.ai/apps/kilo-code/kling-image-4-0)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/kling-image-4-0)
- [Zed](https://opper.ai/apps/zed/kling-image-4-0)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/kling-image-4-0)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/kling-image-4-0)
- [n8n](https://opper.ai/apps/n8n/kling-image-4-0)
- [LibreChat](https://opper.ai/apps/librechat/kling-image-4-0)
- [Open WebUI](https://opper.ai/apps/open-webui/kling-image-4-0)
- [See all apps](https://opper.ai/apps)

## Other models from Kuaishou

- [Kling 4.0](https://opper.ai/kuaishou/kling-4-0)
- [Kling 3.0 Pro](https://opper.ai/kuaishou/kling-3-0-pro)
- [Kling 3.0 Turbo](https://opper.ai/kuaishou/kling-3-0-turbo)
- [Kling 3.0 Omni 4K](https://opper.ai/kuaishou/kling-o3-4k)
- [Kling 3.0 4K](https://opper.ai/kuaishou/kling-3-0-4k)
- [Kling 3.0 4K](https://opper.ai/kuaishou/kling-3-0-4k-i2v)
