typefile
{
"aspect_ratio": "16:9",
"duration": 5,
"input_image": "https://replicate.delivery/pbxt/NPb8WZ1ekxai7wG7aurtk3isRc2ILnkJDyrICEHa6ltTAwR5/replicate-prediction-83rj69vf35rmc0cr7bcvq3d0kr.webp",
"prompt": "swimming",
"resolution": "480p"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_bpQ**********************************
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 rinesh/not-real-konsistent using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
aspect_ratio: "16:9",
duration: 5,
input_image: "https://replicate.delivery/pbxt/NPb8WZ1ekxai7wG7aurtk3isRc2ILnkJDyrICEHa6ltTAwR5/replicate-prediction-83rj69vf35rmc0cr7bcvq3d0kr.webp",
prompt: "swimming",
resolution: "480p"
};
const output = await replicate.run("rinesh/not-real-konsistent", { 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_bpQ**********************************
This is your API token. Keep it to yourself.
import replicate
Run rinesh/not-real-konsistent using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"rinesh/not-real-konsistent",
input={
"aspect_ratio": "16:9",
"duration": 5,
"input_image": "https://replicate.delivery/pbxt/NPb8WZ1ekxai7wG7aurtk3isRc2ILnkJDyrICEHa6ltTAwR5/replicate-prediction-83rj69vf35rmc0cr7bcvq3d0kr.webp",
"prompt": "swimming",
"resolution": "480p"
}
)
# 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_bpQ**********************************
This is your API token. Keep it to yourself.
Run rinesh/not-real-konsistent 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": 5,
"input_image": "https://replicate.delivery/pbxt/NPb8WZ1ekxai7wG7aurtk3isRc2ILnkJDyrICEHa6ltTAwR5/replicate-prediction-83rj69vf35rmc0cr7bcvq3d0kr.webp",
"prompt": "swimming",
"resolution": "480p"
}
}' \
https://api.replicate.com/v1/models/rinesh/not-real-konsistent/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "v6ze1g32r1rmc0cr7bda33japr",
"model": "rinesh/not-real-konsistent",
"version": "hidden",
"input": {
"aspect_ratio": "16:9",
"duration": 5,
"input_image": "https://replicate.delivery/pbxt/NPb8WZ1ekxai7wG7aurtk3isRc2ILnkJDyrICEHa6ltTAwR5/replicate-prediction-83rj69vf35rmc0cr7bcvq3d0kr.webp",
"prompt": "swimming",
"resolution": "480p"
},
"logs": "Using FLUX Kontext Pro for image editing...\nUsing SeeDANCE for video generation...",
"output": "https://replicate.delivery/xezq/RZMRf7syNp0rDSWSPdBRzOrcPXyPzOdPZvVc3YqcYXOrm7hKA/video_169.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-07-24T05:14:07.424Z",
"started_at": "2025-07-24T05:14:14.352255Z",
"completed_at": "2025-07-24T05:15:02.864496Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/v6ze1g32r1rmc0cr7bda33japr/cancel",
"children": "https://api.replicate.com/v1/predictions/v6ze1g32r1rmc0cr7bda33japr/children",
"get": "https://api.replicate.com/v1/predictions/v6ze1g32r1rmc0cr7bda33japr",
"root": "https://api.replicate.com/v1/predictions/v6ze1g32r1rmc0cr7bda33japr",
"stream": "https://stream.replicate.com/v1/files/bcwr-2o2ghv4xbqncq3mg5foob4z2gyycrop5ktqt33lk5zkybartuf4a",
"web": "https://replicate.com/p/v6ze1g32r1rmc0cr7bda33japr"
},
"metrics": {
"predict_time": 48.512241263,
"total_time": 55.440496
}
}