typetext
{
"negative_prompt": "",
"prompt": "A shaky dolly zoom goes from a far away blur to a close-up cinematic shot of a desperate man in a weathered green trench coat as he picks up a rotary phone mounted on a gritty brick wall, bathed in the eerie glow of a green neon sign. The zoom reveals the tension and the desperation etched on his face as he struggles to talk on the phone. The shallow depth of field focuses on his furrowed brow and the black rotary phone, blurring the background into a sea of neon colors and indistinct shadows, creating a sense of urgency and isolation.",
"seed": 42,
"target_fps": 60,
"target_resolution": "1080p"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_4Ro**********************************
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-upscaled using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
negative_prompt: "",
prompt: "A shaky dolly zoom goes from a far away blur to a close-up cinematic shot of a desperate man in a weathered green trench coat as he picks up a rotary phone mounted on a gritty brick wall, bathed in the eerie glow of a green neon sign. The zoom reveals the tension and the desperation etched on his face as he struggles to talk on the phone. The shallow depth of field focuses on his furrowed brow and the black rotary phone, blurring the background into a sea of neon colors and indistinct shadows, creating a sense of urgency and isolation.",
seed: 42,
target_fps: 60,
target_resolution: "1080p"
};
const output = await replicate.run("veo-3-apps/veo-3-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_4Ro**********************************
This is your API token. Keep it to yourself.
import replicate
Run veo-3-apps/veo-3-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-upscaled",
input={
"negative_prompt": "",
"prompt": "A shaky dolly zoom goes from a far away blur to a close-up cinematic shot of a desperate man in a weathered green trench coat as he picks up a rotary phone mounted on a gritty brick wall, bathed in the eerie glow of a green neon sign. The zoom reveals the tension and the desperation etched on his face as he struggles to talk on the phone. The shallow depth of field focuses on his furrowed brow and the black rotary phone, blurring the background into a sea of neon colors and indistinct shadows, creating a sense of urgency and isolation.",
"seed": 42,
"target_fps": 60,
"target_resolution": "1080p"
}
)
# 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_4Ro**********************************
This is your API token. Keep it to yourself.
Run veo-3-apps/veo-3-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 shaky dolly zoom goes from a far away blur to a close-up cinematic shot of a desperate man in a weathered green trench coat as he picks up a rotary phone mounted on a gritty brick wall, bathed in the eerie glow of a green neon sign. The zoom reveals the tension and the desperation etched on his face as he struggles to talk on the phone. The shallow depth of field focuses on his furrowed brow and the black rotary phone, blurring the background into a sea of neon colors and indistinct shadows, creating a sense of urgency and isolation.",
"seed": 42,
"target_fps": 60,
"target_resolution": "1080p"
}
}' \
https://api.replicate.com/v1/models/veo-3-apps/veo-3-upscaled/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "hz7k5n8ej5rm80cr5pnv5gtyyc",
"model": "veo-3-apps/veo-3-upscaled",
"version": "hidden",
"input": {
"negative_prompt": "",
"prompt": "A shaky dolly zoom goes from a far away blur to a close-up cinematic shot of a desperate man in a weathered green trench coat as he picks up a rotary phone mounted on a gritty brick wall, bathed in the eerie glow of a green neon sign. The zoom reveals the tension and the desperation etched on his face as he struggles to talk on the phone. The shallow depth of field focuses on his furrowed brow and the black rotary phone, blurring the background into a sea of neon colors and indistinct shadows, creating a sense of urgency and isolation.",
"seed": 42,
"target_fps": 60,
"target_resolution": "1080p"
},
"logs": "",
"output": "https://replicate.delivery/xezq/qjesswfYl2uV1kTfeVXE90sRjcAoUG6pNbE3PkJGvRtOAFMUB/tmps1tr1l19.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-07-21T15:47:21.873Z",
"started_at": "2025-07-21T15:47:35.761865Z",
"completed_at": "2025-07-21T15:51:31.899199Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/hz7k5n8ej5rm80cr5pnv5gtyyc/cancel",
"children": "https://api.replicate.com/v1/predictions/hz7k5n8ej5rm80cr5pnv5gtyyc/children",
"get": "https://api.replicate.com/v1/predictions/hz7k5n8ej5rm80cr5pnv5gtyyc",
"root": "https://api.replicate.com/v1/predictions/hz7k5n8ej5rm80cr5pnv5gtyyc",
"stream": "https://stream.replicate.com/v1/files/bcwr-6rncgq5rja6igblg7wzejtsmxyyyidrchivjlyv2gy6ozin44tvq",
"web": "https://replicate.com/p/hz7k5n8ej5rm80cr5pnv5gtyyc"
},
"metrics": {
"predict_time": 236.137334863,
"total_time": 250.026199
}
}