typetext
{
"negative_prompt": "",
"prompt": "A tiger floating gently on giant lotus leaves, hyperrealistic, 4k HD, National geographic",
"seed": 42,
"target_fps": 60,
"target_resolution": "4k"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_9ks**********************************
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 veo-3-apps/veo-3-fast-upscaled using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
negative_prompt: "",
prompt: "A tiger floating gently on giant lotus leaves, hyperrealistic, 4k HD, National geographic",
seed: 42,
target_fps: 60,
target_resolution: "4k"
};
const output = await replicate.run("veo-3-apps/veo-3-fast-upscaled", { 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_9ks**********************************
This is your API token. Keep it to yourself.
import replicate
Run veo-3-apps/veo-3-fast-upscaled using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"veo-3-apps/veo-3-fast-upscaled",
input={
"negative_prompt": "",
"prompt": "A tiger floating gently on giant lotus leaves, hyperrealistic, 4k HD, National geographic",
"seed": 42,
"target_fps": 60,
"target_resolution": "4k"
}
)
# 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_9ks**********************************
This is your API token. Keep it to yourself.
Run veo-3-apps/veo-3-fast-upscaled 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": {
"negative_prompt": "",
"prompt": "A tiger floating gently on giant lotus leaves, hyperrealistic, 4k HD, National geographic",
"seed": 42,
"target_fps": 60,
"target_resolution": "4k"
}
}' \
https://api.replicate.com/v1/models/veo-3-apps/veo-3-fast-upscaled/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "d76mn844ndrmc0crepvbkqb714",
"model": "veo-3-apps/veo-3-fast-upscaled",
"version": "hidden",
"input": {
"negative_prompt": "",
"prompt": "A tiger floating gently on giant lotus leaves, hyperrealistic, 4k HD, National geographic",
"seed": 42,
"target_fps": 60,
"target_resolution": "4k"
},
"logs": "",
"output": "https://replicate.delivery/xezq/eI1c8velx2mJuEVfcJx6l0gwJM23U92Mqip00dwQzr6czQPqA/tmpmzhwdku7.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-04T15:32:32.555Z",
"started_at": "2025-08-04T15:32:33.089827Z",
"completed_at": "2025-08-04T15:40:31.384565Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/d76mn844ndrmc0crepvbkqb714/cancel",
"children": "https://api.replicate.com/v1/predictions/d76mn844ndrmc0crepvbkqb714/children",
"get": "https://api.replicate.com/v1/predictions/d76mn844ndrmc0crepvbkqb714",
"root": "https://api.replicate.com/v1/predictions/d76mn844ndrmc0crepvbkqb714",
"stream": "https://stream.replicate.com/v1/files/bcwr-zzfvmjkct6hf222cqi4chnkg5mmobumj6d3amr4h4jth5zmgrd2a",
"web": "https://replicate.com/p/d76mn844ndrmc0crepvbkqb714"
},
"metrics": {
"predict_time": 478.294738131,
"total_time": 478.829565
}
}