SEEAPISEEAPI
Developer CenterDocs
Get API Key
  • Getting Started
  • Authentication
  • List Model Prices
  • Create a Generation
  • Get Task Details
Image Models
Alibaba
Black Forest Labs
ByteDance
Google
Grok
Kling
MiniMax
OpenAI
SeeAPI
Video Models
Alibaba
ByteDance
Google
Grok
Kling
Lightricks
MiniMax
PixVerse
Runway
SeeAPI
Vidu
Music Models
Text Models
Templates
  • 24K Magic AI API
  • Alors on Danse API
  • Apartment Dance API
  • Christmas Dance Trend API
  • Crazy Frog AI API
  • Enzo Fernandez Celebration API
  • Goodbye 2026, Welcome 2027 API
  • Hotel Lobby AI API
  • Neon Duo Dance API
  • Rap Video API
  • Rumpelstiltskin AI Dance API

Policies

  • Data Handling & Privacy
  • Terms of Service
  • Privacy Policy
  • Commercial Use Policy
www.seeapi.com

One AI API for every leading model. Create images, videos, music, and multimodal AI assets online, or build with one unified API.

Follow SeeAPI
𝕏
Explore
  • AI Model Collections
  • AI Tool Alternatives
Developers
  • AI Models
  • API Pricing
  • AI Integrations
  • API Keys
  • Documentation
Support
  • Pricing
  • [email protected]
Legal
  • Privacy Policy
  • Refund Policy
  • Terms & Conditions

Copyright 2026 © SeeAPI. All rights reserved.

GROWCRAFT PTE. LTD.

·5 RAFFLES PLACE, #06-00, RAFFLES PLACE MRT STATION, SINGAPORE 048618

Text to ImageImage EditLong Image

Kling Image 4.0 · Long Image

Create a tall product or webpage image from a prompt, with ecommerce or webpage workflows, optional references, and 1K or 2K output.

Developer API pricing

Provider: SeeAPI

USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.

1K: 133.432 credits/gen (≈ $0.50/gen, webpage) | 190.039 credits/gen (≈ $0.71/gen, e-commerce · long) | 113.889 credits/gen (≈ $0.43/gen, e-commerce · medium) | 57.282 credits/gen (≈ $0.21/gen, e-commerce · short)

2K: 144.888 credits/gen (≈ $0.54/gen, webpage) | 208.908 credits/gen (≈ $0.78/gen, e-commerce · long) | 133.432 credits/gen (≈ $0.50/gen, e-commerce · medium) | 68.738 credits/gen (≈ $0.26/gen, e-commerce · short)

Add-on

Additional reference images: +0.674 credits/image (≈ $0.003/image) (billed per additional image)

Request

POST/v1/generations
AuthorizationSend your API key in the Authorization header using the Bearer scheme.Authorization: Bearer ****************

Header Params

stringrequired

Stable key for retrying the same request. Reuse it only with an identical request body. Maximum length is 255 characters.

max length: 255
Example:
order-20260818-001

Body Params

application/json
stringrequired

Use kling-image-4-0.

Allowed:kling-image-4-0
Default:
kling-image-4-0
Example:
kling-image-4-0
stringrequired

Use long-image for tall product or webpage image generation.

Allowed:long-image
Default:
long-image
Example:
long-image
stringoptional

Optional public provider name. Use seeapi or omit it to use the default route.

Allowed:seeapi
Default:
seeapi
Example:
seeapi
objectrequired

Object containing the prompt, skill, skill-specific references, and output resolution.

Provider parameters

SeeAPIseeapiDefault Provider
stringrequired

Describe the long image content in 1–20,000 characters.

  • ecommerce: reference product images as @image_1, @image_2 … in the order of input_images
  • webpage: reference style_image as @style and subject_image as @subject
min length: 1max length: 20000
Example:
A cinematic city at night
stringrequired

Workflow type. Use ecommerce for product layouts or webpage for tall webpage compositions.

  • ecommerce: product detail page; requires image_urls, supports length
  • webpage: web page design; supports style_image and subject_image.
Allowed:ecommercewebpage
Example:
ecommerce
array <uri>optional

Accepted formats: JPEG, PNG. Maximum file size: 20 MB per file. Available when skill is "ecommerce".

  • Product reference images, required for ecommerce (1–3 publicly accessible URLs), referenced as @image_1 onward in order
  • Supported formats: PNG, JPEG
  • Maximum file size: 20MB
min items: 1max items: 3
Example:
["https://client.example.com/reference.png"]
stringoptional

For ecommerce only, choose short, medium, or long. Omit this field for webpage.A section is a content block within the single long image, not a separate image.

  • short: about 2–5 sections
  • medium: about 6–10 sections
  • long: about 11–18 sections
Allowed:shortmediumlong
string <uri>optional

Optional style reference image for webpage. Omit this field for ecommerce.

  • Reference it in the prompt as @style to borrow its visual style and layout.
  • Supported formats: PNG, JPEG
  • Maximum file size: 20MB
string <uri>optional

Optional subject reference image for webpage. Omit this field for ecommerce.

  • Reference it in the prompt as @subject; the subject in the image is preserved in the output.
  • Supported formats: PNG, JPEG
  • Maximum file size: 20MB
stringoptional

Output resolution. Use 1K or 2K. Resolution and reference material are billing dimensions.

Allowed:1K2K
Default:
2K
string <uri>optional

Optional absolute HTTPS URL for terminal generation webhooks.

max length: 2048
Example:
https://client.example.com/webhooks/seeapi

Responses

202The generation request was accepted and is being processed.
Bodyapplication/json
  • Use generation.id with the unified task-status endpoint to retrieve progress and results. If callback_url was supplied, wait for the terminal webhook.
objectrequired

Accepted generation record and its current lifecycle state.

stringrequired

Unique generation ID used to query status and retrieve results.

Example:
task_xxx
stringrequired

Model slug from the request.

Example:
kling-image-4-0
stringrequired

Endpoint used for the request.

Example:
long-image
stringrequired

Public provider name used for routing.

Allowed:seeapi
  • seeapi: SeeAPI
Example:
seeapi
stringrequired

Current lifecycle status. An accepted request starts in processing.

Allowed:processing
Example:
processing
numberrequired

Reserved credits for this request based on the selected workflow, resolution, and references.

Example:
69.412
numberrequired

Credits consumed after provider processing is reconciled.

Example:
0
numberrequired

Credits returned after a failed or cancelled request, when applicable.

Example:
0
string <date-time>required

Timestamp when the generation record was created.

Example:
2026-08-18T10:00:00Z
string <date-time>required

Timestamp when the generation record was last updated.

Example:
2026-08-18T10:00:00Z
booleanrequired

Whether this response replays an earlier request with the same Idempotency-Key.

Example:
false
200The existing generation request was replayed idempotently.
Bodyapplication/json
  • Reuse the same Idempotency-Key only with the identical request body.
objectrequired

Accepted generation record and its current lifecycle state.

stringrequired

Unique generation ID used to query status and retrieve results.

Example:
task_xxx
stringrequired

Model slug from the request.

Example:
kling-image-4-0
stringrequired

Endpoint used for the request.

Example:
long-image
stringrequired

Public provider name used for routing.

Allowed:seeapi
  • seeapi: SeeAPI
Example:
seeapi
stringrequired

Current lifecycle status. An accepted request starts in processing.

Allowed:processing
Example:
processing
numberrequired

Reserved credits for this request based on the selected workflow, resolution, and references.

Example:
69.412
numberrequired

Credits consumed after provider processing is reconciled.

Example:
0
numberrequired

Credits returned after a failed or cancelled request, when applicable.

Example:
0
string <date-time>required

Timestamp when the generation record was created.

Example:
2026-08-18T10:00:00Z
string <date-time>required

Timestamp when the generation record was last updated.

Example:
2026-08-18T10:00:00Z
booleanrequired

Whether this response replays an earlier request with the same Idempotency-Key.

Example:
false
400

Invalid JSON, parameters, Schema, or API Policy

401

Invalid API Key or authentication failed

402

Insufficient credits

403

The current request is not allowed

404

Model, Endpoint, or task not found

409

Idempotency conflict or the same request is still being created

413

Request body is too large

429

Too many requests

503

Service temporarily unavailable

Query Task Status

After submitting a task, use the unified query endpoint to check progress and retrieve results:

Get Task DetailsLearn how to query task status and retrieve generation results

For production workloads, prefer Webhooks for terminal updates and use task-status queries as a fallback when a callback is not available.

Related Resources

Market Overview

Explore all available models

Credits & Billing

View credit balance, plans, and billing activity

Usage

Review API usage and credit consumption

Callbacks

Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.

Webhook flow

Callback URL per generation.

Webhook signing key
Code Examples
Request
const response = await fetch("https://api.seeapi.com/v1/generations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Idempotency-Key": "order-20260818-001",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
  "model": "kling-image-4-0",
  "endpoint": "long-image",
  "provider": "seeapi",
  "input": {
    "prompt": "A cinematic city at night",
    "skill": "ecommerce",
    "input_images": [
      "https://client.example.com/reference.png"
    ],
    "length": "short",
    "resolution": "2K"
  },
  "callback_url": "https://client.example.com/webhooks/seeapi"
})
});

const result = await response.json();
ResponseHTTP 202
{
  "generation": {
    "id": "task_xxx",
    "model": "kling-image-4-0",
    "endpoint": "long-image",
    "provider": "seeapi",
    "status": "processing",
    "estimated_credits": 69.412,
    "consumed_credits": 0,
    "refunded_credits": 0,
    "created_at": "2026-08-18T10:00:00Z",
    "updated_at": "2026-08-18T10:00:00Z"
  },
  "idempotent": false
}
PreviousKling Image 4.0 · Image EditNextMiniMax H3 Image · Text to Image
Request
const response = await fetch("https://api.seeapi.com/v1/generations", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Idempotency-Key": "order-20260818-001",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
  "model": "kling-image-4-0",
  "endpoint": "long-image",
  "provider": "seeapi",
  "input": {
    "prompt": "A cinematic city at night",
    "skill": "ecommerce",
    "input_images": [
      "https://client.example.com/reference.png"
    ],
    "length": "short",
    "resolution": "2K"
  },
  "callback_url": "https://client.example.com/webhooks/seeapi"
})
});

const result = await response.json();
ResponseHTTP 202
{
  "generation": {
    "id": "task_xxx",
    "model": "kling-image-4-0",
    "endpoint": "long-image",
    "provider": "seeapi",
    "status": "processing",
    "estimated_credits": 69.412,
    "consumed_credits": 0,
    "refunded_credits": 0,
    "created_at": "2026-08-18T10:00:00Z",
    "updated_at": "2026-08-18T10:00:00Z"
  },
  "idempotent": false
}