Official

kwaivgi / kling-v1.6-standard

Generate 5s and 10s videos in 720p resolution at 30fps (Updated 2 weeks, 1 day ago)

  • Public
  • 821.6K runs
  • Commercial use
Iterate in playground

Run replicate/kling-v1.6-standard-internal with an API

Use one of our client libraries to get started quickly.

Set the REPLICATE_API_TOKEN environment variable

export REPLICATE_API_TOKEN=<paste-your-token-here>

Learn more about authentication

Install Replicate’s Node.js client library

npm install replicate
Learn more about setup

Run kwaivgi/kling-v1.6-standard using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

import { writeFile } from "fs/promises";
import Replicate from "replicate";
const replicate = new Replicate();

const input = {
    prompt: "a portrait photo of a woman underwater with flowing hair",
    start_image: "https://replicate.delivery/pbxt/MNRKHnYUu5HjNqEerj2kxWRmUD3xWGaZ0gJmhqVbkra2jCbD/underwater.jpeg"
};

const output = await replicate.run("kwaivgi/kling-v1.6-standard", { input });
await writeFile("output.mp4", output);
//=> output.mp4 written to disk
Learn more