typetext
{
"frame_num": 81,
"prompt": "\"In a joyful and festive scene, a little girl wearing a bright red spring outfit is playing with her cute cartoon snake. Her outfit is embroidered with golden auspicious patterns, radiating a festive atmosphere, and her face is beaming with a bright smile. The snake has a vibrant green body with a rounded shape and large eyes that make it look both friendly and humorous. The little girl happily strokes the snake's head gently, sharing this warm moment together. Colorful lanterns and ribbons decorate the surroundings, with sunlight shining upon them, creating an atmosphere full of friendship and happiness for the New Year.",
"sample_guide_scale": 5,
"sample_shift": 16,
"sample_solver": "unipc",
"sample_steps": 50,
"seed": -1,
"size": "832*480",
"speed_mode": "Juiced π₯ (more speed)",
"src_ref_images": [
"https://replicate.delivery/pbxt/N1Al9HgV6K1s82OGqowiWhQY9y5WpHQJHW5X7IcMIkfWGDH0/girl.png",
"https://replicate.delivery/pbxt/N1Al9KotB8pX7PbiOe3lSQAoGcjOuFHT2aYR4zAfo0hdHPgL/snake.png"
]
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_46a**********************************
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 prunaai/vace-1.3b using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"prunaai/vace-1.3b:bde30a44dab96f4a6d582befa422312c8625aaec5b8d2117368311b6d4db150a",
{
input: {
frame_num: 81,
prompt: "\"In a joyful and festive scene, a little girl wearing a bright red spring outfit is playing with her cute cartoon snake. Her outfit is embroidered with golden auspicious patterns, radiating a festive atmosphere, and her face is beaming with a bright smile. The snake has a vibrant green body with a rounded shape and large eyes that make it look both friendly and humorous. The little girl happily strokes the snake's head gently, sharing this warm moment together. Colorful lanterns and ribbons decorate the surroundings, with sunlight shining upon them, creating an atmosphere full of friendship and happiness for the New Year.",
sample_guide_scale: 5,
sample_shift: 16,
sample_solver: "unipc",
sample_steps: 50,
seed: -1,
size: "832*480",
speed_mode: "Juiced π₯ (more speed)",
src_ref_images: ["https://replicate.delivery/pbxt/N1Al9HgV6K1s82OGqowiWhQY9y5WpHQJHW5X7IcMIkfWGDH0/girl.png","https://replicate.delivery/pbxt/N1Al9KotB8pX7PbiOe3lSQAoGcjOuFHT2aYR4zAfo0hdHPgL/snake.png"]
}
}
);
// 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_46a**********************************
This is your API token. Keep it to yourself.
import replicate
Run prunaai/vace-1.3b using Replicateβs API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"prunaai/vace-1.3b:bde30a44dab96f4a6d582befa422312c8625aaec5b8d2117368311b6d4db150a",
input={
"frame_num": 81,
"prompt": "\"In a joyful and festive scene, a little girl wearing a bright red spring outfit is playing with her cute cartoon snake. Her outfit is embroidered with golden auspicious patterns, radiating a festive atmosphere, and her face is beaming with a bright smile. The snake has a vibrant green body with a rounded shape and large eyes that make it look both friendly and humorous. The little girl happily strokes the snake's head gently, sharing this warm moment together. Colorful lanterns and ribbons decorate the surroundings, with sunlight shining upon them, creating an atmosphere full of friendship and happiness for the New Year.",
"sample_guide_scale": 5,
"sample_shift": 16,
"sample_solver": "unipc",
"sample_steps": 50,
"seed": -1,
"size": "832*480",
"speed_mode": "Juiced π₯ (more speed)",
"src_ref_images": ["https://replicate.delivery/pbxt/N1Al9HgV6K1s82OGqowiWhQY9y5WpHQJHW5X7IcMIkfWGDH0/girl.png","https://replicate.delivery/pbxt/N1Al9KotB8pX7PbiOe3lSQAoGcjOuFHT2aYR4zAfo0hdHPgL/snake.png"]
}
)
# 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_46a**********************************
This is your API token. Keep it to yourself.
Run prunaai/vace-1.3b 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 $'{
"version": "prunaai/vace-1.3b:bde30a44dab96f4a6d582befa422312c8625aaec5b8d2117368311b6d4db150a",
"input": {
"frame_num": 81,
"prompt": "\\"In a joyful and festive scene, a little girl wearing a bright red spring outfit is playing with her cute cartoon snake. Her outfit is embroidered with golden auspicious patterns, radiating a festive atmosphere, and her face is beaming with a bright smile. The snake has a vibrant green body with a rounded shape and large eyes that make it look both friendly and humorous. The little girl happily strokes the snake\'s head gently, sharing this warm moment together. Colorful lanterns and ribbons decorate the surroundings, with sunlight shining upon them, creating an atmosphere full of friendship and happiness for the New Year.",
"sample_guide_scale": 5,
"sample_shift": 16,
"sample_solver": "unipc",
"sample_steps": 50,
"seed": -1,
"size": "832*480",
"speed_mode": "Juiced π₯ (more speed)",
"src_ref_images": ["https://replicate.delivery/pbxt/N1Al9HgV6K1s82OGqowiWhQY9y5WpHQJHW5X7IcMIkfWGDH0/girl.png","https://replicate.delivery/pbxt/N1Al9KotB8pX7PbiOe3lSQAoGcjOuFHT2aYR4zAfo0hdHPgL/snake.png"]
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicateβs HTTP API reference docs.
{
"id": "gtyyw8xwcsrme0cpv1xbcrfx8r",
"model": "prunaai/vace-1.3b",
"version": "bde30a44dab96f4a6d582befa422312c8625aaec5b8d2117368311b6d4db150a",
"input": {
"frame_num": 81,
"prompt": "\"In a joyful and festive scene, a little girl wearing a bright red spring outfit is playing with her cute cartoon snake. Her outfit is embroidered with golden auspicious patterns, radiating a festive atmosphere, and her face is beaming with a bright smile. The snake has a vibrant green body with a rounded shape and large eyes that make it look both friendly and humorous. The little girl happily strokes the snake's head gently, sharing this warm moment together. Colorful lanterns and ribbons decorate the surroundings, with sunlight shining upon them, creating an atmosphere full of friendship and happiness for the New Year.",
"sample_guide_scale": 5,
"sample_shift": 16,
"sample_solver": "unipc",
"sample_steps": 50,
"seed": -1,
"size": "832*480",
"speed_mode": "Juiced π₯ (more speed)",
"src_ref_images": [
"https://replicate.delivery/pbxt/N1Al9HgV6K1s82OGqowiWhQY9y5WpHQJHW5X7IcMIkfWGDH0/girl.png",
"https://replicate.delivery/pbxt/N1Al9KotB8pX7PbiOe3lSQAoGcjOuFHT2aYR4zAfo0hdHPgL/snake.png"
]
},
"logs": "0%| | 0/50 [00:00<?, ?it/s]\n 2%|β | 1/50 [00:02<02:18, 2.82s/it]\n 4%|β | 2/50 [00:05<02:15, 2.83s/it]\n 6%|β | 3/50 [00:08<02:12, 2.82s/it]\n 8%|β | 4/50 [00:11<02:09, 2.82s/it]\n 10%|β | 5/50 [00:14<02:06, 2.82s/it]\n 12%|ββ | 6/50 [00:16<02:04, 2.82s/it]\n 14%|ββ | 7/50 [00:19<02:01, 2.82s/it]\n 16%|ββ | 8/50 [00:22<01:58, 2.82s/it]\n 18%|ββ | 9/50 [00:25<01:55, 2.82s/it]\n 20%|ββ | 10/50 [00:28<01:53, 2.83s/it]\n 22%|βββ | 11/50 [00:31<01:50, 2.83s/it]\n 24%|βββ | 12/50 [00:33<01:47, 2.83s/it]\n 26%|βββ | 13/50 [00:36<01:44, 2.83s/it]\n 30%|βββ | 15/50 [00:39<01:16, 2.17s/it]\n 34%|ββββ | 17/50 [00:42<01:01, 1.87s/it]\n 38%|ββββ | 19/50 [00:45<00:52, 1.71s/it]\n 42%|βββββ | 21/50 [00:48<00:46, 1.61s/it]\n 48%|βββββ | 24/50 [00:50<00:34, 1.33s/it]\n 56%|ββββββ | 28/50 [00:53<00:23, 1.06s/it]\n 62%|βββββββ | 31/50 [00:56<00:19, 1.02s/it]\n 68%|βββββββ | 34/50 [00:59<00:15, 1.00it/s]\n 72%|ββββββββ | 36/50 [01:02<00:15, 1.10s/it]\n 76%|ββββββββ | 38/50 [01:05<00:14, 1.18s/it]\n 80%|ββββββββ | 40/50 [01:08<00:12, 1.24s/it]\n 84%|βββββββββ | 42/50 [01:10<00:10, 1.29s/it]\n 88%|βββββββββ | 44/50 [01:13<00:07, 1.33s/it]\n 92%|ββββββββββ| 46/50 [01:16<00:05, 1.35s/it]\n 96%|ββββββββββ| 48/50 [01:19<00:02, 1.37s/it]\n 98%|ββββββββββ| 49/50 [01:22<00:01, 1.62s/it]\n100%|ββββββββββ| 50/50 [01:25<00:00, 1.86s/it]\n100%|ββββββββββ| 50/50 [01:25<00:00, 1.70s/it]",
"output": "https://replicate.delivery/xezq/qRl0z5qTqYLoIhWIR2foz0kaFKpSmLAIxrRl971ZgSffZXapA/output.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-05-16T09:44:04.454Z",
"started_at": "2025-05-16T09:44:04.460401Z",
"completed_at": "2025-05-16T09:45:35.6266Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/gtyyw8xwcsrme0cpv1xbcrfx8r/cancel",
"get": "https://api.replicate.com/v1/predictions/gtyyw8xwcsrme0cpv1xbcrfx8r",
"stream": "https://stream.replicate.com/v1/files/bcwr-pqjtkfahehfxebuqmiwhbibmmhuheifdz6xndk5oz4m5wbfhsseq",
"web": "https://replicate.com/p/gtyyw8xwcsrme0cpv1xbcrfx8r"
},
"metrics": {
"predict_time": 91.166199675,
"total_time": 91.1726
}
}
