KlingV2

kling/kling-v2

kling/klingv2是快手研发的文生/图生视频双模态模型,能精准还原文本描述或首帧画面细节,生成动作连贯、场景一致的动态内容。支持720P分辨率、24fps帧率,可输出写实、国漫等多风格视频,还内置基础运镜功能。适配短视频创作、动态海报等场景,兼顾生成效率与画面质感,满足轻量级动态创意需求。

Modalities
Public starting price
Priced by multiple attributes
Added to catalog
Sep 1, 2025

Online Inference

Configure input

Controls and defaults come directly from this model’s API schema.

Configure the model first, then sign in when you are ready to generate.Sign in to generate

Task result

Preview the model before signing inAll controls are available now. Sign in only when you submit the task.
KlingV2
Progress—
Elapsed—
Request ID—

Task History

Task history

Only generation records from the last seven days are available.

Generation details

API Call

KlingV2 code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

#!/usr/bin/env bash set -euo pipefail API_KEY="$SSY_API_KEY" curl --fail-with-body --silent --show-error --location \ --request POST \ "https://router.shengsuanyun.com/api/v1/tasks/generations" \ --header "Content-Type: application/json" \ --header "Authorization: Bearer ${API_KEY}" \ --data '{ "model": "kling/kling-v2", "aspect_ratio": "16:9", "cfg_scale": 0.7, "duration": 10, "image": "https://oss.shengsuanyun.com/example/modelinfo/117/2025-09-23_18:43:08_input_1.png", "mode": "pro", "negative_prompt": "模糊,低质量,变形", "prompt": "写实风格下,一座玻璃楼梯螺旋向上延伸至柔和的淡紫色天空中。一位赤脚舞者正一步步向上攀登,[向上跟拍镜头]始终跟随她优雅的身姿,直至一同升入云端。" }'
                  
                    
                        
                        #!/usr/bin/env bash
                      
                        
                        set -euo pipefail
                      
                        
                        ​
                      
                        
                        API_KEY="$SSY_API_KEY"
                      
                        
                        ​
                      
                        
                        curl --fail-with-body --silent --show-error --location \
                      
                        
                          --request POST \
                      
                        
                          "https://router.shengsuanyun.com/api/v1/tasks/generations" \
                      
                        
                          --header "Content-Type: application/json" \
                      
                        
                          --header "Authorization: Bearer ${API_KEY}" \
                      
                        
                          --data '{
                      
                        
                          "model": "kling/kling-v2",
                      
                        
                          "aspect_ratio": "16:9",
                      
                        
                          "cfg_scale": 0.7,
                      
                        
                          "duration": 10,
                      
                        
                          "image": "https://oss.shengsuanyun.com/example/modelinfo/117/2025-09-23_18:43:08_input_1.png",
                      
                        
                          "mode": "pro",
                      
                        
                          "negative_prompt": "模糊,低质量,变形",
                      
                        
                          "prompt": "写实风格下,一座玻璃楼梯螺旋向上延伸至柔和的淡紫色天空中。一位赤脚舞者正一步步向上攀登,[向上跟拍镜头]始终跟随她优雅的身姿,直至一同升入云端。"
                      
                        
                        }'
                      
                  
                
#!/usr/bin/env bash set -euo pipefail API_KEY="$SSY_API_KEY" REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}" curl --fail-with-body --silent --show-error --location \ --request GET \ "https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \ --header "Authorization: Bearer ${API_KEY}"
                  
                    
                        
                        #!/usr/bin/env bash
                      
                        
                        set -euo pipefail
                      
                        
                        ​
                      
                        
                        API_KEY="$SSY_API_KEY"
                      
                        
                        REQUEST_ID="${SSY_REQUEST_ID:?Set SSY_REQUEST_ID to the ID returned by task submission}"
                      
                        
                        ​
                      
                        
                        curl --fail-with-body --silent --show-error --location \
                      
                        
                          --request GET \
                      
                        
                          "https://router.shengsuanyun.com/api/v1/tasks/generations/${REQUEST_ID}" \
                      
                        
                          --header "Authorization: Bearer ${API_KEY}"
                      
                  
                

Pricing

Pricing Details

All prices shown in CNY
图像生成视频
  • 720p5秒:¥10.00/次
  • 720p10秒:¥20.00/次
  • 1080p5秒:¥10.00/次
  • 1080p10秒:¥20.00/次
文本生成视频
  • 720p5秒:¥10.00/次
  • 720p10秒:¥20.00/次
  • 1080p5秒:¥10.00/次
  • 1080p10秒:¥20.00/次