typetext
{
"input_image": "https://replicate.delivery/pbxt/NWdhNiwON7kis1CrUNeCo3D7H6Eu7vuWO5fnOjdP5dmVNUds/star-wars.png",
"prompt": "animate",
"use_hailuo_02": false,
"use_kling_2_1": true,
"use_luma_ray": false,
"use_pixverse_v4": false,
"use_seedance_lite": true,
"use_seedance_pro": true,
"use_veo_3": true,
"use_veo_3_fast": true,
"use_video_01": true,
"use_video_01_live": true,
"use_wan_2_1_i2v_480p": true,
"use_wan_2_1_i2v_720p": false,
"use_wan_2_2_i2v_fast": true
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_GyV**********************************
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 lucataco/compare-img2vid-models using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = {
input_image: "https://replicate.delivery/pbxt/NWdhNiwON7kis1CrUNeCo3D7H6Eu7vuWO5fnOjdP5dmVNUds/star-wars.png",
prompt: "animate",
use_hailuo_02: false,
use_kling_2_1: true,
use_luma_ray: false,
use_pixverse_v4: false,
use_seedance_lite: true,
use_seedance_pro: true,
use_veo_3: true,
use_veo_3_fast: true,
use_video_01: true,
use_video_01_live: true,
use_wan_2_1_i2v_480p: true,
use_wan_2_1_i2v_720p: false,
use_wan_2_2_i2v_fast: true
};
const output = await replicate.run("lucataco/compare-img2vid-models", { 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_GyV**********************************
This is your API token. Keep it to yourself.
import replicate
Run lucataco/compare-img2vid-models using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"lucataco/compare-img2vid-models",
input={
"input_image": "https://replicate.delivery/pbxt/NWdhNiwON7kis1CrUNeCo3D7H6Eu7vuWO5fnOjdP5dmVNUds/star-wars.png",
"prompt": "animate",
"use_hailuo_02": False,
"use_kling_2_1": True,
"use_luma_ray": False,
"use_pixverse_v4": False,
"use_seedance_lite": True,
"use_seedance_pro": True,
"use_veo_3": True,
"use_veo_3_fast": True,
"use_video_01": True,
"use_video_01_live": True,
"use_wan_2_1_i2v_480p": True,
"use_wan_2_1_i2v_720p": False,
"use_wan_2_2_i2v_fast": True
}
)
# 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_GyV**********************************
This is your API token. Keep it to yourself.
Run lucataco/compare-img2vid-models 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": {
"input_image": "https://replicate.delivery/pbxt/NWdhNiwON7kis1CrUNeCo3D7H6Eu7vuWO5fnOjdP5dmVNUds/star-wars.png",
"prompt": "animate",
"use_hailuo_02": false,
"use_kling_2_1": true,
"use_luma_ray": false,
"use_pixverse_v4": false,
"use_seedance_lite": true,
"use_seedance_pro": true,
"use_veo_3": true,
"use_veo_3_fast": true,
"use_video_01": true,
"use_video_01_live": true,
"use_wan_2_1_i2v_480p": true,
"use_wan_2_1_i2v_720p": false,
"use_wan_2_2_i2v_fast": true
}
}' \
https://api.replicate.com/v1/models/lucataco/compare-img2vid-models/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "amd3sdex3drmc0crm41ak50xmg",
"model": "lucataco/compare-img2vid-models",
"version": "hidden",
"input": {
"input_image": "https://replicate.delivery/pbxt/NWdhNiwON7kis1CrUNeCo3D7H6Eu7vuWO5fnOjdP5dmVNUds/star-wars.png",
"prompt": "animate",
"use_hailuo_02": false,
"use_kling_2_1": true,
"use_luma_ray": false,
"use_pixverse_v4": false,
"use_seedance_lite": true,
"use_seedance_pro": true,
"use_veo_3": true,
"use_veo_3_fast": true,
"use_video_01": true,
"use_video_01_live": true,
"use_wan_2_1_i2v_480p": true,
"use_wan_2_1_i2v_720p": false,
"use_wan_2_2_i2v_fast": true
},
"logs": "Starting image-to-video generation from 9 selected models...\nCreating video grid from 9 outputs...\nCreating 3x3 video grid with 9 videos...\nFFmpeg command: ffmpeg -y -i /tmp/cog-runner-tmp-3250164732/ba36803a497b8f9a/tmpcdwhcss1.mp4 -i /tmp/cog-runner-tmp-3250164732/7578b7c99c632fa6/tmpqjwmsqag.mp4 -i /tmp/cog-runner-tmp-3250164732/d801b0c6639919ae/output.mp4 -i /tmp/cog-runner-tmp-3250164732/a0140ad93e409e4b/tmp60nde_fx.mp4 ... (truncated)\nFilter complex: [0:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v0];[1:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3 Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v1];[2:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.2 I2V Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v2];[3:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Pro':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v3];[4:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Lite':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v4];[5:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01 Live':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v5];[6:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Kling v2.1':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v6];[7:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v7];[8:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.1 I2V 480p':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v8];[v0][v1][v2]hstack=inputs=3[row0];[v3][v4][v5]hstack=inputs=3[row1];[v6][v7][v8]hstack=inputs=3[row2];[row0][row1][row2]vstack=inputs=3[out]\nFFmpeg error (exit code 254): Command '['ffmpeg', '-y', '-i', '/tmp/cog-runner-tmp-3250164732/ba36803a497b8f9a/tmpcdwhcss1.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/7578b7c99c632fa6/tmpqjwmsqag.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/d801b0c6639919ae/output.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/a0140ad93e409e4b/tmp60nde_fx.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/6cc0e062efd8d116/tmp2jgkfjx_.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/c6f8bbb4b41da03c/tmpxcs4723y.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/aa0ee0281b3e302e/tmpq39udfzz.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/614dac36bcacc419/tmpp95f7qic.mp4', '-i', '/tmp/cog-runner-tmp-3250164732/05395b5ef1c9fed6/tmprcefk1ra.mp4', '-filter_complex', \"[0:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v0];[1:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3 Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v1];[2:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.2 I2V Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v2];[3:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Pro':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v3];[4:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Lite':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v4];[5:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01 Live':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v5];[6:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Kling v2.1':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v6];[7:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v7];[8:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.1 I2V 480p':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v8];[v0][v1][v2]hstack=inputs=3[row0];[v3][v4][v5]hstack=inputs=3[row1];[v6][v7][v8]hstack=inputs=3[row2];[row0][row1][row2]vstack=inputs=3[out]\", '-map', '[out]', '-c:v', 'libx264', '-crf', '23', '-preset', 'medium', '-pix_fmt', 'yuv420p', '-shortest', '/tmp/video_grid.mp4']' returned non-zero exit status 254.\nSTDOUT: \nSTDERR: ffmpeg version 7.1.1 Copyright (c) 2000-2025 the FFmpeg developers\n built with gcc 13.2.1 (Alpine 13.2.1_git20240309) 20240309\n configuration: --pkg-config-flags=--static --extra-cflags=-fopenmp --extra-ldflags='-fopenmp -Wl,--allow-multiple-definition -Wl,-z,stack-size=2097152' --toolchain=hardened --disable-debug --disable-shared --disable-ffplay --enable-static --enable-gpl --enable-version3 --enable-fontconfig --enable-gray --enable-iconv --enable-lcms2 --enable-libaom --enable-libaribb24 --enable-libass --enable-libbluray --enable-libdav1d --enable-libdavs2 --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libharfbuzz --enable-libjxl --enable-libkvazaar --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librabbitmq --enable-librav1e --enable-librsvg --enable-librtmp --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxevd --enable-libxeve --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-openssl\n libavutil 59. 39.100 / 59. 39.100\n libavcodec 61. 19.101 / 61. 19.101\n libavformat 61. 7.100 / 61. 7.100\n libavdevice 61. 3.100 / 61. 3.100\n libavfilter 10. 4.100 / 10. 4.100\n libswscale 8. 3.100 / 8. 3.100\n libswresample 5. 3.100 / 5. 3.100\n libpostproc 58. 3.100 / 58. 3.100\nFontconfig error: Cannot load default config file: No such file: (null)\nFailed to set value '[0:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v0];[1:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Google Veo-3 Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v1];[2:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.2 I2V Fast':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v2];[3:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Pro':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v3];[4:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Seedance Lite':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v4];[5:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01 Live':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v5];[6:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Kling v2.1':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v6];[7:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Video-01':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v7];[8:v]scale=640:360:force_original_aspect_ratio=decrease,pad=640:360:(ow-iw)/2:(oh-ih)/2:black,drawtext=text='Wan 2.1 I2V 480p':fontcolor=white:fontsize=20:box=1:boxcolor=black@0.7:boxborderw=3:x=5:y=5[v8];[v0][v1][v2]hstack=inputs=3[row0];[v3][v4][v5]hstack=inputs=3[row1];[v6][v7][v8]hstack=inputs=3[row2];[row0][row1][row2]vstack=inputs=3[out]' for option 'filter_complex': No such file or directory\nError parsing global options: No such file or directory\n\nAttempting fallback without text labels...",
"output": "https://replicate.delivery/xezq/SlQp1RzkRMpqGBPXVSBhMqFp64uegGBTFH6fescmvqD9VzUqA/video_grid.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2025-08-13T01:19:36.219Z",
"started_at": "2025-08-13T01:19:36.70704Z",
"completed_at": "2025-08-13T01:22:06.734385Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/amd3sdex3drmc0crm41ak50xmg/cancel",
"children": "https://api.replicate.com/v1/predictions/amd3sdex3drmc0crm41ak50xmg/children",
"get": "https://api.replicate.com/v1/predictions/amd3sdex3drmc0crm41ak50xmg",
"root": "https://api.replicate.com/v1/predictions/amd3sdex3drmc0crm41ak50xmg",
"stream": "https://stream.replicate.com/v1/files/bcwr-wi2e4eusys4vdqr7oxiiucs7pg44xgvimhu5blls7vgmm4pzj2ra",
"web": "https://replicate.com/p/amd3sdex3drmc0crm41ak50xmg"
},
"metrics": {
"predict_time": 150.027344287,
"total_time": 150.515385
}
}