typefile
{
"duration_seconds": 10,
"fps": 30,
"image": "https://replicate.delivery/pbxt/Mz0mCaWoLbfWsu1cEq9n6cah4tkhwpURFjDubLtGWCo9SaIv/moi_tatou%C3%A9_reduce.png",
"prompt": "A majestic fiery phoenix tattoo on a human back suddenly comes to life, glowing with bright orange and red flames. The flames ripple and swirl as the wings start to move. The phoenix slowly rises off the skin, lifting upward in a swirl of fire and embers. As it ascends, sparks fall around, and the wings flap powerfully. The scene is dramatic and cinematic, with a dark background and glowing light effects.",
"seed": 31337,
"steps": 25
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_OM4**********************************
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 paullux/framepack-runner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"paullux/framepack-runner:2066ad45df0ec8d3041aa40fb18f4f14ae55154dfc85af90b41dc91c705108d8",
{
input: {
duration_seconds: 10,
fps: 30,
image: "https://replicate.delivery/pbxt/Mz0mCaWoLbfWsu1cEq9n6cah4tkhwpURFjDubLtGWCo9SaIv/moi_tatou%C3%A9_reduce.png",
prompt: "A majestic fiery phoenix tattoo on a human back suddenly comes to life, glowing with bright orange and red flames. The flames ripple and swirl as the wings start to move. The phoenix slowly rises off the skin, lifting upward in a swirl of fire and embers. As it ascends, sparks fall around, and the wings flap powerfully. The scene is dramatic and cinematic, with a dark background and glowing light effects.",
seed: 31337,
steps: 25
}
}
);
// 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_OM4**********************************
This is your API token. Keep it to yourself.
import replicate
Run paullux/framepack-runner using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"paullux/framepack-runner:2066ad45df0ec8d3041aa40fb18f4f14ae55154dfc85af90b41dc91c705108d8",
input={
"duration_seconds": 10,
"fps": 30,
"image": "https://replicate.delivery/pbxt/Mz0mCaWoLbfWsu1cEq9n6cah4tkhwpURFjDubLtGWCo9SaIv/moi_tatou%C3%A9_reduce.png",
"prompt": "A majestic fiery phoenix tattoo on a human back suddenly comes to life, glowing with bright orange and red flames. The flames ripple and swirl as the wings start to move. The phoenix slowly rises off the skin, lifting upward in a swirl of fire and embers. As it ascends, sparks fall around, and the wings flap powerfully. The scene is dramatic and cinematic, with a dark background and glowing light effects.",
"seed": 31337,
"steps": 25
}
)
# 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_OM4**********************************
This is your API token. Keep it to yourself.
Run paullux/framepack-runner 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": "paullux/framepack-runner:2066ad45df0ec8d3041aa40fb18f4f14ae55154dfc85af90b41dc91c705108d8",
"input": {
"duration_seconds": 10,
"fps": 30,
"image": "https://replicate.delivery/pbxt/Mz0mCaWoLbfWsu1cEq9n6cah4tkhwpURFjDubLtGWCo9SaIv/moi_tatou%C3%A9_reduce.png",
"prompt": "A majestic fiery phoenix tattoo on a human back suddenly comes to life, glowing with bright orange and red flames. The flames ripple and swirl as the wings start to move. The phoenix slowly rises off the skin, lifting upward in a swirl of fire and embers. As it ascends, sparks fall around, and the wings flap powerfully. The scene is dramatic and cinematic, with a dark background and glowing light effects.",
"seed": 31337,
"steps": 25
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "cscvk8x8jdrj00cpqt4a46df2r",
"model": "paullux/framepack-runner",
"version": "2066ad45df0ec8d3041aa40fb18f4f14ae55154dfc85af90b41dc91c705108d8",
"input": {
"duration_seconds": 10,
"fps": 30,
"image": "https://replicate.delivery/pbxt/Mz0mCaWoLbfWsu1cEq9n6cah4tkhwpURFjDubLtGWCo9SaIv/moi_tatou%C3%A9_reduce.png",
"prompt": "A majestic fiery phoenix tattoo on a human back suddenly comes to life, glowing with bright orange and red flames. The flames ripple and swirl as the wings start to move. The phoenix slowly rises off the skin, lifting upward in a swirl of fire and embers. As it ascends, sparks fall around, and the wings flap powerfully. The scene is dramatic and cinematic, with a dark background and glowing light effects.",
"seed": 31337,
"steps": 25
},
"logs": "📸 Chargement de l’image depuis /tmp/tmp_festkxbmoi_tatoué_reduce.png\n🧠 Encodage CLIP Vision...\n🧠 Encodage VAE...\n🧠 Encodage du prompt...\n🎞️ Sampling...\n 0%| | 0/25 [00:00<?, ?it/s]\n 4%|▍ | 1/25 [01:04<25:39, 64.14s/it]\n 8%|▊ | 2/25 [01:49<20:19, 53.02s/it]\n 12%|█▏ | 3/25 [02:53<21:22, 58.28s/it]\n 16%|█▌ | 4/25 [03:58<21:15, 60.72s/it]\n 20%|██ | 5/25 [05:02<20:41, 62.09s/it]\n 24%|██▍ | 6/25 [06:07<19:55, 62.91s/it]\n 28%|██▊ | 7/25 [07:11<19:01, 63.42s/it]\n 32%|███▏ | 8/25 [08:16<18:04, 63.77s/it]\n 36%|███▌ | 9/25 [09:20<17:02, 63.92s/it]\n 40%|████ | 10/25 [10:24<16:00, 64.03s/it]\n 44%|████▍ | 11/25 [11:29<14:57, 64.09s/it]\n 48%|████▊ | 12/25 [12:33<13:53, 64.13s/it]\n 52%|█████▏ | 13/25 [13:37<12:50, 64.20s/it]\n 56%|█████▌ | 14/25 [14:42<11:46, 64.23s/it]\n 60%|██████ | 15/25 [15:46<10:42, 64.22s/it]\n 64%|██████▍ | 16/25 [16:50<09:37, 64.22s/it]\n 68%|██████▊ | 17/25 [17:54<08:34, 64.25s/it]\n 72%|███████▏ | 18/25 [18:59<07:29, 64.28s/it]\n 76%|███████▌ | 19/25 [20:03<06:25, 64.28s/it]\n 80%|████████ | 20/25 [21:07<05:21, 64.28s/it]\n 84%|████████▍ | 21/25 [22:11<04:17, 64.28s/it]\n 88%|████████▊ | 22/25 [23:16<03:12, 64.30s/it]\n 92%|█████████▏| 23/25 [24:20<02:08, 64.28s/it]\n 96%|█████████▌| 24/25 [25:24<01:04, 64.27s/it]\n100%|██████████| 25/25 [26:29<00:00, 64.30s/it]\n100%|██████████| 25/25 [26:29<00:00, 63.57s/it]\n🖼️ Décodage final...\n🎬 Vidéo enregistrée à /tmp/tmpvm1vuzd7.mp4",
"output": "https://replicate.delivery/yhqm/HtitZ7AGhFLkEN1RUfWFk6uU2PTntIGkIMZgHGGfplXSeDXpA/tmpvm1vuzd7.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-05-11T08:49:09.267Z",
"started_at": "2025-05-11T08:59:57.157721Z",
"completed_at": "2025-05-11T09:27:46.638889Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/cscvk8x8jdrj00cpqt4a46df2r/cancel",
"get": "https://api.replicate.com/v1/predictions/cscvk8x8jdrj00cpqt4a46df2r",
"stream": "https://stream.replicate.com/v1/files/qoxq-7uru7yuyotzwtvx4yovvmalgemcozfzhdh4uz5wgcimswprx2pnq",
"web": "https://replicate.com/p/cscvk8x8jdrj00cpqt4a46df2r"
},
"metrics": {
"predict_time": 1669.481168299,
"total_time": 2317.371889
}
}