kwaivgi / kling-v2.0
Generate 5s and 10s videos in 720p resolution
- Public
- 57.7K runs
Prediction
kwaivgi/kling-v2.0Official modelIDfyphb9cd29rme0cpdjprt0ty0cStatusSucceededSourceWebTotal durationCreatedby @replicateInput
- prompt
- A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.
- duration
- 5
- cfg_scale
- 0.5
- aspect_ratio
- 16:9
- negative_prompt
{ "prompt": "A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.", duration: 5, cfg_scale: 0.5, aspect_ratio: "16:9", negative_prompt: "" }; const output = await replicate.run("kwaivgi/kling-v2.0", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "kwaivgi/kling-v2.0", input={ "prompt": "A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } }' \ https://api.replicate.com/v1/models/kwaivgi/kling-v2.0/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-25T11:25:44Z", "created_at": "2025-04-25T11:20:35.346000Z", "data_removed": false, "error": "", "id": "fyphb9cd29rme0cpdjprt0ty0c", "input": { "prompt": "A cute hamster lies leisurely on a lifebuoy, wearing fashionable sunglasses, and drifts with the gentle waves on the shimmering sea surface. The hamster reclines comfortably, enjoying a peaceful and pleasant time. Cartoon style, the camera follows the subject moving, with a heartwarming and high picture quality.", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }, "logs": "Moderating content...\r\nModeration complete in 0.23sec\r\nGenerating video...\r\nGenerated video in 307.3sec\r\nDownloading 3699121 bytes\r\nDownloaded 3.53MB in 1.26sec", "metrics": { "predict_time": 308.841671624, "total_time": 308.654 }, "output": "https://replicate.delivery/xezq/5yttbR1oSDJzHpWnebG5iZyr40Sil3qHJeYduWYJuND4MSmUA/tmpt4eqvp03.mp4", "started_at": "2025-04-25T11:20:35Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xspdrw7pdl6alie2s7g6qutc6iqf4jklbqkd2f22bh74b6q456vq", "get": "https://api.replicate.com/v1/predictions/fyphb9cd29rme0cpdjprt0ty0c", "cancel": "https://api.replicate.com/v1/predictions/fyphb9cd29rme0cpdjprt0ty0c/cancel" }, "version": "hidden" }
Prediction
kwaivgi/kling-v2.0Official modelIDmawzcas54nrmc0cpdjqbhefrg0StatusSucceededSourceWebTotal durationCreatedby @replicateInput
- prompt
- Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving
- duration
- 5
- cfg_scale
- 0.5
- aspect_ratio
- 16:9
- negative_prompt
{ "prompt": "Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving", duration: 5, cfg_scale: 0.5, aspect_ratio: "16:9", negative_prompt: "" }; const output = await replicate.run("kwaivgi/kling-v2.0", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "kwaivgi/kling-v2.0", input={ "prompt": "Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } }' \ https://api.replicate.com/v1/models/kwaivgi/kling-v2.0/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-25T11:26:32Z", "created_at": "2025-04-25T11:21:14.277000Z", "data_removed": false, "error": "", "id": "mawzcas54nrmc0cpdjqbhefrg0", "input": { "prompt": "Aerial view of the city with flying vehicles swiftly navigating through the neon-lit skyscrapers. the camera follows the subject moving", "duration": 5, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }, "logs": "Moderating content...\r\nModeration complete in 0.23sec\r\nGenerating video...\r\nGenerated video in 314.8sec\r\nDownloading 9444877 bytes\r\nDownloaded 9.01MB in 2.67sec", "metrics": { "predict_time": 317.747410249, "total_time": 317.723 }, "output": "https://replicate.delivery/xezq/5Dz9jfMSnFX2YyYuMiyEew5BeDKfRUduCxnFfNELH9cHtRykC/tmpkx9ahog6.mp4", "started_at": "2025-04-25T11:21:14Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-tw7kledriiirece47oqcxwlydnkjnhlqoeqpsze5amcsu5orqtxq", "get": "https://api.replicate.com/v1/predictions/mawzcas54nrmc0cpdjqbhefrg0", "cancel": "https://api.replicate.com/v1/predictions/mawzcas54nrmc0cpdjqbhefrg0/cancel" }, "version": "hidden" }
Prediction
kwaivgi/kling-v2.0Official modelIDppnrq4m1nnrme0cpfgq844h9tmStatusSucceededSourceWebTotal durationCreatedInput
- prompt
- she lets down her hair and then puts on a baseball cap
- duration
- 10
- cfg_scale
- 0.5
- aspect_ratio
- 16:9
- negative_prompt
{ "prompt": "she lets down her hair and then puts on a baseball cap", "duration": 10, "cfg_scale": 0.5, "start_image": "https://replicate.delivery/pbxt/MuoKoJY9ikEgeISxVzXzHnl1nJyDkeqZfXdPWnXHoTXXbfJX/0_1.webp", "aspect_ratio": "16:9", "negative_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "she lets down her hair and then puts on a baseball cap", duration: 10, cfg_scale: 0.5, start_image: "https://replicate.delivery/pbxt/MuoKoJY9ikEgeISxVzXzHnl1nJyDkeqZfXdPWnXHoTXXbfJX/0_1.webp", aspect_ratio: "16:9", negative_prompt: "" }; const output = await replicate.run("kwaivgi/kling-v2.0", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "kwaivgi/kling-v2.0", input={ "prompt": "she lets down her hair and then puts on a baseball cap", "duration": 10, "cfg_scale": 0.5, "start_image": "https://replicate.delivery/pbxt/MuoKoJY9ikEgeISxVzXzHnl1nJyDkeqZfXdPWnXHoTXXbfJX/0_1.webp", "aspect_ratio": "16:9", "negative_prompt": "" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "she lets down her hair and then puts on a baseball cap", "duration": 10, "cfg_scale": 0.5, "start_image": "https://replicate.delivery/pbxt/MuoKoJY9ikEgeISxVzXzHnl1nJyDkeqZfXdPWnXHoTXXbfJX/0_1.webp", "aspect_ratio": "16:9", "negative_prompt": "" } }' \ https://api.replicate.com/v1/models/kwaivgi/kling-v2.0/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-04-28T11:49:11.521867Z", "created_at": "2025-04-28T11:35:44.813000Z", "data_removed": false, "error": null, "id": "ppnrq4m1nnrme0cpfgq844h9tm", "input": { "prompt": "she lets down her hair and then puts on a baseball cap", "duration": 10, "cfg_scale": 0.5, "start_image": "https://replicate.delivery/pbxt/MuoKoJY9ikEgeISxVzXzHnl1nJyDkeqZfXdPWnXHoTXXbfJX/0_1.webp", "aspect_ratio": "16:9", "negative_prompt": "" }, "logs": "Moderating content...\nModerating content...\nImage size: 15.0KB\nModeration complete in 0.27sec\nModeration complete in 0.54sec\nImage size: 131.6KB\nGenerating video...\nGenerated video in 804.4sec\nDownloading 10141295 bytes\nDownloaded 9.67MB in 1.62sec", "metrics": { "predict_time": 806.701158031, "total_time": 806.708867 }, "output": "https://replicate.delivery/xezq/j41jSNE5XZrINtgJa2a1iZGWWJ2fqZrDRvgp7RONDTob6oTKA/tmpywa55xce.mp4", "started_at": "2025-04-28T11:35:44.820709Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-x4y333ploh5oguss4xfjjyrqylxmdiu72nxo3nio54xryq5qq2xq", "get": "https://api.replicate.com/v1/predictions/ppnrq4m1nnrme0cpfgq844h9tm", "cancel": "https://api.replicate.com/v1/predictions/ppnrq4m1nnrme0cpfgq844h9tm/cancel" }, "version": "hidden" }
Prediction
kwaivgi/kling-v2.0Official modelIDqbdfb4h0pxrmc0cpwnavfknnc4StatusSucceededSourceWebTotal durationCreatedInput
- prompt
- A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind
- duration
- 10
- cfg_scale
- 0.5
- aspect_ratio
- 16:9
- negative_prompt
{ "prompt": "A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind", "duration": 10, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { prompt: "A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind", duration: 10, cfg_scale: 0.5, aspect_ratio: "16:9", negative_prompt: "" }; const output = await replicate.run("kwaivgi/kling-v2.0", { input }); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "kwaivgi/kling-v2.0", input={ "prompt": "A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind", "duration": 10, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run kwaivgi/kling-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "input": { "prompt": "A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind", "duration": 10, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" } }' \ https://api.replicate.com/v1/models/kwaivgi/kling-v2.0/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-18T21:54:00.701015Z", "created_at": "2025-05-18T21:38:03.575000Z", "data_removed": false, "error": null, "id": "qbdfb4h0pxrmc0cpwnavfknnc4", "input": { "prompt": "A woman is talking directly to the camera, twitch live stream, pink and gold uplighting behind", "duration": 10, "cfg_scale": 0.5, "aspect_ratio": "16:9", "negative_prompt": "" }, "logs": "Generating video...\nGenerated video in 800.3sec\nGenerated video ID: a939005d-8c2b-4bc1-96f3-85e2ad32c0b1\nDownloading 4146394 bytes\nDownloaded 3.95MB in 1.76sec", "metrics": { "predict_time": 802.216559927, "total_time": 957.126015 }, "output": "https://replicate.delivery/xezq/xFLpDJ8JaJbMMBgHUdm7xRbxJ7pWi9wSb8NAec4QfAi4jAuUA/tmpiaoh0jgh.mp4", "started_at": "2025-05-18T21:40:38.484455Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-6q57acxfwpfbr3jnr3zonft25voel3qbl5v5sadwxorq2luofcoq", "get": "https://api.replicate.com/v1/predictions/qbdfb4h0pxrmc0cpwnavfknnc4", "cancel": "https://api.replicate.com/v1/predictions/qbdfb4h0pxrmc0cpwnavfknnc4/cancel" }, "version": "hidden" }
Want to make some of these yourself?
Run this model