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
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 VideoImage to VideoReference to Video

Kling 4.0 Flash · Reference to Video

Generate fast 720p video from reference images, videos and named subjects with Kling 4.0 Flash. Submit an asynchronous generation, then query its status to retrieve the finished video.

Developer API pricing

Provider: SeeAPI

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

Price: 23.14 credits/sec (≈ $0.087/sec, no video) | 15.39 credits/sec (≈ $0.058/sec, with video)

Note: Without input video: no-video unit price × output duration. With input video: with-video unit price × [output duration + max(total input video duration, output duration)]. If the input is shorter than the output, billable duration is twice the output duration; otherwise, it is input plus output duration. Total input video duration includes reference videos and subject videos.

Request

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

Header Params

stringrequired

A unique key used to safely retry the same request.

  • Required; maximum 255 characters.
  • Reuse the same key only with the same request body.
max length: 255
Example:
order-20260818-001

Body Params

application/json
stringrequired

The model identifier.

  • Required. Use kling-4-0-flash.
Allowed:kling-4-0-flash
Default:
kling-4-0-flash
Example:
kling-4-0-flash
stringrequired

The generation capability to run.

  • Required. Use reference-to-video.
Allowed:reference-to-video
Default:
reference-to-video
Example:
reference-to-video
stringoptional

The public provider to use.

  • Optional. The default provider is seeapi.
Allowed:seeapi
Default:
seeapi
Example:
seeapi
objectrequired

Contains the generation prompt, output settings and reference media.

  • Required object. Provide at least one of reference_images, reference_video_urls or elements.
  • Use publicly accessible HTTPS media URLs.

Provider parameters

SeeAPIseeapiDefault Provider
array <uri>optional

Images that guide the visual appearance, composition or scene. Refer to them in the prompt as @image_1, @image_2 and so on, following array order.

  • Up to 10 images. JPEG, PNG or WebP, at most 10 MB each.
  • Reference images, reference videos and subjects together count toward a 15-reference limit.
  • Reference images do not add a separate charge.
max items: 10
array <uri>optional

Videos that guide motion or scene content. Refer to them as @video_1, @video_2 and so on, following array order.

  • Up to 5 videos, including subject videos. MP4, MOV, MKV, AVI or WebM, at most 10 MB each.
  • Each video must be 2–20 seconds; the combined duration of all input videos, including subject videos, must not exceed 20 seconds.
  • Supply the video URL, not a thumbnail or poster image.
  • Any input video switches billing to video units; see duration_seconds.
max items: 5
array <object>optional

Named subjects that preserve the identity of a person, animal, object or other visual element. Reference a subject in the prompt with @ followed by its name.

  • Up to 7 subjects, of which at most 3 may use video.
  • Each subject needs 2–4 images or one video; do not provide both for the same subject.
  • Subjects count toward the 15-reference limit; subject videos also count toward the 5-video and 20-second input limits.
max items: 7
Example:
[{"name":"subject_1","image_urls":["https://client.example.com/front.png","https://client.example.com/side.png"]}]
stringrequired

The name used to refer to this subject in the prompt, for example @subject_1.

  • 1–20 Chinese characters, letters, digits or underscores.
  • Names must be unique across subjects, ignoring case. Reserved reference names are unavailable.
min length: 1max length: 20
Example:
subject_1
array <uri>optional

Multiple views of the same subject; the first image is the primary view.

  • Provide 2–4 JPEG, PNG or WebP images.
  • Required when video_url is absent; mutually exclusive with video_url.
min items: 2max items: 4
Example:
["https://client.example.com/front.png","https://client.example.com/side.png"]
string <uri>optional

A continuous single-shot video of a character to use as the named subject.

  • Duration 3–8 seconds; the shortest side must be at least 700 pixels.
  • Use a single continuous shot without cuts or transitions, otherwise the generation fails.
  • Mutually exclusive with image_urls; video subjects support character only.
stringoptional

Describes the subject category to help interpret the supplied visual material.

  • Allowed values: character, animal, prop, costume, scene, effect, others.
  • Video subjects must use character. A bound voice is supported only for a character.
Allowed:characteranimalpropcostumesceneeffectothers
stringoptional

A short description that clarifies the subject and its distinguishing traits.

  • Maximum 100 characters.
max length: 100
string <uri>optional

A speech sample that binds a voice to this character.

  • Character subjects only. At most 20 MB.
  • Use clear speech without long pauses. The sample is used in full, without automatic trimming.
  • A bound voice cannot be referenced separately in the prompt.
booleanoptional

Controls whether to preserve the original sound from reference videos.

  • Default: false.
  • Only applies when reference_video_urls is supplied; otherwise it is ignored.
Default:
false
stringrequired

Describe the scene, action and camera movement. Use @ references to identify the supplied images, videos and subjects.

  • Required; maximum 8000 characters.
  • Every @ reference must match a supplied item. Subject references use their configured names.
max length: 8000
Example:
@subject_1 drives a small green car through a busy city street at dusk, with the camera tracking alongside.
numberoptional

The requested output video length, in seconds.

  • Integer from 3 to 20; default 5. This is the output length, not the duration of the reference media.
  • Without input videos, billing is per output second.
  • With any input video (including subject videos), billed units = duration_seconds + max(total input video seconds rounded up, duration_seconds). For example, a 5-second output with 8 seconds of input video bills 13 units; with 3 seconds of input video it bills 10 units.
min: 3max: 20
Default:
5
stringoptional

The output video resolution.

  • Optional. Only 720p is available; default 720p.
Allowed:720p
Default:
720p
stringoptional

The output video aspect ratio.

  • Optional. Allowed values: auto, 16:9, 9:16, 1:1, 21:9. Default: auto.
  • With auto, the model chooses the frame ratio.
Allowed:auto16:99:161:121:9
Default:
auto
string <uri>optional

An absolute HTTPS URL that receives the terminal generation webhook.

  • Optional; maximum 2048 characters.
  • Verify webhook signatures before processing callbacks.
max length: 2048
Example:
https://client.example.com/webhooks/seeapi

Responses

202The request was accepted for asynchronous processing.
Bodyapplication/json
  • Save generation.id and query the task until it reaches a terminal state.
  • This response does not contain the completed video.
objectrequired

The accepted generation and its current processing status.

stringrequired

The generation identifier. Save it to query status and retrieve the result.

Example:
task_xxx
stringrequired

The model used for this generation.

Example:
kling-4-0-flash
stringrequired

The endpoint used for this generation.

Example:
reference-to-video
stringrequired

The selected public provider.

Allowed:seeapi
  • seeapi: SeeAPI
Example:
seeapi
stringrequired

The current generation state. Processing does not mean the video is ready.

Allowed:processing
Example:
processing
numberrequired

The estimated charge in public credits for this request.

Example:
115.7
numberrequired

Credits consumed by this generation so far.

Example:
0
numberrequired

Credits refunded for this generation so far.

Example:
0
string <date-time>required

The time the generation was created, in ISO 8601 format.

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

The time the generation was last updated, in ISO 8601 format.

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

Whether this is a replay of an earlier request with the same idempotency key.

Example:
false
200An existing generation was returned for an idempotent replay.
Bodyapplication/json
  • The same idempotency key and request body return the original generation rather than creating another one.
objectrequired

The accepted generation and its current processing status.

stringrequired

The generation identifier. Save it to query status and retrieve the result.

Example:
task_xxx
stringrequired

The model used for this generation.

Example:
kling-4-0-flash
stringrequired

The endpoint used for this generation.

Example:
reference-to-video
stringrequired

The selected public provider.

Allowed:seeapi
  • seeapi: SeeAPI
Example:
seeapi
stringrequired

The current generation state. Processing does not mean the video is ready.

Allowed:processing
Example:
processing
numberrequired

The estimated charge in public credits for this request.

Example:
115.7
numberrequired

Credits consumed by this generation so far.

Example:
0
numberrequired

Credits refunded for this generation so far.

Example:
0
string <date-time>required

The time the generation was created, in ISO 8601 format.

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

The time the generation was last updated, in ISO 8601 format.

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

Whether this is a replay of 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

Submit requests from your server using a Bearer API key. Store the generation identifier and use Get Task Details to check progress and retrieve the result. Acceptance does not mean the video is complete.

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

Related Resources

Market Overview

Explore all available models

Credits & Billing

View credit balance, plans, and billing activity

Usage

Review API usage and credit consumption

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-4-0-flash",
  "endpoint": "reference-to-video",
  "provider": "seeapi",
  "input": {
    "elements": [
      {
        "name": "subject_1",
        "image_urls": [
          "https://client.example.com/front.png",
          "https://client.example.com/side.png"
        ],
        "tag": "character"
      }
    ],
    "keep_original_sound": false,
    "prompt": "@subject_1 drives a small green car through a busy city street at dusk, with the camera tracking alongside.",
    "duration_seconds": 5,
    "resolution": "720p",
    "aspect_ratio": "auto"
  },
  "callback_url": "https://client.example.com/webhooks/seeapi"
})
});

const result = await response.json();
ResponseHTTP 202
{
  "generation": {
    "id": "task_xxx",
    "model": "kling-4-0-flash",
    "endpoint": "reference-to-video",
    "provider": "seeapi",
    "status": "processing",
    "estimated_credits": 115.7,
    "consumed_credits": 0,
    "refunded_credits": 0,
    "created_at": "2026-08-18T10:00:00Z",
    "updated_at": "2026-08-18T10:00:00Z"
  },
  "idempotent": false
}
PreviousKling 4.0 Flash · Image to VideoNextKling 2.5 · Text to Video
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-4-0-flash",
  "endpoint": "reference-to-video",
  "provider": "seeapi",
  "input": {
    "elements": [
      {
        "name": "subject_1",
        "image_urls": [
          "https://client.example.com/front.png",
          "https://client.example.com/side.png"
        ],
        "tag": "character"
      }
    ],
    "keep_original_sound": false,
    "prompt": "@subject_1 drives a small green car through a busy city street at dusk, with the camera tracking alongside.",
    "duration_seconds": 5,
    "resolution": "720p",
    "aspect_ratio": "auto"
  },
  "callback_url": "https://client.example.com/webhooks/seeapi"
})
});

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