kling-v2-6 API
Generate video from text or images with kling-v2-6 on APISea, with optional audio in professional mode.
kling-v2-6תמחור API של kling-v2-6
כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.
| אפשרות | APISea | רשמי | חיסכון |
|---|---|---|---|
| ברירת מחדלברירת מחדל | $0.04048 | $0.042 | −4% |
| pro | $0.06875 | $0.07 | −2% |
| pro-sound | $0.1375 | $0.14 | −2% |
| pro-sound-voice | $0.165 | $0.168 | −2% |
המחירים הם לכל שנייה.
מהו kling-v2-6?
kling-v2-6 is Kuaishou’s Kling video generation model for turning text prompts or reference images into short videos. It supports 5- or 10-second outputs in landscape, portrait, or square formats. Standard mode produces silent 720P video; professional mode produces 1080P video and supports automatic audio generation and voice selection. Supply one image to control the first frame, or two images in professional mode to control both the first and last frames. Prompts and optional negative prompts describe what to include or exclude.
On APISea, submit generation requests through the video endpoint and use the returned task ID for subsequent status queries. Access uses your APISea key with Bearer authentication. Billing is pay-as-you-go, only for successful requests: Default costs $0.04048 per second, pro costs $0.06875 per second, pro-sound costs $0.1375 per second, and pro-sound-voice costs $0.165 per second. The Default configuration is about 4% below the provider list price.
המאפיינים הבולטים של kling-v2-6
Text And Image Inputs
Generate from a required text prompt, with optional image URLs for image-to-video. One image sets the first frame; two images set the first and last frames in professional mode.
Two Resolution Modes
Standard mode generates silent 720P video. Professional mode generates 1080P video.
Optional Generated Audio
Professional mode supports automatic audio generation and voice selection. Audio cannot be combined with two-image first-and-last-frame control.
Duration And Format Controls
Choose 5- or 10-second video and 16:9, 9:16, or 1:1 aspect ratios. For image-to-video, the image ratio may override the requested aspect ratio.
איך לקרוא ל-API של kling-v2-6 ב-4 שלבים
- 01
יצירת מפתח API
יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.
- 02
הגדרת כתובת הבסיס
יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.
- 03
שליחת הבקשה
יש לקרוא ל-POST /v1/videos/generations עם "model": "kling-v2-6" והפרמטרים שלהלן.
- 04
טיפול בתגובה
התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.
דוגמאות לבקשות
תיעוד: Kling 2.6 Video Generationcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-v2-6",
"prompt": "A golden cat running on a sunlit meadow, slow motion, cinematic quality",
"mode": "std",
"duration": 5,
"aspect_ratio": "16:9"
}'פרמטרים
| פרמטר | סוג | נדרש | ברירת מחדל | תיאור |
|---|---|---|---|---|
model | string | נדרש | — | Video generation model name |
nsfw_check | boolean | אופציונלי | false | Whether to run content moderation before submitting the video task. |
prompt | string | נדרש | — | Text prompt, maximum **2500 characters** |
mode | string | אופציונלי | std | Generation mode |
duration | integer | אופציונלי | 5 | Video duration (seconds) |
aspect_ratio | string | אופציונלי | 16:9 | Video aspect ratio |
negative_prompt | string | אופציונלי | — | Negative prompt to exclude unwanted content |
image_urls | array\<url\> | אופציונלי | — | Image URL array for image-to-video generation |
audio | boolean | אופציונלי | false | Whether to automatically generate audio |
watermark | boolean | אופציונלי | — | Whether to add watermark |
מה אפשר לבנות עם kling-v2-6
Prompt-Based Video Prototypes
Build a tool that turns scene descriptions into 5- or 10-second clips for reviewing creative concepts.
Still-Image Animation
Let users supply a reference image as the first frame and describe the action they want in the generated video.
Controlled Scene Transitions
Create professional-mode clips with supplied starting and ending images when both endpoint frames matter, without generated audio.
Audio-Enabled Clip Creation
Build a professional-mode workflow that generates video with automatic audio for short-form content drafts.
טיפים לקבלת תוצאות טובות יותר
- 01
Describe The Scene
Keep the required prompt within 2500 characters. Describe scenes, actions, and styles in detail, and use negative_prompt to exclude unwanted content.
- 02
Choose Mode Before Audio
Set mode to pro when enabling audio. Keep audio disabled when providing two image URLs for first-and-last-frame control.
- 03
Start With Five Seconds
Use the default 5-second duration for initial iterations before requesting 10 seconds. APISea prices this model per second, so duration affects cost.
- 04
Track The Task ID
Generation is asynchronous: store the returned task_id and use it for subsequent status queries rather than expecting a finished video in the submission response.
מגבלות ודברים שכדאי לדעת
Prompts are limited to 2500 characters, and video duration must be 5 or 10 seconds.
Image-to-video accepts at most two images; two-image control requires professional mode and cannot be combined with audio.
Standard mode supports silent video only, and image inputs may override the requested aspect ratio.
שאלות נפוצות על API של kling-v2-6
How much does kling-v2-6 cost on APISea?
APISea Default costs $0.04048 per second, pro costs $0.06875 per second, pro-sound costs $0.1375 per second, and pro-sound-voice costs $0.165 per second. Default is about 4% below the provider list price, and APISea bills only successful requests.
How do I call kling-v2-6 through the API?
Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer authentication using your APISea key. Set model to kling-v2-6 and provide the required prompt; the asynchronous response returns a task ID for subsequent queries.
What video lengths and aspect ratios are supported?
Supported durations are 5 and 10 seconds, with 5 seconds as the default. Aspect ratios are 16:9, 9:16, and 1:1, with 16:9 as the default; image inputs may override the requested ratio.
Can kling-v2-6 generate video with audio?
Yes, professional mode supports automatic audio generation and voice selection. Set mode to pro and audio to true for automatic audio; standard mode is silent only, and audio cannot be combined with two-image last-frame control.
How does first-and-last-frame control work?
Provide one URL in image_urls to set the first frame, or two URLs to set the first and last frames. Two-image control requires professional mode, accepts no additional images, and cannot be used with generated audio.
Can I use kling-v2-6 outputs commercially?
Commercial use is subject to the provider's terms. Review the applicable Kuaishou terms before using generated videos in commercial products or campaigns.
מודלים קשורים
kling-3.0-turbo
kling-v2-6-motion-control
kling-v3
kling-v3-motion-control
kling-v3-omni
kling-v4
kling-v4-flash
kling-video-o1
מתחילים לבנות עם kling-v2-6
מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.