Kling Image 4.0 Long

Creates one tall image for a webpage or a product detail page. Choose a width of 1024 or 2048 pixels.

Cost

from 18 tokens

ImageProvider: Kling

Try Kling Image 4.0 Long in Givon AI

Open a working project for regular creation, or use Playground to inspect the model parameters.

Use through API

Request fields, constraints, and ready-to-use examples for developers. The user workflow starts above.

Run generation
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
  -H "Authorization: Bearer $GIVON_API_KEY" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"image","model":"kling-long-image-4.0","input":{"prompt":"studio portrait of a red corgi, soft light","aspectRatio":"auto","quality":"webpage","imageSize":"1k","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'

Input fields

* required
prompt*prompt

Image description.

Type
string
Default
—
Allowed
up to 50000 chars
aspectRatioaspectRatio
Type
string
Default
auto
Allowed
auto
qualityquality
Type
string
Default
webpage
Allowed
webpage, short, medium, long
imageSizeimageSize
Type
string
Default
1k
Allowed
1k, 2k
Source imagesourceImage

Asset used as the source image for image editing.

Type
string
Default
—
Allowed
image · asset, https, data
Reference imagesreferenceAssetUris

Optional reference images as asset:// URIs, HTTPS URLs, or data URIs. Up to 3 input images in total; with sourceImage, up to 2 additional references.

Type
array
Default
—
Allowed
image · up to 3 · asset, https, data

Cost

from 18 tokens
Webpage · 1Kdefault41 tk
Webpage · 1K · With references41.5 tk
Webpage · 2K44.5 tk
Webpage · 2K · With references45 tk
Product page (short) · 1K18 tk
Product page (short) · 2K21.5 tk
Product page (medium) · 1K35.5 tk
Product page (medium) · 2K41.5 tk
Product page (long) · 1K59 tk
Product page (long) · 2K64.5 tk

The variant is selected automatically from request fields, so you do not need to send it.

Capabilities

Modestext_to_imageimage_edit
Asset slotssourceImage:imagereferenceAssetUris:image[]<=3
Get API key

Where to use this model