typefile
{
"scale": 2,
"version": "v1.4",
"video": "https://replicate.delivery/pbxt/JMEGn3ZiKGmCi0HUlwR78hWuLce2Efd1n3SLs4Nl6jCpSL7k/trump_spline.mp4"
}npm install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_M3K**********************************
This is your API token. Keep it to yourself.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run pbarker/gfpgan-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"pbarker/gfpgan-video:ea1116ce24126a411c7beb092e587bee24b25525c1b0e493e3a907904952ace3",
{
input: {
scale: 2,
version: "v1.4",
video: "https://replicate.delivery/pbxt/JMEGn3ZiKGmCi0HUlwR78hWuLce2Efd1n3SLs4Nl6jCpSL7k/trump_spline.mp4"
}
}
);
// To access the file URL:
console.log(output.url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_M3K**********************************
This is your API token. Keep it to yourself.
import replicate
Run pbarker/gfpgan-video using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"pbarker/gfpgan-video:ea1116ce24126a411c7beb092e587bee24b25525c1b0e493e3a907904952ace3",
input={
"scale": 2,
"version": "v1.4",
"video": "https://replicate.delivery/pbxt/JMEGn3ZiKGmCi0HUlwR78hWuLce2Efd1n3SLs4Nl6jCpSL7k/trump_spline.mp4"
}
)
# To access the file URL:
print(output.url())
#=> "http://example.com"
# To write the file to disk:
with open("my-image.png", "wb") as file:
file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=r8_M3K**********************************
This is your API token. Keep it to yourself.
Run pbarker/gfpgan-video 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": "pbarker/gfpgan-video:ea1116ce24126a411c7beb092e587bee24b25525c1b0e493e3a907904952ace3",
"input": {
"scale": 2,
"version": "v1.4",
"video": "https://replicate.delivery/pbxt/JMEGn3ZiKGmCi0HUlwR78hWuLce2Efd1n3SLs4Nl6jCpSL7k/trump_spline.mp4"
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{
"id": "hz6oajdbi25mnfilpepnqlodvu",
"model": "pbarker/gfpgan-video",
"version": "ea1116ce24126a411c7beb092e587bee24b25525c1b0e493e3a907904952ace3",
"input": {
"scale": 2,
"version": "v1.4",
"video": "https://replicate.delivery/pbxt/JMEGn3ZiKGmCi0HUlwR78hWuLce2Efd1n3SLs4Nl6jCpSL7k/trump_spline.mp4"
},
"logs": "/tmp/tmpam83_pfztrump_spline.mp4 v1.4 2.0 0.5\nvideo width: 256\nvideo height: 256\nfps: 25\noutput video width: 1024\noutput video height: 1024\noutput path: out.mp4\ncalling enhancer...\n/root/.pyenv/versions/3.8.17/lib/python3.8/site-packages/torch/nn/functional.py:3103: UserWarning: The default behavior for interpolate/upsample with float scale_factor changed in 1.6.0 to align with other frameworks/libraries, and now uses scale_factor directly, instead of relying on the computed output size. If you wish to restore the old behavior, please set recompute_scale_factor=True. See the documentation of nn.Upsample for details.\nwarnings.warn(\"The default behavior for interpolate/upsample with float scale_factor changed \"\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\ncalling enhancer...\ngot enhanced output\noutput shape: (1024, 1024, 3)\noutput type: uint8\nsaving frame: (1024, 1024, 3)\nwriting frame to video...\nwrote frame to video\nfile size: 825.42 KB\nfinally",
"output": "https://replicate.delivery/pbxt/W65bf1YtfVlo80ErdMf3xe0beEb6H765dSFzrIfUKQexQpOtIA/tmpam83_pfztrump_spline.mp4",
"data_removed": false,
"error": null,
"source": "web",
"status": "succeeded",
"created_at": "2023-08-16T01:11:44.278861Z",
"started_at": "2023-08-16T01:11:54.751722Z",
"completed_at": "2023-08-16T01:13:06.984794Z",
"urls": {
"cancel": "https://api.replicate.com/v1/predictions/hz6oajdbi25mnfilpepnqlodvu/cancel",
"get": "https://api.replicate.com/v1/predictions/hz6oajdbi25mnfilpepnqlodvu"
},
"metrics": {
"predict_time": 72.233072,
"total_time": 82.705933
}
}