typetext
{
"aspect_ratio": "16:9",
"duration": 15,
"generate_audio": true,
"mode": "pro",
"prompt": "A Wes Anderson style movie trailer with symmetrical framing and pastel colors. Opening: a perfectly centered shot of a grand pink hotel facade with teal shutters. A bellboy in a pillbox hat pushes a luggage cart precisely down the center of a hallway. Quick lateral tracking shots: a mustachioed concierge stamps a passport, twin sisters in matching yellow dresses ride a tandem bicycle through a village square, a detective examines a painting through a magnifying glass while standing in an absurdly tiny elevator. Every shot is perfectly balanced and color-coordinated in pastels. Final symmetrical shot of the entire cast standing in a row on the hotel steps. Text in a vintage serif font: \"KLING V3 OMNI VIDEO\" then \"NOW ON REPLICATE\". Whimsical harpsichord music, the sound of a bell ding."
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_Zqc**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run kwaivgi/kling-v3-omni-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
aspect_ratio: "16:9",
duration: 15,
generate_audio: true,
mode: "pro",
prompt: "A Wes Anderson style movie trailer with symmetrical framing and pastel colors. Opening: a perfectly centered shot of a grand pink hotel facade with teal shutters. A bellboy in a pillbox hat pushes a luggage cart precisely down the center of a hallway. Quick lateral tracking shots: a mustachioed concierge stamps a passport, twin sisters in matching yellow dresses ride a tandem bicycle through a village square, a detective examines a painting through a magnifying glass while standing in an absurdly tiny elevator. Every shot is perfectly balanced and color-coordinated in pastels. Final symmetrical shot of the entire cast standing in a row on the hotel steps. Text in a vintage serif font: \"KLING V3 OMNI VIDEO\" then \"NOW ON REPLICATE\". Whimsical harpsichord music, the sound of a bell ding."
};
const output = await replicate.run("kwaivgi/kling-v3-omni-video", { 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.
pip install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_Zqc**********************************
This is your API token. Keep it to yourself.
import replicate
Run kwaivgi/kling-v3-omni-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"kwaivgi/kling-v3-omni-video",
input={
"aspect_ratio": "16:9",
"duration": 15,
"generate_audio": True,
"mode": "pro",
"prompt": "A Wes Anderson style movie trailer with symmetrical framing and pastel colors. Opening: a perfectly centered shot of a grand pink hotel facade with teal shutters. A bellboy in a pillbox hat pushes a luggage cart precisely down the center of a hallway. Quick lateral tracking shots: a mustachioed concierge stamps a passport, twin sisters in matching yellow dresses ride a tandem bicycle through a village square, a detective examines a painting through a magnifying glass while standing in an absurdly tiny elevator. Every shot is perfectly balanced and color-coordinated in pastels. Final symmetrical shot of the entire cast standing in a row on the hotel steps. Text in a vintage serif font: \"KLING V3 OMNI VIDEO\" then \"NOW ON REPLICATE\". Whimsical harpsichord music, the sound of a bell ding."
}
)
# 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.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_Zqc**********************************
This is your API token. Keep it to yourself.
Run kwaivgi/kling-v3-omni-video 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": {
"aspect_ratio": "16:9",
"duration": 15,
"generate_audio": true,
"mode": "pro",
"prompt": "A Wes Anderson style movie trailer with symmetrical framing and pastel colors. Opening: a perfectly centered shot of a grand pink hotel facade with teal shutters. A bellboy in a pillbox hat pushes a luggage cart precisely down the center of a hallway. Quick lateral tracking shots: a mustachioed concierge stamps a passport, twin sisters in matching yellow dresses ride a tandem bicycle through a village square, a detective examines a painting through a magnifying glass while standing in an absurdly tiny elevator. Every shot is perfectly balanced and color-coordinated in pastels. Final symmetrical shot of the entire cast standing in a row on the hotel steps. Text in a vintage serif font: \\"KLING V3 OMNI VIDEO\\" then \\"NOW ON REPLICATE\\". Whimsical harpsichord music, the sound of a bell ding."
}
}' \
https://api.replicate.com/v1/models/kwaivgi/kling-v3-omni-video/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "thkxqbvsfsrmt0cwdf1bpy02cc",
"model": "kwaivgi/kling-v3-omni-video",
"version": "hidden",
"input": {
"aspect_ratio": "16:9",
"duration": 15,
"generate_audio": true,
"mode": "pro",
"prompt": "A Wes Anderson style movie trailer with symmetrical framing and pastel colors. Opening: a perfectly centered shot of a grand pink hotel facade with teal shutters. A bellboy in a pillbox hat pushes a luggage cart precisely down the center of a hallway. Quick lateral tracking shots: a mustachioed concierge stamps a passport, twin sisters in matching yellow dresses ride a tandem bicycle through a village square, a detective examines a painting through a magnifying glass while standing in an absurdly tiny elevator. Every shot is perfectly balanced and color-coordinated in pastels. Final symmetrical shot of the entire cast standing in a row on the hotel steps. Text in a vintage serif font: \"KLING V3 OMNI VIDEO\" then \"NOW ON REPLICATE\". Whimsical harpsichord music, the sound of a bell ding."
},
"logs": "Using model: kling-v3-omni in pro mode\nGenerating omni video...\nGenerated video in 540.3sec\nGenerated video ID: 852726812567945227\nDownloading 19789877 bytes\nDownloaded 18.87MB in 9.07sec",
"output": "https://replicate.delivery/xezq/AImFJWR6Ql5LDZmvfKs00PVIcfSPk1Xe7vBVO7T0qLgM6DRsA/tmppwqbccfx.mp4",
"data_removed": false,
"error": null,
"source": "api",
"status": "succeeded",
"created_at": "2026-02-17T13:20:33.15Z",
"started_at": "2026-02-17T13:20:33.161515Z",
"completed_at": "2026-02-17T13:29:43.104737Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/thkxqbvsfsrmt0cwdf1bpy02cc/cancel",
"get": "https://api.replicate.com/v1/predictions/thkxqbvsfsrmt0cwdf1bpy02cc",
"stream": "https://stream.replicate.com/v1/files/jbxs-n5xe5myubt6ecc73ak2d2uca5eu7jb6rbhrtovx2e53rh2gw2ofa",
"web": "https://replicate.com/p/thkxqbvsfsrmt0cwdf1bpy02cc"
},
"metrics": {
"predict_time": 549.943221763,
"total_time": 549.954737577
}
}