fofr / lcm-animation
Fast animation using a latent consistency model
Prediction
fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1IDxnna4hdbnmim4evoymsauiwrpqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @fofrInput
- width
- 512
- height
- 512
- prompt
- Self-portrait oil painting, a beautiful cyborg with golden hair, 8k
- iterations
- 100
- num_images
- 1
- guidance_scale
- 8
- prompt_strength
- 0.3
- lcm_origin_steps
- 50
- num_inference_steps
- 1
{ "image": "https://replicate.delivery/pbxt/JlZ5kET0jFykHETN0R3fpjtpxtFGu04Mq5LI1djG59wl8Xbz/out-3-14.png", "width": 512, "height": 512, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "iterations": 100, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.3, "lcm_origin_steps": 50, "num_inference_steps": 1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", { input: { image: "https://replicate.delivery/pbxt/JlZ5kET0jFykHETN0R3fpjtpxtFGu04Mq5LI1djG59wl8Xbz/out-3-14.png", width: 512, height: 512, prompt: "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", iterations: 100, num_images: 1, guidance_scale: 8, prompt_strength: 0.3, lcm_origin_steps: 50, num_inference_steps: 1 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", input={ "image": "https://replicate.delivery/pbxt/JlZ5kET0jFykHETN0R3fpjtpxtFGu04Mq5LI1djG59wl8Xbz/out-3-14.png", "width": 512, "height": 512, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "iterations": 100, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.3, "lcm_origin_steps": 50, "num_inference_steps": 1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/lcm-animation 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": "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", "input": { "image": "https://replicate.delivery/pbxt/JlZ5kET0jFykHETN0R3fpjtpxtFGu04Mq5LI1djG59wl8Xbz/out-3-14.png", "width": 512, "height": 512, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "iterations": 100, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.3, "lcm_origin_steps": 50, "num_inference_steps": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-26T13:01:17.568976Z", "created_at": "2023-10-26T12:59:30.005017Z", "data_removed": false, "error": null, "id": "xnna4hdbnmim4evoymsauiwrpq", "input": { "image": "https://replicate.delivery/pbxt/JlZ5kET0jFykHETN0R3fpjtpxtFGu04Mq5LI1djG59wl8Xbz/out-3-14.png", "width": 512, "height": 512, "prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "iterations": 100, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.3, "lcm_origin_steps": 50, "num_inference_steps": 1 }, "logs": "Using seed: 4601\nimg2img mode\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 26.02it/s]\nimg2img iteration 1\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.80it/s]\nimg2img iteration 2\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.85it/s]\nimg2img iteration 3\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.88it/s]\nimg2img iteration 4\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.86it/s]\nimg2img iteration 5\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.79it/s]\nimg2img iteration 6\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.71it/s]\nimg2img iteration 7\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.75it/s]\nimg2img iteration 8\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.56it/s]\nimg2img iteration 9\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.81it/s]\nimg2img iteration 10\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.76it/s]\nimg2img iteration 11\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.58it/s]\nimg2img iteration 12\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.87it/s]\nimg2img iteration 13\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.71it/s]\nimg2img iteration 14\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.81it/s]\nimg2img iteration 15\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.67it/s]\nimg2img iteration 16\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.88it/s]\nimg2img iteration 17\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.75it/s]\nimg2img iteration 18\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.65it/s]\nimg2img iteration 19\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.50it/s]\nimg2img iteration 20\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.66it/s]\nimg2img iteration 21\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.70it/s]\nimg2img iteration 22\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.92it/s]\nimg2img iteration 23\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.89it/s]\nimg2img iteration 24\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.82it/s]\nimg2img iteration 25\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.62it/s]\nimg2img iteration 26\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.82it/s]\nimg2img iteration 27\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.76it/s]\nimg2img iteration 28\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.87it/s]\nimg2img iteration 29\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.68it/s]\nimg2img iteration 30\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.72it/s]\nimg2img iteration 31\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.55it/s]\nimg2img iteration 32\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.84it/s]\nimg2img iteration 33\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.43it/s]\nimg2img iteration 34\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.72it/s]\nimg2img iteration 35\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.89it/s]\nimg2img iteration 36\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.88it/s]\nimg2img iteration 37\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.87it/s]\nimg2img iteration 38\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.68it/s]\nimg2img iteration 39\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.64it/s]\nimg2img iteration 40\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.81it/s]\nimg2img iteration 41\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.54it/s]\nimg2img iteration 42\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.75it/s]\nimg2img iteration 43\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.73it/s]\nimg2img iteration 44\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.79it/s]\nimg2img iteration 45\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.50it/s]\nimg2img iteration 46\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.66it/s]\nimg2img iteration 47\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.67it/s]\nimg2img iteration 48\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.86it/s]\nimg2img iteration 49\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.47it/s]\nimg2img iteration 50\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 23.99it/s]\nimg2img iteration 51\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.78it/s]\nimg2img iteration 52\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.54it/s]\nimg2img iteration 53\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.53it/s]\nimg2img iteration 54\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.87it/s]\nimg2img iteration 55\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.49it/s]\nimg2img iteration 56\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.51it/s]\nimg2img iteration 57\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.70it/s]\nimg2img iteration 58\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.74it/s]\nimg2img iteration 59\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.54it/s]\nimg2img iteration 60\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.70it/s]\nimg2img iteration 61\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.44it/s]\nimg2img iteration 62\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.64it/s]\nimg2img iteration 63\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.74it/s]\nimg2img iteration 64\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.43it/s]\nimg2img iteration 65\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.84it/s]\nimg2img iteration 66\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.43it/s]\nimg2img iteration 67\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.63it/s]\nimg2img iteration 68\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.60it/s]\nimg2img iteration 69\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.80it/s]\nimg2img iteration 70\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.61it/s]\nimg2img iteration 71\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.47it/s]\nimg2img iteration 72\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.73it/s]\nimg2img iteration 73\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.59it/s]\nimg2img iteration 74\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.67it/s]\nimg2img iteration 75\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.61it/s]\nimg2img iteration 76\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.60it/s]\nimg2img iteration 77\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.53it/s]\nimg2img iteration 78\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.46it/s]\nimg2img iteration 79\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.61it/s]\nimg2img iteration 80\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.83it/s]\nimg2img iteration 81\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.61it/s]\nimg2img iteration 82\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.84it/s]\nimg2img iteration 83\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.81it/s]\nimg2img iteration 84\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.83it/s]\nimg2img iteration 85\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.59it/s]\nimg2img iteration 86\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.58it/s]\nimg2img iteration 87\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.67it/s]\nimg2img iteration 88\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.70it/s]\nimg2img iteration 89\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.74it/s]\nimg2img iteration 90\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.61it/s]\nimg2img iteration 91\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.67it/s]\nimg2img iteration 92\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.73it/s]\nimg2img iteration 93\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.51it/s]\nimg2img iteration 94\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.72it/s]\nimg2img iteration 95\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.63it/s]\nimg2img iteration 96\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.51it/s]\nimg2img iteration 97\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.54it/s]\nimg2img iteration 98\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.75it/s]\nimg2img iteration 99\n 0%| | 0/1 [00:00<?, ?it/s]\n100%|██████████| 1/1 [00:00<00:00, 25.74it/s]\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, image2, from '/tmp/out-*.png':\nDuration: 00:00:08.33, start: 0.000000, bitrate: N/A\nStream #0:0: Video: png, rgb24(pc), 1024x1024, 12 fps, 12 tbr, 12 tbn, 12 tbc\nStream mapping:\nStream #0:0 -> #0:0 (png (native) -> h264 (libx264))\nPress [q] to stop, [?] for help\n[libx264 @ 0x55f7cfd65880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n[libx264 @ 0x55f7cfd65880] profile High, level 3.2, 4:2:0, 8-bit\n[libx264 @ 0x55f7cfd65880] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\nOutput #0, mp4, to '/tmp/output_video.mp4':\nMetadata:\nencoder : Lavf58.76.100\nStream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 1024x1024, q=2-31, 12 fps, 12288 tbn\nMetadata:\nencoder : Lavc58.134.100 libx264\nSide data:\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\nframe= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 59 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 84 fps= 81 q=20.0 size= 1792kB time=00:00:01.83 bitrate=8007.2kbits/s speed=1.76x\nframe= 100 fps= 44 q=-1.0 Lsize= 10067kB time=00:00:08.08 bitrate=10202.2kbits/s speed=3.55x\nvideo:10065kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.020997%\n[libx264 @ 0x55f7cfd65880] frame I:1 Avg QP:16.44 size:100482\n[libx264 @ 0x55f7cfd65880] frame P:25 Avg QP:16.64 size:130728\n[libx264 @ 0x55f7cfd65880] frame B:74 Avg QP:17.46 size: 93744\n[libx264 @ 0x55f7cfd65880] consecutive B-frames: 1.0% 0.0% 3.0% 96.0%\n[libx264 @ 0x55f7cfd65880] mb I I16..4: 6.2% 69.3% 24.5%\n[libx264 @ 0x55f7cfd65880] mb P I16..4: 12.8% 31.8% 13.5% P16..4: 16.8% 16.4% 8.4% 0.0% 0.0% skip: 0.3%\n[libx264 @ 0x55f7cfd65880] mb B I16..4: 4.6% 12.4% 6.7% B16..8: 31.2% 23.0% 10.0% direct: 9.3% skip: 2.8% L0:41.0% L1:38.3% BI:20.7%\n[libx264 @ 0x55f7cfd65880] 8x8 transform intra:53.8% inter:62.4%\n[libx264 @ 0x55f7cfd65880] coded y,uvDC,uvAC intra: 82.3% 78.3% 54.8% inter: 57.1% 88.1% 20.9%\n[libx264 @ 0x55f7cfd65880] i16 v,h,dc,p: 4% 2% 4% 91%\n[libx264 @ 0x55f7cfd65880] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 6% 20% 9% 10% 15% 6% 12% 6%\n[libx264 @ 0x55f7cfd65880] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 5% 11% 11% 22% 18% 9% 11% 6%\n[libx264 @ 0x55f7cfd65880] i8c dc,h,v,p: 53% 15% 19% 13%\n[libx264 @ 0x55f7cfd65880] Weighted P-Frames: Y:24.0% UV:24.0%\n[libx264 @ 0x55f7cfd65880] ref P L0: 52.2% 12.7% 21.9% 11.7% 1.6%\n[libx264 @ 0x55f7cfd65880] ref B L0: 77.7% 17.4% 4.9%\n[libx264 @ 0x55f7cfd65880] ref B L1: 90.8% 9.2%\n[libx264 @ 0x55f7cfd65880] kb/s:9893.53", "metrics": { "predict_time": 107.531631, "total_time": 107.563959 }, "output": "https://replicate.delivery/pbxt/NxW1lKqXI5bqG9auSVgCvivSXlz9DX6UppeVFan6pGcOqA5IA/output_video.mp4", "started_at": "2023-10-26T12:59:30.037345Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xnna4hdbnmim4evoymsauiwrpq", "cancel": "https://api.replicate.com/v1/predictions/xnna4hdbnmim4evoymsauiwrpq/cancel" }, "version": "289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1" }
Generated inUsing seed: 4601 img2img mode 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 26.02it/s] img2img iteration 1 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.80it/s] img2img iteration 2 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.85it/s] img2img iteration 3 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.88it/s] img2img iteration 4 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.86it/s] img2img iteration 5 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.79it/s] img2img iteration 6 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.71it/s] img2img iteration 7 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.75it/s] img2img iteration 8 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.56it/s] img2img iteration 9 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.81it/s] img2img iteration 10 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.76it/s] img2img iteration 11 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.58it/s] img2img iteration 12 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.87it/s] img2img iteration 13 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.71it/s] img2img iteration 14 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.81it/s] img2img iteration 15 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.67it/s] img2img iteration 16 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.88it/s] img2img iteration 17 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.75it/s] img2img iteration 18 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.65it/s] img2img iteration 19 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.50it/s] img2img iteration 20 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.66it/s] img2img iteration 21 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.70it/s] img2img iteration 22 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.92it/s] img2img iteration 23 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.89it/s] img2img iteration 24 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.82it/s] img2img iteration 25 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.62it/s] img2img iteration 26 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.82it/s] img2img iteration 27 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.76it/s] img2img iteration 28 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.87it/s] img2img iteration 29 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.68it/s] img2img iteration 30 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.72it/s] img2img iteration 31 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.55it/s] img2img iteration 32 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.84it/s] img2img iteration 33 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.43it/s] img2img iteration 34 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.72it/s] img2img iteration 35 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.89it/s] img2img iteration 36 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.88it/s] img2img iteration 37 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.87it/s] img2img iteration 38 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.68it/s] img2img iteration 39 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.64it/s] img2img iteration 40 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.81it/s] img2img iteration 41 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.54it/s] img2img iteration 42 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.75it/s] img2img iteration 43 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.73it/s] img2img iteration 44 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.79it/s] img2img iteration 45 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.50it/s] img2img iteration 46 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.66it/s] img2img iteration 47 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.67it/s] img2img iteration 48 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.86it/s] img2img iteration 49 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.47it/s] img2img iteration 50 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 23.99it/s] img2img iteration 51 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.78it/s] img2img iteration 52 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.54it/s] img2img iteration 53 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.53it/s] img2img iteration 54 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.87it/s] img2img iteration 55 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.49it/s] img2img iteration 56 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.51it/s] img2img iteration 57 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.70it/s] img2img iteration 58 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.74it/s] img2img iteration 59 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.54it/s] img2img iteration 60 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.70it/s] img2img iteration 61 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.44it/s] img2img iteration 62 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.64it/s] img2img iteration 63 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.74it/s] img2img iteration 64 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.43it/s] img2img iteration 65 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.84it/s] img2img iteration 66 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.43it/s] img2img iteration 67 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.63it/s] img2img iteration 68 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.60it/s] img2img iteration 69 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.80it/s] img2img iteration 70 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.61it/s] img2img iteration 71 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.47it/s] img2img iteration 72 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.73it/s] img2img iteration 73 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.59it/s] img2img iteration 74 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.67it/s] img2img iteration 75 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.61it/s] img2img iteration 76 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.60it/s] img2img iteration 77 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.53it/s] img2img iteration 78 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.46it/s] img2img iteration 79 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.61it/s] img2img iteration 80 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.83it/s] img2img iteration 81 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.61it/s] img2img iteration 82 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.84it/s] img2img iteration 83 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.81it/s] img2img iteration 84 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.83it/s] img2img iteration 85 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.59it/s] img2img iteration 86 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.58it/s] img2img iteration 87 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.67it/s] img2img iteration 88 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.70it/s] img2img iteration 89 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.74it/s] img2img iteration 90 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.61it/s] img2img iteration 91 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.67it/s] img2img iteration 92 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.73it/s] img2img iteration 93 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.51it/s] img2img iteration 94 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.72it/s] img2img iteration 95 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.63it/s] img2img iteration 96 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.51it/s] img2img iteration 97 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.54it/s] img2img iteration 98 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.75it/s] img2img iteration 99 0%| | 0/1 [00:00<?, ?it/s] 100%|██████████| 1/1 [00:00<00:00, 25.74it/s] ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, image2, from '/tmp/out-*.png': Duration: 00:00:08.33, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24(pc), 1024x1024, 12 fps, 12 tbr, 12 tbn, 12 tbc Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x55f7cfd65880] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55f7cfd65880] profile High, level 3.2, 4:2:0, 8-bit [libx264 @ 0x55f7cfd65880] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/tmp/output_video.mp4': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 1024x1024, q=2-31, 12 fps, 12288 tbn Metadata: encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 59 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 84 fps= 81 q=20.0 size= 1792kB time=00:00:01.83 bitrate=8007.2kbits/s speed=1.76x frame= 100 fps= 44 q=-1.0 Lsize= 10067kB time=00:00:08.08 bitrate=10202.2kbits/s speed=3.55x video:10065kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.020997% [libx264 @ 0x55f7cfd65880] frame I:1 Avg QP:16.44 size:100482 [libx264 @ 0x55f7cfd65880] frame P:25 Avg QP:16.64 size:130728 [libx264 @ 0x55f7cfd65880] frame B:74 Avg QP:17.46 size: 93744 [libx264 @ 0x55f7cfd65880] consecutive B-frames: 1.0% 0.0% 3.0% 96.0% [libx264 @ 0x55f7cfd65880] mb I I16..4: 6.2% 69.3% 24.5% [libx264 @ 0x55f7cfd65880] mb P I16..4: 12.8% 31.8% 13.5% P16..4: 16.8% 16.4% 8.4% 0.0% 0.0% skip: 0.3% [libx264 @ 0x55f7cfd65880] mb B I16..4: 4.6% 12.4% 6.7% B16..8: 31.2% 23.0% 10.0% direct: 9.3% skip: 2.8% L0:41.0% L1:38.3% BI:20.7% [libx264 @ 0x55f7cfd65880] 8x8 transform intra:53.8% inter:62.4% [libx264 @ 0x55f7cfd65880] coded y,uvDC,uvAC intra: 82.3% 78.3% 54.8% inter: 57.1% 88.1% 20.9% [libx264 @ 0x55f7cfd65880] i16 v,h,dc,p: 4% 2% 4% 91% [libx264 @ 0x55f7cfd65880] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 6% 20% 9% 10% 15% 6% 12% 6% [libx264 @ 0x55f7cfd65880] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 5% 11% 11% 22% 18% 9% 11% 6% [libx264 @ 0x55f7cfd65880] i8c dc,h,v,p: 53% 15% 19% 13% [libx264 @ 0x55f7cfd65880] Weighted P-Frames: Y:24.0% UV:24.0% [libx264 @ 0x55f7cfd65880] ref P L0: 52.2% 12.7% 21.9% 11.7% 1.6% [libx264 @ 0x55f7cfd65880] ref B L0: 77.7% 17.4% 4.9% [libx264 @ 0x55f7cfd65880] ref B L1: 90.8% 9.2% [libx264 @ 0x55f7cfd65880] kb/s:9893.53
Prediction
fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1IDexhazutbrblrhy6pjelfxvtlymStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 1000
- width
- 512
- height
- 512
- prompt
- A snowy landscape painting
- iterations
- 60
- num_images
- 1
- guidance_scale
- 8
- prompt_strength
- 0.4
- lcm_origin_steps
- 50
- num_inference_steps
- 2
{ "seed": 1000, "image": "https://replicate.delivery/pbxt/JlcGycqMhXWv4XibrITHUB1OFFaMhvnXo9EYukMiHNKSkjZK/out-0-34.png", "width": 512, "height": 512, "prompt": "A snowy landscape painting", "iterations": 60, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.4, "lcm_origin_steps": 50, "num_inference_steps": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", { input: { seed: 1000, image: "https://replicate.delivery/pbxt/JlcGycqMhXWv4XibrITHUB1OFFaMhvnXo9EYukMiHNKSkjZK/out-0-34.png", width: 512, height: 512, prompt: "A snowy landscape painting", iterations: 60, num_images: 1, guidance_scale: 8, prompt_strength: 0.4, lcm_origin_steps: 50, num_inference_steps: 2 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", input={ "seed": 1000, "image": "https://replicate.delivery/pbxt/JlcGycqMhXWv4XibrITHUB1OFFaMhvnXo9EYukMiHNKSkjZK/out-0-34.png", "width": 512, "height": 512, "prompt": "A snowy landscape painting", "iterations": 60, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.4, "lcm_origin_steps": 50, "num_inference_steps": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/lcm-animation 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": "fofr/lcm-animation:289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1", "input": { "seed": 1000, "image": "https://replicate.delivery/pbxt/JlcGycqMhXWv4XibrITHUB1OFFaMhvnXo9EYukMiHNKSkjZK/out-0-34.png", "width": 512, "height": 512, "prompt": "A snowy landscape painting", "iterations": 60, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.4, "lcm_origin_steps": 50, "num_inference_steps": 2 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-26T13:43:55.499545Z", "created_at": "2023-10-26T13:43:14.810997Z", "data_removed": false, "error": null, "id": "exhazutbrblrhy6pjelfxvtlym", "input": { "seed": 1000, "image": "https://replicate.delivery/pbxt/JlcGycqMhXWv4XibrITHUB1OFFaMhvnXo9EYukMiHNKSkjZK/out-0-34.png", "width": 512, "height": 512, "prompt": "A snowy landscape painting", "iterations": 60, "num_images": 1, "guidance_scale": 8, "prompt_strength": 0.4, "lcm_origin_steps": 50, "num_inference_steps": 2 }, "logs": "Using seed: 1000\nimg2img mode\n 0%| | 0/2 [00:00<?, ?it/s]\n 50%|█████ | 1/2 [00:00<00:00, 7.46it/s]\n100%|██████████| 2/2 [00:00<00:00, 10.38it/s]\nimg2img iteration 1\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 2\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.89it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.87it/s]\nimg2img iteration 3\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 4\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.88it/s]\nimg2img iteration 5\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.87it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.86it/s]\nimg2img iteration 6\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.89it/s]\nimg2img iteration 7\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.89it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.88it/s]\nimg2img iteration 8\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.87it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.85it/s]\nimg2img iteration 9\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.89it/s]\nimg2img iteration 10\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.99it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\nimg2img iteration 11\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.85it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.83it/s]\nimg2img iteration 12\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\nimg2img iteration 13\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\nimg2img iteration 14\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 15\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nimg2img iteration 16\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.84it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.82it/s]\nimg2img iteration 17\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\nimg2img iteration 18\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nimg2img iteration 19\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.86it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.84it/s]\nimg2img iteration 20\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.88it/s]\nimg2img iteration 21\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.87it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.85it/s]\nimg2img iteration 22\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.97it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\nimg2img iteration 23\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.98it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\nimg2img iteration 24\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.04it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\nimg2img iteration 25\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\nimg2img iteration 26\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 27\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.98it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\nimg2img iteration 28\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.00it/s]\nimg2img iteration 29\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.08it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.06it/s]\nimg2img iteration 30\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 31\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nimg2img iteration 32\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 33\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 34\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.00it/s]\nimg2img iteration 35\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.99it/s]\nimg2img iteration 36\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 37\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\nimg2img iteration 38\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.05it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\nimg2img iteration 39\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.11it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.09it/s]\nimg2img iteration 40\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 41\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.04it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\nimg2img iteration 42\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 43\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.97it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\nimg2img iteration 44\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.00it/s]\nimg2img iteration 45\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.90it/s]\nimg2img iteration 46\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.05it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\nimg2img iteration 47\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.01it/s]\nimg2img iteration 48\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nimg2img iteration 49\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\nimg2img iteration 50\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.96it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\nimg2img iteration 51\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.04it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.02it/s]\nimg2img iteration 52\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nimg2img iteration 53\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.95it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.93it/s]\nimg2img iteration 54\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\nimg2img iteration 55\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.91it/s]\nimg2img iteration 56\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.06it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.04it/s]\nimg2img iteration 57\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.05it/s]\n100%|██████████| 2/2 [00:00<00:00, 17.03it/s]\nimg2img iteration 58\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.86it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.84it/s]\nimg2img iteration 59\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.94it/s]\n100%|██████████| 2/2 [00:00<00:00, 16.92it/s]\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, image2, from '/tmp/out-*.png':\nDuration: 00:00:05.00, start: 0.000000, bitrate: N/A\nStream #0:0: Video: png, rgb24(pc), 768x768, 12 fps, 12 tbr, 12 tbn, 12 tbc\nStream mapping:\nStream #0:0 -> #0:0 (png (native) -> h264 (libx264))\nPress [q] to stop, [?] for help\n[libx264 @ 0x55d1befc4500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n[libx264 @ 0x55d1befc4500] profile High, level 3.1, 4:2:0, 8-bit\n[libx264 @ 0x55d1befc4500] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\nOutput #0, mp4, to '/tmp/output_video.mp4':\nMetadata:\nencoder : Lavf58.76.100\nStream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 768x768, q=2-31, 12 fps, 12288 tbn\nMetadata:\nencoder : Lavc58.134.100 libx264\nSide data:\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\nframe= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 60 fps=0.0 q=-1.0 Lsize= 4753kB time=00:00:04.75 bitrate=8197.4kbits/s speed=4.94x\nvideo:4752kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.031958%\n[libx264 @ 0x55d1befc4500] frame I:3 Avg QP:15.89 size:100740\n[libx264 @ 0x55d1befc4500] frame P:20 Avg QP:17.89 size: 79276\n[libx264 @ 0x55d1befc4500] frame B:37 Avg QP:18.29 size: 80467\n[libx264 @ 0x55d1befc4500] consecutive B-frames: 16.7% 0.0% 10.0% 73.3%\n[libx264 @ 0x55d1befc4500] mb I I16..4: 8.3% 49.2% 42.5%\n[libx264 @ 0x55d1befc4500] mb P I16..4: 10.1% 37.8% 34.9% P16..4: 8.1% 6.4% 2.7% 0.0% 0.0% skip: 0.0%\n[libx264 @ 0x55d1befc4500] mb B I16..4: 5.3% 20.7% 27.6% B16..8: 16.3% 18.8% 6.2% direct: 4.8% skip: 0.3% L0:46.5% L1:37.6% BI:15.9%\n[libx264 @ 0x55d1befc4500] 8x8 transform intra:42.4% inter:60.8%\n[libx264 @ 0x55d1befc4500] coded y,uvDC,uvAC intra: 90.1% 81.5% 51.6% inter: 72.2% 89.3% 8.4%\n[libx264 @ 0x55d1befc4500] i16 v,h,dc,p: 19% 8% 4% 69%\n[libx264 @ 0x55d1befc4500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 16% 16% 8% 7% 8% 9% 8% 12%\n[libx264 @ 0x55d1befc4500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 15% 15% 10% 9% 9% 8% 9% 10%\n[libx264 @ 0x55d1befc4500] i8c dc,h,v,p: 47% 21% 23% 9%\n[libx264 @ 0x55d1befc4500] Weighted P-Frames: Y:5.0% UV:5.0%\n[libx264 @ 0x55d1befc4500] ref P L0: 51.5% 12.4% 21.3% 13.4% 1.4%\n[libx264 @ 0x55d1befc4500] ref B L0: 73.4% 20.6% 6.1%\n[libx264 @ 0x55d1befc4500] ref B L1: 89.0% 11.0%\n[libx264 @ 0x55d1befc4500] kb/s:7784.03", "metrics": { "predict_time": 40.686031, "total_time": 40.688548 }, "output": "https://replicate.delivery/pbxt/J02xJoiu9PLnN9RfztG4NrvXsrh6mn0SdtQGThShEfha8ByRA/output_video.mp4", "started_at": "2023-10-26T13:43:14.813514Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/exhazutbrblrhy6pjelfxvtlym", "cancel": "https://api.replicate.com/v1/predictions/exhazutbrblrhy6pjelfxvtlym/cancel" }, "version": "289d2912b28ae85a359ba5638634d2492acf9b0ae46a5322e3637b4373728bf1" }
Generated inUsing seed: 1000 img2img mode 0%| | 0/2 [00:00<?, ?it/s] 50%|█████ | 1/2 [00:00<00:00, 7.46it/s] 100%|██████████| 2/2 [00:00<00:00, 10.38it/s] img2img iteration 1 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 2 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.89it/s] 100%|██████████| 2/2 [00:00<00:00, 16.87it/s] img2img iteration 3 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 4 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] 100%|██████████| 2/2 [00:00<00:00, 16.88it/s] img2img iteration 5 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.87it/s] 100%|██████████| 2/2 [00:00<00:00, 16.86it/s] img2img iteration 6 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] 100%|██████████| 2/2 [00:00<00:00, 16.89it/s] img2img iteration 7 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.89it/s] 100%|██████████| 2/2 [00:00<00:00, 16.88it/s] img2img iteration 8 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.87it/s] 100%|██████████| 2/2 [00:00<00:00, 16.85it/s] img2img iteration 9 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] 100%|██████████| 2/2 [00:00<00:00, 16.89it/s] img2img iteration 10 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.99it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] img2img iteration 11 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.85it/s] 100%|██████████| 2/2 [00:00<00:00, 16.83it/s] img2img iteration 12 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] img2img iteration 13 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] img2img iteration 14 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 15 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] img2img iteration 16 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.84it/s] 100%|██████████| 2/2 [00:00<00:00, 16.82it/s] img2img iteration 17 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] img2img iteration 18 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] img2img iteration 19 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.86it/s] 100%|██████████| 2/2 [00:00<00:00, 16.84it/s] img2img iteration 20 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] 100%|██████████| 2/2 [00:00<00:00, 16.88it/s] img2img iteration 21 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.87it/s] 100%|██████████| 2/2 [00:00<00:00, 16.85it/s] img2img iteration 22 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.97it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] img2img iteration 23 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.98it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] img2img iteration 24 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.04it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] img2img iteration 25 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] img2img iteration 26 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 27 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.98it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] img2img iteration 28 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] 100%|██████████| 2/2 [00:00<00:00, 17.00it/s] img2img iteration 29 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.08it/s] 100%|██████████| 2/2 [00:00<00:00, 17.06it/s] img2img iteration 30 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 31 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] img2img iteration 32 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 33 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 34 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] 100%|██████████| 2/2 [00:00<00:00, 17.00it/s] img2img iteration 35 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] 100%|██████████| 2/2 [00:00<00:00, 16.99it/s] img2img iteration 36 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 37 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] img2img iteration 38 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.05it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] img2img iteration 39 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.11it/s] 100%|██████████| 2/2 [00:00<00:00, 17.09it/s] img2img iteration 40 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 41 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.04it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] img2img iteration 42 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 43 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.97it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] img2img iteration 44 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] 100%|██████████| 2/2 [00:00<00:00, 17.00it/s] img2img iteration 45 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] 100%|██████████| 2/2 [00:00<00:00, 16.90it/s] img2img iteration 46 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.05it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] img2img iteration 47 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] 100%|██████████| 2/2 [00:00<00:00, 17.01it/s] img2img iteration 48 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] img2img iteration 49 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] img2img iteration 50 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.96it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] img2img iteration 51 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.04it/s] 100%|██████████| 2/2 [00:00<00:00, 17.02it/s] img2img iteration 52 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] img2img iteration 53 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.95it/s] 100%|██████████| 2/2 [00:00<00:00, 16.93it/s] img2img iteration 54 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] img2img iteration 55 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] 100%|██████████| 2/2 [00:00<00:00, 16.91it/s] img2img iteration 56 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.06it/s] 100%|██████████| 2/2 [00:00<00:00, 17.04it/s] img2img iteration 57 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 17.05it/s] 100%|██████████| 2/2 [00:00<00:00, 17.03it/s] img2img iteration 58 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.86it/s] 100%|██████████| 2/2 [00:00<00:00, 16.84it/s] img2img iteration 59 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 16.94it/s] 100%|██████████| 2/2 [00:00<00:00, 16.92it/s] ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, image2, from '/tmp/out-*.png': Duration: 00:00:05.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24(pc), 768x768, 12 fps, 12 tbr, 12 tbn, 12 tbc Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x55d1befc4500] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x55d1befc4500] profile High, level 3.1, 4:2:0, 8-bit [libx264 @ 0x55d1befc4500] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/tmp/output_video.mp4': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 768x768, q=2-31, 12 fps, 12288 tbn Metadata: encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 60 fps=0.0 q=-1.0 Lsize= 4753kB time=00:00:04.75 bitrate=8197.4kbits/s speed=4.94x video:4752kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.031958% [libx264 @ 0x55d1befc4500] frame I:3 Avg QP:15.89 size:100740 [libx264 @ 0x55d1befc4500] frame P:20 Avg QP:17.89 size: 79276 [libx264 @ 0x55d1befc4500] frame B:37 Avg QP:18.29 size: 80467 [libx264 @ 0x55d1befc4500] consecutive B-frames: 16.7% 0.0% 10.0% 73.3% [libx264 @ 0x55d1befc4500] mb I I16..4: 8.3% 49.2% 42.5% [libx264 @ 0x55d1befc4500] mb P I16..4: 10.1% 37.8% 34.9% P16..4: 8.1% 6.4% 2.7% 0.0% 0.0% skip: 0.0% [libx264 @ 0x55d1befc4500] mb B I16..4: 5.3% 20.7% 27.6% B16..8: 16.3% 18.8% 6.2% direct: 4.8% skip: 0.3% L0:46.5% L1:37.6% BI:15.9% [libx264 @ 0x55d1befc4500] 8x8 transform intra:42.4% inter:60.8% [libx264 @ 0x55d1befc4500] coded y,uvDC,uvAC intra: 90.1% 81.5% 51.6% inter: 72.2% 89.3% 8.4% [libx264 @ 0x55d1befc4500] i16 v,h,dc,p: 19% 8% 4% 69% [libx264 @ 0x55d1befc4500] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 16% 16% 8% 7% 8% 9% 8% 12% [libx264 @ 0x55d1befc4500] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 15% 15% 10% 9% 9% 8% 9% 10% [libx264 @ 0x55d1befc4500] i8c dc,h,v,p: 47% 21% 23% 9% [libx264 @ 0x55d1befc4500] Weighted P-Frames: Y:5.0% UV:5.0% [libx264 @ 0x55d1befc4500] ref P L0: 51.5% 12.4% 21.3% 13.4% 1.4% [libx264 @ 0x55d1befc4500] ref B L0: 73.4% 20.6% 6.1% [libx264 @ 0x55d1befc4500] ref B L1: 89.0% 11.0% [libx264 @ 0x55d1befc4500] kb/s:7784.03
Prediction
fofr/lcm-animation:3b0ca020edd96fd0bbdcb3bdd46cfe7f9875002c644f661ffce6e31a5f6f7473IDavd52ilb2oyhwabzhqyexlysoeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @fofrInput
- seed
- 2000
- image
- null
- width
- 512
- height
- 512
- end_prompt
- a portrait of a scary monster with sharp teeth
- iterations
- 32
- start_prompt
- a portrait of a cute kitten
- guidance_scale
- 8
- prompt_strength
- 0.3
- num_inference_steps
- 2
{ "seed": 2000, "image": null, "width": 512, "height": 512, "end_prompt": "a portrait of a scary monster with sharp teeth", "iterations": 32, "start_prompt": "a portrait of a cute kitten", "guidance_scale": 8, "prompt_strength": 0.3, "num_inference_steps": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/lcm-animation:3b0ca020edd96fd0bbdcb3bdd46cfe7f9875002c644f661ffce6e31a5f6f7473", { input: { seed: 2000, width: 512, height: 512, end_prompt: "a portrait of a scary monster with sharp teeth", iterations: 32, start_prompt: "a portrait of a cute kitten", guidance_scale: 8, prompt_strength: 0.3, num_inference_steps: 2 } } ); // 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.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/lcm-animation:3b0ca020edd96fd0bbdcb3bdd46cfe7f9875002c644f661ffce6e31a5f6f7473", input={ "seed": 2000, "width": 512, "height": 512, "end_prompt": "a portrait of a scary monster with sharp teeth", "iterations": 32, "start_prompt": "a portrait of a cute kitten", "guidance_scale": 8, "prompt_strength": 0.3, "num_inference_steps": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/lcm-animation 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": "fofr/lcm-animation:3b0ca020edd96fd0bbdcb3bdd46cfe7f9875002c644f661ffce6e31a5f6f7473", "input": { "seed": 2000, "width": 512, "height": 512, "end_prompt": "a portrait of a scary monster with sharp teeth", "iterations": 32, "start_prompt": "a portrait of a cute kitten", "guidance_scale": 8, "prompt_strength": 0.3, "num_inference_steps": 2 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-26T14:37:11.598424Z", "created_at": "2023-10-26T14:37:01.379804Z", "data_removed": false, "error": null, "id": "avd52ilb2oyhwabzhqyexlysoe", "input": { "seed": 2000, "image": null, "width": 512, "height": 512, "end_prompt": "a portrait of a scary monster with sharp teeth", "iterations": 32, "start_prompt": "a portrait of a cute kitten", "guidance_scale": 8, "prompt_strength": 0.3, "num_inference_steps": 2 }, "logs": "Using seed: 2000\ntxt2img mode\n 0%| | 0/8 [00:00<?, ?it/s]\n 50%|█████ | 4/8 [00:00<00:00, 33.11it/s]\n100%|██████████| 8/8 [00:00<00:00, 33.04it/s]\n100%|██████████| 8/8 [00:00<00:00, 33.03it/s]\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.75it/s]\nimg2img iteration 1\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.15it/s]\nimg2img iteration 2\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.30it/s]\nimg2img iteration 3\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.40it/s]\nimg2img iteration 4\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.57it/s]\nimg2img iteration 5\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.33it/s]\nimg2img iteration 6\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.27it/s]\nimg2img iteration 7\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.29it/s]\nimg2img iteration 8\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.55it/s]\nimg2img iteration 9\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.73it/s]\nimg2img iteration 10\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.60it/s]\nimg2img iteration 11\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.31it/s]\nimg2img iteration 12\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.56it/s]\nimg2img iteration 13\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.84it/s]\nimg2img iteration 14\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.20it/s]\nimg2img iteration 15\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.42it/s]\nimg2img iteration 16\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.06it/s]\nimg2img iteration 17\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.77it/s]\nimg2img iteration 18\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.57it/s]\nimg2img iteration 19\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.70it/s]\nimg2img iteration 20\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.80it/s]\nimg2img iteration 21\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.61it/s]\nimg2img iteration 22\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.38it/s]\nimg2img iteration 23\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.02it/s]\nimg2img iteration 24\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.56it/s]\nimg2img iteration 25\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.45it/s]\nimg2img iteration 26\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.61it/s]\nimg2img iteration 27\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.41it/s]\nimg2img iteration 28\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.79it/s]\nimg2img iteration 29\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.34it/s]\nimg2img iteration 30\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.32it/s]\nimg2img iteration 31\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 34.37it/s]\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, image2, from '/tmp/out-*.png':\nDuration: 00:00:02.67, start: 0.000000, bitrate: N/A\nStream #0:0: Video: png, rgb24(pc), 512x512, 12 fps, 12 tbr, 12 tbn, 12 tbc\nStream mapping:\nStream #0:0 -> #0:0 (png (native) -> h264 (libx264))\nPress [q] to stop, [?] for help\n[libx264 @ 0x5565d8d85c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n[libx264 @ 0x5565d8d85c80] profile High, level 2.2, 4:2:0, 8-bit\n[libx264 @ 0x5565d8d85c80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\nOutput #0, mp4, to '/tmp/output_video.mp4':\nMetadata:\nencoder : Lavf58.76.100\nStream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 512x512, q=2-31, 12 fps, 12288 tbn\nMetadata:\nencoder : Lavc58.134.100 libx264\nSide data:\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\nframe= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 32 fps=0.0 q=-1.0 Lsize= 1036kB time=00:00:02.41 bitrate=3510.1kbits/s speed=9.47x\nvideo:1034kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.118115%\n[libx264 @ 0x5565d8d85c80] frame I:1 Avg QP:18.61 size: 40898\n[libx264 @ 0x5565d8d85c80] frame P:8 Avg QP:17.89 size: 36033\n[libx264 @ 0x5565d8d85c80] frame B:23 Avg QP:18.38 size: 31708\n[libx264 @ 0x5565d8d85c80] consecutive B-frames: 3.1% 0.0% 9.4% 87.5%\n[libx264 @ 0x5565d8d85c80] mb I I16..4: 7.9% 45.4% 46.7%\n[libx264 @ 0x5565d8d85c80] mb P I16..4: 15.1% 35.7% 24.3% P16..4: 11.7% 9.2% 3.9% 0.0% 0.0% skip: 0.0%\n[libx264 @ 0x5565d8d85c80] mb B I16..4: 5.7% 16.6% 17.0% B16..8: 21.7% 22.4% 8.2% direct: 7.5% skip: 1.0% L0:41.7% L1:38.8% BI:19.6%\n[libx264 @ 0x5565d8d85c80] 8x8 transform intra:44.4% inter:62.7%\n[libx264 @ 0x5565d8d85c80] coded y,uvDC,uvAC intra: 85.4% 80.5% 57.3% inter: 68.8% 85.4% 7.5%\n[libx264 @ 0x5565d8d85c80] i16 v,h,dc,p: 20% 8% 1% 71%\n[libx264 @ 0x5565d8d85c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 9% 7% 9% 11% 9% 11% 9%\n[libx264 @ 0x5565d8d85c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 11% 9% 11% 11% 10% 11% 10%\n[libx264 @ 0x5565d8d85c80] i8c dc,h,v,p: 49% 16% 23% 12%\n[libx264 @ 0x5565d8d85c80] Weighted P-Frames: Y:37.5% UV:37.5%\n[libx264 @ 0x5565d8d85c80] ref P L0: 47.2% 6.9% 28.3% 15.2% 2.4%\n[libx264 @ 0x5565d8d85c80] ref B L0: 75.2% 19.9% 5.0%\n[libx264 @ 0x5565d8d85c80] ref B L1: 88.2% 11.8%\n[libx264 @ 0x5565d8d85c80] kb/s:3175.34", "metrics": { "predict_time": 10.213351, "total_time": 10.21862 }, "output": "https://replicate.delivery/pbxt/Bj2KabMFKaL0OtALDDLN3bn4qMEiHi6Y8ngX4JyL5rplrgcE/output_video.mp4", "started_at": "2023-10-26T14:37:01.385073Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/avd52ilb2oyhwabzhqyexlysoe", "cancel": "https://api.replicate.com/v1/predictions/avd52ilb2oyhwabzhqyexlysoe/cancel" }, "version": "3b0ca020edd96fd0bbdcb3bdd46cfe7f9875002c644f661ffce6e31a5f6f7473" }
Generated inUsing seed: 2000 txt2img mode 0%| | 0/8 [00:00<?, ?it/s] 50%|█████ | 4/8 [00:00<00:00, 33.11it/s] 100%|██████████| 8/8 [00:00<00:00, 33.04it/s] 100%|██████████| 8/8 [00:00<00:00, 33.03it/s] 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.75it/s] img2img iteration 1 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.15it/s] img2img iteration 2 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.30it/s] img2img iteration 3 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.40it/s] img2img iteration 4 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.57it/s] img2img iteration 5 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.33it/s] img2img iteration 6 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.27it/s] img2img iteration 7 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.29it/s] img2img iteration 8 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.55it/s] img2img iteration 9 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.73it/s] img2img iteration 10 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.60it/s] img2img iteration 11 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.31it/s] img2img iteration 12 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.56it/s] img2img iteration 13 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.84it/s] img2img iteration 14 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.20it/s] img2img iteration 15 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.42it/s] img2img iteration 16 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.06it/s] img2img iteration 17 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.77it/s] img2img iteration 18 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.57it/s] img2img iteration 19 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.70it/s] img2img iteration 20 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.80it/s] img2img iteration 21 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.61it/s] img2img iteration 22 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.38it/s] img2img iteration 23 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.02it/s] img2img iteration 24 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.56it/s] img2img iteration 25 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.45it/s] img2img iteration 26 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.61it/s] img2img iteration 27 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.41it/s] img2img iteration 28 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.79it/s] img2img iteration 29 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.34it/s] img2img iteration 30 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.32it/s] img2img iteration 31 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 34.37it/s] ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, image2, from '/tmp/out-*.png': Duration: 00:00:02.67, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24(pc), 512x512, 12 fps, 12 tbr, 12 tbn, 12 tbc Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x5565d8d85c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x5565d8d85c80] profile High, level 2.2, 4:2:0, 8-bit [libx264 @ 0x5565d8d85c80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/tmp/output_video.mp4': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 512x512, q=2-31, 12 fps, 12288 tbn Metadata: encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 32 fps=0.0 q=-1.0 Lsize= 1036kB time=00:00:02.41 bitrate=3510.1kbits/s speed=9.47x video:1034kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.118115% [libx264 @ 0x5565d8d85c80] frame I:1 Avg QP:18.61 size: 40898 [libx264 @ 0x5565d8d85c80] frame P:8 Avg QP:17.89 size: 36033 [libx264 @ 0x5565d8d85c80] frame B:23 Avg QP:18.38 size: 31708 [libx264 @ 0x5565d8d85c80] consecutive B-frames: 3.1% 0.0% 9.4% 87.5% [libx264 @ 0x5565d8d85c80] mb I I16..4: 7.9% 45.4% 46.7% [libx264 @ 0x5565d8d85c80] mb P I16..4: 15.1% 35.7% 24.3% P16..4: 11.7% 9.2% 3.9% 0.0% 0.0% skip: 0.0% [libx264 @ 0x5565d8d85c80] mb B I16..4: 5.7% 16.6% 17.0% B16..8: 21.7% 22.4% 8.2% direct: 7.5% skip: 1.0% L0:41.7% L1:38.8% BI:19.6% [libx264 @ 0x5565d8d85c80] 8x8 transform intra:44.4% inter:62.7% [libx264 @ 0x5565d8d85c80] coded y,uvDC,uvAC intra: 85.4% 80.5% 57.3% inter: 68.8% 85.4% 7.5% [libx264 @ 0x5565d8d85c80] i16 v,h,dc,p: 20% 8% 1% 71% [libx264 @ 0x5565d8d85c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 16% 9% 7% 9% 11% 9% 11% 9% [libx264 @ 0x5565d8d85c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 12% 11% 9% 11% 11% 10% 11% 10% [libx264 @ 0x5565d8d85c80] i8c dc,h,v,p: 49% 16% 23% 12% [libx264 @ 0x5565d8d85c80] Weighted P-Frames: Y:37.5% UV:37.5% [libx264 @ 0x5565d8d85c80] ref P L0: 47.2% 6.9% 28.3% 15.2% 2.4% [libx264 @ 0x5565d8d85c80] ref B L0: 75.2% 19.9% 5.0% [libx264 @ 0x5565d8d85c80] ref B L1: 88.2% 11.8% [libx264 @ 0x5565d8d85c80] kb/s:3175.34
Prediction
fofr/lcm-animation:9f10cbd0279420f2234801bd35d0477652decd4a4256d497ac2ad50ffca8668bIDt3nj2udb5gtexgssqnhvynjhruStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 512
- height
- 512
- end_prompt
- Self-portrait watercolour, a beautiful cyborg with purple hair, 8k
- iterations
- 24
- start_prompt
- Self-portrait oil painting, a beautiful cyborg with golden hair, 8k
- return_frames
- guidance_scale
- 8
- zoom_increment
- 0
- prompt_strength
- 0.3
- num_inference_steps
- 2
{ "width": 512, "height": 512, "end_prompt": "Self-portrait watercolour, a beautiful cyborg with purple hair, 8k", "iterations": 24, "start_prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "return_frames": false, "guidance_scale": 8, "zoom_increment": 0, "prompt_strength": 0.3, "num_inference_steps": 2 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "fofr/lcm-animation:9f10cbd0279420f2234801bd35d0477652decd4a4256d497ac2ad50ffca8668b", { input: { width: 512, height: 512, end_prompt: "Self-portrait watercolour, a beautiful cyborg with purple hair, 8k", iterations: 24, start_prompt: "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", return_frames: false, guidance_scale: 8, zoom_increment: 0, prompt_strength: 0.3, num_inference_steps: 2 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run fofr/lcm-animation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "fofr/lcm-animation:9f10cbd0279420f2234801bd35d0477652decd4a4256d497ac2ad50ffca8668b", input={ "width": 512, "height": 512, "end_prompt": "Self-portrait watercolour, a beautiful cyborg with purple hair, 8k", "iterations": 24, "start_prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "return_frames": False, "guidance_scale": 8, "zoom_increment": 0, "prompt_strength": 0.3, "num_inference_steps": 2 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run fofr/lcm-animation 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": "fofr/lcm-animation:9f10cbd0279420f2234801bd35d0477652decd4a4256d497ac2ad50ffca8668b", "input": { "width": 512, "height": 512, "end_prompt": "Self-portrait watercolour, a beautiful cyborg with purple hair, 8k", "iterations": 24, "start_prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "return_frames": false, "guidance_scale": 8, "zoom_increment": 0, "prompt_strength": 0.3, "num_inference_steps": 2 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-08T12:56:25.857037Z", "created_at": "2023-11-08T12:55:01.935862Z", "data_removed": false, "error": null, "id": "t3nj2udb5gtexgssqnhvynjhru", "input": { "width": 512, "height": 512, "end_prompt": "Self-portrait watercolour, a beautiful cyborg with purple hair, 8k", "iterations": 24, "start_prompt": "Self-portrait oil painting, a beautiful cyborg with golden hair, 8k", "return_frames": false, "guidance_scale": 8, "zoom_increment": 0, "prompt_strength": 0.3, "num_inference_steps": 2 }, "logs": "Using seed: 21366\ntxt2img mode\n 0%| | 0/8 [00:00<?, ?it/s]\n 12%|█▎ | 1/8 [00:00<00:01, 4.53it/s]\n 62%|██████▎ | 5/8 [00:00<00:00, 17.16it/s]\n100%|██████████| 8/8 [00:00<00:00, 18.66it/s]\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.36it/s]\nimg2img iteration 1\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.40it/s]\nimg2img iteration 2\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.01it/s]\nimg2img iteration 3\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.28it/s]\nimg2img iteration 4\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 31.30it/s]\nimg2img iteration 5\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.02it/s]\nimg2img iteration 6\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.13it/s]\nimg2img iteration 7\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.41it/s]\nimg2img iteration 8\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.49it/s]\nimg2img iteration 9\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.98it/s]\nimg2img iteration 10\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.79it/s]\nimg2img iteration 11\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.32it/s]\nimg2img iteration 12\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.08it/s]\nimg2img iteration 13\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.23it/s]\nimg2img iteration 14\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.04it/s]\nimg2img iteration 15\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 32.96it/s]\nimg2img iteration 16\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.03it/s]\nimg2img iteration 17\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.03it/s]\nimg2img iteration 18\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.01it/s]\nimg2img iteration 19\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.06it/s]\nimg2img iteration 20\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.20it/s]\nimg2img iteration 21\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.20it/s]\nimg2img iteration 22\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.18it/s]\nimg2img iteration 23\n 0%| | 0/2 [00:00<?, ?it/s]\n100%|██████████| 2/2 [00:00<00:00, 33.38it/s]\nffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers\nbuilt with gcc 11 (Ubuntu 11.2.0-19ubuntu1)\nconfiguration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared\nlibavutil 56. 70.100 / 56. 70.100\nlibavcodec 58.134.100 / 58.134.100\nlibavformat 58. 76.100 / 58. 76.100\nlibavdevice 58. 13.100 / 58. 13.100\nlibavfilter 7.110.100 / 7.110.100\nlibswscale 5. 9.100 / 5. 9.100\nlibswresample 3. 9.100 / 3. 9.100\nlibpostproc 55. 9.100 / 55. 9.100\nInput #0, image2, from '/tmp/out-*.png':\nDuration: 00:00:02.00, start: 0.000000, bitrate: N/A\nStream #0:0: Video: png, rgb24(pc), 512x512, 12 fps, 12 tbr, 12 tbn, 12 tbc\nStream mapping:\nStream #0:0 -> #0:0 (png (native) -> h264 (libx264))\nPress [q] to stop, [?] for help\n[libx264 @ 0x557015088c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2\n[libx264 @ 0x557015088c80] profile High, level 2.2, 4:2:0, 8-bit\n[libx264 @ 0x557015088c80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\nOutput #0, mp4, to '/tmp/output_video.mp4':\nMetadata:\nencoder : Lavf58.76.100\nStream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 512x512, q=2-31, 12 fps, 12288 tbn\nMetadata:\nencoder : Lavc58.134.100 libx264\nSide data:\ncpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A\nframe= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x\nframe= 24 fps=0.0 q=-1.0 Lsize= 589kB time=00:00:01.75 bitrate=2757.7kbits/s speed=8.26x\nvideo:588kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.189158%\n[libx264 @ 0x557015088c80] frame I:1 Avg QP:17.80 size: 39194\n[libx264 @ 0x557015088c80] frame P:6 Avg QP:17.38 size: 25997\n[libx264 @ 0x557015088c80] frame B:17 Avg QP:17.91 size: 23899\n[libx264 @ 0x557015088c80] consecutive B-frames: 4.2% 0.0% 12.5% 83.3%\n[libx264 @ 0x557015088c80] mb I I16..4: 5.8% 47.5% 46.8%\n[libx264 @ 0x557015088c80] mb P I16..4: 5.6% 40.0% 27.8% P16..4: 11.2% 10.9% 4.4% 0.0% 0.0% skip: 0.1%\n[libx264 @ 0x557015088c80] mb B I16..4: 2.7% 20.8% 18.9% B16..8: 20.6% 20.2% 7.7% direct: 8.1% skip: 1.0% L0:41.5% L1:38.8% BI:19.7%\n[libx264 @ 0x557015088c80] 8x8 transform intra:50.9% inter:64.3%\n[libx264 @ 0x557015088c80] coded y,uvDC,uvAC intra: 87.4% 73.0% 42.9% inter: 75.8% 85.4% 3.6%\n[libx264 @ 0x557015088c80] i16 v,h,dc,p: 32% 15% 4% 49%\n[libx264 @ 0x557015088c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 8% 18% 7% 9% 13% 6% 11% 6%\n[libx264 @ 0x557015088c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 9% 12% 10% 12% 14% 8% 10% 6%\n[libx264 @ 0x557015088c80] i8c dc,h,v,p: 57% 13% 23% 8%\n[libx264 @ 0x557015088c80] Weighted P-Frames: Y:50.0% UV:50.0%\n[libx264 @ 0x557015088c80] ref P L0: 52.0% 10.5% 22.6% 12.0% 2.9%\n[libx264 @ 0x557015088c80] ref B L0: 77.0% 18.6% 4.4%\n[libx264 @ 0x557015088c80] ref B L1: 89.1% 10.9%\n[libx264 @ 0x557015088c80] kb/s:2405.81", "metrics": { "predict_time": 8.802856, "total_time": 83.921175 }, "output": [ "https://replicate.delivery/pbxt/l1rwjeJd4gRzMSB723p80GNh10TBSxqumoqgZS2ybPz8uJ7IA/output_video.mp4" ], "started_at": "2023-11-08T12:56:17.054181Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/t3nj2udb5gtexgssqnhvynjhru", "cancel": "https://api.replicate.com/v1/predictions/t3nj2udb5gtexgssqnhvynjhru/cancel" }, "version": "9f10cbd0279420f2234801bd35d0477652decd4a4256d497ac2ad50ffca8668b" }
Generated inUsing seed: 21366 txt2img mode 0%| | 0/8 [00:00<?, ?it/s] 12%|█▎ | 1/8 [00:00<00:01, 4.53it/s] 62%|██████▎ | 5/8 [00:00<00:00, 17.16it/s] 100%|██████████| 8/8 [00:00<00:00, 18.66it/s] 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.36it/s] img2img iteration 1 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.40it/s] img2img iteration 2 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.01it/s] img2img iteration 3 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.28it/s] img2img iteration 4 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 31.30it/s] img2img iteration 5 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.02it/s] img2img iteration 6 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.13it/s] img2img iteration 7 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.41it/s] img2img iteration 8 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.49it/s] img2img iteration 9 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.98it/s] img2img iteration 10 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.79it/s] img2img iteration 11 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.32it/s] img2img iteration 12 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.08it/s] img2img iteration 13 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.23it/s] img2img iteration 14 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.04it/s] img2img iteration 15 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 32.96it/s] img2img iteration 16 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.03it/s] img2img iteration 17 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.03it/s] img2img iteration 18 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.01it/s] img2img iteration 19 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.06it/s] img2img iteration 20 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.20it/s] img2img iteration 21 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.20it/s] img2img iteration 22 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.18it/s] img2img iteration 23 0%| | 0/2 [00:00<?, ?it/s] 100%|██████████| 2/2 [00:00<00:00, 33.38it/s] ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, image2, from '/tmp/out-*.png': Duration: 00:00:02.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgb24(pc), 512x512, 12 fps, 12 tbr, 12 tbn, 12 tbc Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x557015088c80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x557015088c80] profile High, level 2.2, 4:2:0, 8-bit [libx264 @ 0x557015088c80] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=15 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=12 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to '/tmp/output_video.mp4': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 512x512, q=2-31, 12 fps, 12288 tbn Metadata: encoder : Lavc58.134.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 1 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A speed= 0x frame= 24 fps=0.0 q=-1.0 Lsize= 589kB time=00:00:01.75 bitrate=2757.7kbits/s speed=8.26x video:588kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.189158% [libx264 @ 0x557015088c80] frame I:1 Avg QP:17.80 size: 39194 [libx264 @ 0x557015088c80] frame P:6 Avg QP:17.38 size: 25997 [libx264 @ 0x557015088c80] frame B:17 Avg QP:17.91 size: 23899 [libx264 @ 0x557015088c80] consecutive B-frames: 4.2% 0.0% 12.5% 83.3% [libx264 @ 0x557015088c80] mb I I16..4: 5.8% 47.5% 46.8% [libx264 @ 0x557015088c80] mb P I16..4: 5.6% 40.0% 27.8% P16..4: 11.2% 10.9% 4.4% 0.0% 0.0% skip: 0.1% [libx264 @ 0x557015088c80] mb B I16..4: 2.7% 20.8% 18.9% B16..8: 20.6% 20.2% 7.7% direct: 8.1% skip: 1.0% L0:41.5% L1:38.8% BI:19.7% [libx264 @ 0x557015088c80] 8x8 transform intra:50.9% inter:64.3% [libx264 @ 0x557015088c80] coded y,uvDC,uvAC intra: 87.4% 73.0% 42.9% inter: 75.8% 85.4% 3.6% [libx264 @ 0x557015088c80] i16 v,h,dc,p: 32% 15% 4% 49% [libx264 @ 0x557015088c80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 8% 18% 7% 9% 13% 6% 11% 6% [libx264 @ 0x557015088c80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 9% 12% 10% 12% 14% 8% 10% 6% [libx264 @ 0x557015088c80] i8c dc,h,v,p: 57% 13% 23% 8% [libx264 @ 0x557015088c80] Weighted P-Frames: Y:50.0% UV:50.0% [libx264 @ 0x557015088c80] ref P L0: 52.0% 10.5% 22.6% 12.0% 2.9% [libx264 @ 0x557015088c80] ref B L0: 77.0% 18.6% 4.4% [libx264 @ 0x557015088c80] ref B L1: 89.1% 10.9% [libx264 @ 0x557015088c80] kb/s:2405.81
Want to make some of these yourself?
Run this model