Animate a first frame image into a fast 720p video with Kling 4.0 Flash. Provide the image and a prompt describing the motion, then retrieve the finished video through the asynchronous task API.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
Price: 23.14 credits/sec (≈ $0.087/sec)
/v1/generationsA unique key used to safely retry the same request.
order-20260818-001The model identifier.
kling-4-0-flashkling-4-0-flashkling-4-0-flashThe generation capability to run.
image-to-videoimage-to-videoimage-to-videoThe public provider to use.
seeapiseeapiseeapiThe first frame image, text prompt and output settings for this generation.
Provider parameters
seeapiDefault ProviderThe image used as the first frame of the video. The motion described in the prompt starts from this frame.
https://client.example.com/input.pngDescribe how the subjects and camera should move from the first frame.
The car drives slowly down a quiet city street at dusk. The camera follows from behind as the street lights turn on.The output video duration in seconds.
5The output video resolution.
720p720pAn absolute HTTPS URL that receives the terminal generation webhook.
https://client.example.com/webhooks/seeapiThe accepted generation and its current processing status.
The generation identifier. Save it to query status and retrieve the result.
task_xxxThe model used for this generation.
kling-4-0-flashThe endpoint used for this generation.
image-to-videoThe selected public provider.
seeapiseeapi: SeeAPIseeapiThe current generation state. Processing does not mean the video is ready.
processingprocessingThe estimated charge in public credits for this request.
115.7Credits consumed by this generation so far.
0Credits refunded for this generation so far.
0The time the generation was created, in ISO 8601 format.
2026-08-18T10:00:00ZThe time the generation was last updated, in ISO 8601 format.
2026-08-18T10:00:00ZWhether this is a replay of an earlier request with the same idempotency key.
falseThe accepted generation and its current processing status.
The generation identifier. Save it to query status and retrieve the result.
task_xxxThe model used for this generation.
kling-4-0-flashThe endpoint used for this generation.
image-to-videoThe selected public provider.
seeapiseeapi: SeeAPIseeapiThe current generation state. Processing does not mean the video is ready.
processingprocessingThe estimated charge in public credits for this request.
115.7Credits consumed by this generation so far.
0Credits refunded for this generation so far.
0The time the generation was created, in ISO 8601 format.
2026-08-18T10:00:00ZThe time the generation was last updated, in ISO 8601 format.
2026-08-18T10:00:00ZWhether this is a replay of an earlier request with the same idempotency key.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
After submitting a task, use the unified query endpoint to check progress and retrieve 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.
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
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": "image-to-video",
"provider": "seeapi",
"input": {
"first_frame_image": "https://client.example.com/input.png",
"prompt": "The car drives slowly down a quiet city street at dusk. The camera follows from behind as the street lights turn on.",
"duration_seconds": 5,
"resolution": "720p"
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "kling-4-0-flash",
"endpoint": "image-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
}