typetext
{
"action": "Someone takes a scoop of green powder from an open Bloom container and adds it to water. ",
"ambient_audio": "indoor ambience",
"camera_motion": "dolly in",
"color_palette": "warm earth tones",
"dialogue": "Bloom has your daily dose of vitamins and minerals to power you through your next meeting.",
"film": "digital clean",
"lighting": "soft studio lighting",
"location": "Kitchen counter",
"resolution": "1080p",
"seed": 42,
"subject": "Healthy supplement power called Bloom",
"tone": "peaceful"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_Pp9**********************************
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/json-prompt-fast using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
action: "Someone takes a scoop of green powder from an open Bloom container and adds it to water. ",
ambient_audio: "indoor ambience",
camera_motion: "dolly in",
color_palette: "warm earth tones",
dialogue: "Bloom has your daily dose of vitamins and minerals to power you through your next meeting.",
film: "digital clean",
lighting: "soft studio lighting",
location: "Kitchen counter",
resolution: "1080p",
seed: 42,
subject: "Healthy supplement power called Bloom",
tone: "peaceful"
};
const output = await replicate.run("veo-3-apps/json-prompt-fast", { 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_Pp9**********************************
This is your API token. Keep it to yourself.
import replicate
Run veo-3-apps/json-prompt-fast using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"veo-3-apps/json-prompt-fast",
input={
"action": "Someone takes a scoop of green powder from an open Bloom container and adds it to water. ",
"ambient_audio": "indoor ambience",
"camera_motion": "dolly in",
"color_palette": "warm earth tones",
"dialogue": "Bloom has your daily dose of vitamins and minerals to power you through your next meeting.",
"film": "digital clean",
"lighting": "soft studio lighting",
"location": "Kitchen counter",
"resolution": "1080p",
"seed": 42,
"subject": "Healthy supplement power called Bloom",
"tone": "peaceful"
}
)
# 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_Pp9**********************************
This is your API token. Keep it to yourself.
Run veo-3-apps/json-prompt-fast 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": {
"action": "Someone takes a scoop of green powder from an open Bloom container and adds it to water. ",
"ambient_audio": "indoor ambience",
"camera_motion": "dolly in",
"color_palette": "warm earth tones",
"dialogue": "Bloom has your daily dose of vitamins and minerals to power you through your next meeting.",
"film": "digital clean",
"lighting": "soft studio lighting",
"location": "Kitchen counter",
"resolution": "1080p",
"seed": 42,
"subject": "Healthy supplement power called Bloom",
"tone": "peaceful"
}
}' \
https://api.replicate.com/v1/models/veo-3-apps/json-prompt-fast/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "j6x2n3hq1srma0crepm8a3a5cm",
"model": "veo-3-apps/json-prompt-fast",
"version": "hidden",
"input": {
"action": "Someone takes a scoop of green powder from an open Bloom container and adds it to water. ",
"ambient_audio": "indoor ambience",
"camera_motion": "dolly in",
"color_palette": "warm earth tones",
"dialogue": "Bloom has your daily dose of vitamins and minerals to power you through your next meeting.",
"film": "digital clean",
"lighting": "soft studio lighting",
"location": "Kitchen counter",
"resolution": "1080p",
"seed": 42,
"subject": "Healthy supplement power called Bloom",
"tone": "peaceful"
},
"logs": "dolly in camera movement. Subject: Healthy supplement power called Bloom. Action: Someone takes a scoop of green powder from an open Bloom container and adds it to water. . Location: Kitchen counter. Lighting: soft studio lighting. Mood: peaceful. Color: warm earth tones. Audio: ambient: indoor ambience. Dialogue: Bloom has your daily dose of vitamins and minerals to power you through your next meeting..",
"output": "https://replicate.delivery/xezq/77VLgqezbLXuSyNSejkbCtZ8p1cnfztYC3NQ68QjHvBkKQPqA/tmpfdkfwjr1.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-04T15:16:55.182Z",
"started_at": "2025-08-04T15:17:05.050953Z",
"completed_at": "2025-08-04T15:18:42.513308Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/j6x2n3hq1srma0crepm8a3a5cm/cancel",
"children": "https://api.replicate.com/v1/predictions/j6x2n3hq1srma0crepm8a3a5cm/children",
"get": "https://api.replicate.com/v1/predictions/j6x2n3hq1srma0crepm8a3a5cm",
"root": "https://api.replicate.com/v1/predictions/j6x2n3hq1srma0crepm8a3a5cm",
"stream": "https://stream.replicate.com/v1/files/bcwr-ysicauahyqped33rbwqgouz26jou4zrecjzu3mdqfmdj3ebqvk2a",
"web": "https://replicate.com/p/j6x2n3hq1srma0crepm8a3a5cm"
},
"metrics": {
"predict_time": 97.462355142,
"total_time": 107.331308
}
}