Kuaishou (Kling) / kling-2-1
Kling 2.1 stands out for Kling model for expressive motion and camera work and Built for high-control video production. It is best suited to character and product motion and advertising and narrative clips.
Context
—
Not applicable
Unit rate
$0.048
/ image
Output
Included
Quality
#33
Elo 1325
Overview
Kling 2.1 stands out for Kling model for expressive motion and camera work and Built for high-control video production. It is best suited to character and product motion and advertising and narrative clips.
Image output
Can generate or return images through media-generation workflows.
Model maker
Kuaishou (Kling)
Called through SeaLink's unified account, balance, and OpenAI-compatible API.
Protocol
Media generation API
Base URL: https://api.sealink.io/v1
Pricing
The final charge follows generated usage and the applicable selector, such as resolution, duration, input type, or provider unit.
API
model
kling-2-1base_url
https://api.sealink.io/v1Auth
Bearer $SEALINK_API_KEYcurl https://api.sealink.io/v1/images/generations \-H "Authorization: Bearer $SEALINK_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "kling-2-1","prompt": "A serene lake at sunset, oil painting style","n": 1,"size": "1024x1024"}'
import requestsurl = "https://api.sealink.io/v1/images/generations"headers = {"Authorization": f"Bearer {api_key}"}payload = {"model": "kling-2-1","prompt": "A serene lake at sunset, oil painting style","n": 1,"size": "1024x1024",}resp = requests.post(url, json=payload, headers=headers)data = resp.json()print(data["data"][0]["url"])
const resp = await fetch("https://api.sealink.io/v1/images/generations", {method: "POST",headers: {"Authorization": `Bearer ${process.env.SEALINK_API_KEY}`,"Content-Type": "application/json",},body: JSON.stringify({model: "kling-2-1",prompt: "A serene lake at sunset, oil painting style",n: 1,size: "1024x1024",}),});const data = await resp.json();console.log(data.data[0].url);