Kuaishou

Kling v4 long image

Image

Ecommerce and webpage long images

Model health Insufficient data
curl -X POST https://runapi.ai/api/v1/kling/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kling-v4-long-image",
  "prompt": "A red apple on a white table",
  "output_resolution": "2k",
  "skill": "ecommerce",
  "source_image_urls": [
    "https://cdn.runapi.ai/public/samples/image.jpg"
  ]
}'
https://runapi.ai 1 endpoint
Playground

Try Kling v4 long image

Pick any model and generate in seconds.

Skill

At most 3 files

Estimated: $0.32-$1.17 / image

Sign in to generate with RunAPI.

Sign in to generate

Sign in to start generating with your available language models.

Specifications

Technical details

Provider Kuaishou
Model ID kling-v4-long-image
Modality Image
Task types Asynchronous
API endpoint /api/v1/kling/text_to_image
Billing unit call
Input parameters callback_url, length, model, output_resolution, prompt, skill, source_image_urls, style_image_url, subject_image_url
Max resolution 1k, 2k
Catalog status Operational
HOW IT WORKS

Use This Model in 3 Steps

  1. Get Your Key

    Sign up for free and create an API key for kling-v4-long-image from the dashboard.

  2. Send a Request

    POST to /api/v1/kling/text_to_image with the kling-v4-long-image model slug and your parameters.

  3. Get Results

    Poll the task or follow the callback to retrieve the completed kling-v4-long-image result.

What this model offers

Output resolution

Supports 1k, 2k from the published endpoint schema.

Flexible parameters

Configure 7 documented parameters, including length, output_resolution, prompt, skill, source_image_urls.

Endpoint coverage

Exposes 1 public endpoint(s): text_to_image.

Webhook delivery

Asynchronous tasks accept a callback URL for completion notifications.

Kling v4 long image Pricing

Endpoint
Resolution
Duration
Price
text_to_image
Not available
call
$0.32-$1.17 / image
  • Pricing image branch: webpage · Output resolution: 1k: $0.74 / image
  • Pricing image branch: webpage · Output resolution: 2k: $0.81 / image
  • Pricing image branch: ecommerce_long · Output resolution: 1k: $1.06 / image
  • Pricing image branch: ecommerce_long · Output resolution: 2k: $1.16 / image
  • Pricing image branch: ecommerce_short · Output resolution: 1k: $0.32 / image
  • Pricing image branch: ecommerce_short · Output resolution: 2k: $0.38 / image
  • Pricing image branch: ecommerce_medium · Output resolution: 1k: $0.63 / image
  • Pricing image branch: ecommerce_medium · Output resolution: 2k: $0.74 / image
  • Reference images: $0.0038 per image.
API REFERENCE

Endpoint Specification

Endpoint
POST /api/v1/kling/text_to_image
Model ID
kling-v4-long-image
Task Types
text_to_image
Max Duration
Unavailable
Resolutions
1k, 2k
Aspect Ratios
Unavailable
Output Format
Unavailable
Avg Generation Time
Unavailable

Request parameters

skill

Required string

Long-image skill; case insensitive. (ecommerce, webpage)

length

Optional string

Ecommerce image length. (short, medium, long)

prompt

Required string

Long image description. References must name supplied images: @image_N, @style or @subject.

callback_url

Optional string

Webhook URL for async notifications.

style_image_url

Optional string

Optional webpage style reference: public HTTP/HTTPS JPG or PNG, at most 20 MB.

output_resolution

Optional string

Output resolution. (1k, 2k)

source_image_urls

Optional array

Ecommerce product images: public HTTP/HTTPS JPG or PNG, at most 20 MB each.

subject_image_url

Optional string

Optional webpage subject reference: public HTTP/HTTPS JPG or PNG, at most 20 MB.

USE CASES

Product photography

Auto-generate lifestyle product photos for e-commerce catalogs that lack studio photography.

Game & concept art

Rapidly concept environments and characters before committing to final art.

Editorial illustration

Generate unique cover art and illustrations for blog posts and articles at scale.

FAQ

Frequently asked questions about Kling v4 long image

How do I select kling-v4-long-image?

Pass the model ID shown in the quickstart.

What's the rate limit on this variant?

Per-key rate limits scale with your usage tier. The pricing page shows current limits. If you need higher throughput, contact support to discuss tier upgrades.

Can I switch variants later?

Yes. Variant is a parameter in the request. Switch by changing the model ID — no code changes, no re-authentication, no separate billing setup. All variants share the same API key and request shape.

Does it stream?

Where streaming is available, RunAPI streams end-to-end. LLM models support token-level streaming. Media models use async task polling or webhook callbacks for result delivery.

Where do I report quality issues?

Open an issue on the public GitHub repo or email support at [email protected]. Include the task ID and model ID so the team can investigate the specific generation.

Do I need a separate provider account?

No. Your RunAPI API key is enough to access this variant and every other model in the catalog. You do not need accounts with the underlying provider.

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us