lucataco / frame-extractor
Extract the first or last frame from any video file as a high-quality image
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dID6x476x1wzhrma0cnq91sfvpnswStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": false }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", return_first_frame: false } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": False } ) # 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.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": false } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:52:03.833196Z", "created_at": "2025-03-21T19:52:03.580000Z", "data_removed": false, "error": null, "id": "6x476x1wzhrma0cnq91sfvpnsw", "input": { "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": false }, "logs": null, "metrics": { "predict_time": 0.244566994, "total_time": 0.253196 }, "output": "https://replicate.delivery/xezq/8eRuEkkROH1JC6ZzfWenkbjnX0jVWrseo8u3ndxJb6IMWdrRB/output_frame.jpg", "started_at": "2025-03-21T19:52:03.588629Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-rsupljq2avxdexlyk332ku3xbixqugenf2c4pys4sugif5u4rmua", "get": "https://api.replicate.com/v1/predictions/6x476x1wzhrma0cnq91sfvpnsw", "cancel": "https://api.replicate.com/v1/predictions/6x476x1wzhrma0cnq91sfvpnsw/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dIDva5ar2pfpdrme0cnq91tfmwttwStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": true }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", return_first_frame: true } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": True } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": true } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:52:41.305903Z", "created_at": "2025-03-21T19:52:41.139000Z", "data_removed": false, "error": null, "id": "va5ar2pfpdrme0cnq91tfmwttw", "input": { "video": "https://replicate.delivery/pbxt/MhRdvvOM6hd7O9J0Sazb32TBwSfvD4GDCI5KaEQcR3sdk9bF/replicate-prediction-h6dtd6vk6drma0cn8dy91bxkzm.mp4", "return_first_frame": true }, "logs": null, "metrics": { "predict_time": 0.159145598, "total_time": 0.166903 }, "output": "https://replicate.delivery/xezq/6jBABUl8e5TucSodrnroh4uYxURFiQfPlVhh56gcfdwTsu1oA/output_frame.jpg", "started_at": "2025-03-21T19:52:41.146758Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ohz2p7ixuk6iuppw6stge723g7ygtjuw2otjrvqjr7plwwqpkhjq", "get": "https://api.replicate.com/v1/predictions/va5ar2pfpdrme0cnq91tfmwttw", "cancel": "https://api.replicate.com/v1/predictions/va5ar2pfpdrme0cnq91tfmwttw/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dIDm89r7tp8d1rmc0cnq928mpg7s0StatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRfWBrXQmMW4dDsvtCpKSZLcMyj8xeMmw3AgnlN1htESBmE/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": false }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRfWBrXQmMW4dDsvtCpKSZLcMyj8xeMmw3AgnlN1htESBmE/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", return_first_frame: false } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRfWBrXQmMW4dDsvtCpKSZLcMyj8xeMmw3AgnlN1htESBmE/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": False } ) # 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.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRfWBrXQmMW4dDsvtCpKSZLcMyj8xeMmw3AgnlN1htESBmE/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": false } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:53:45.120096Z", "created_at": "2025-03-21T19:53:44.808000Z", "data_removed": false, "error": null, "id": "m89r7tp8d1rmc0cnq928mpg7s0", "input": { "video": "https://replicate.delivery/pbxt/MhRfWBrXQmMW4dDsvtCpKSZLcMyj8xeMmw3AgnlN1htESBmE/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": false }, "logs": null, "metrics": { "predict_time": 0.304680985, "total_time": 0.312096 }, "output": "https://replicate.delivery/xezq/kAl2iz9kA8InHVjLGKjPrKhmEkVgToHBeZzssXZGJeCJX3aUA/output_frame.jpg", "started_at": "2025-03-21T19:53:44.815415Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-xj3trren56t4pafxritqksqrh6wuv6hehomi5tpuznkfzg62h4ya", "get": "https://api.replicate.com/v1/predictions/m89r7tp8d1rmc0cnq928mpg7s0", "cancel": "https://api.replicate.com/v1/predictions/m89r7tp8d1rmc0cnq928mpg7s0/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dIDnrmsqqq351rma0cnq92ajk1vngStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRfdSEruL49w0Sis2Tju9mEtk3LkLCs5pvCiFNeMIdhTVud/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": true }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRfdSEruL49w0Sis2Tju9mEtk3LkLCs5pvCiFNeMIdhTVud/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", return_first_frame: true } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRfdSEruL49w0Sis2Tju9mEtk3LkLCs5pvCiFNeMIdhTVud/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": True } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRfdSEruL49w0Sis2Tju9mEtk3LkLCs5pvCiFNeMIdhTVud/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": true } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:53:51.810596Z", "created_at": "2025-03-21T19:53:51.656000Z", "data_removed": false, "error": null, "id": "nrmsqqq351rma0cnq92ajk1vng", "input": { "video": "https://replicate.delivery/pbxt/MhRfdSEruL49w0Sis2Tju9mEtk3LkLCs5pvCiFNeMIdhTVud/replicate-prediction-qtf1fjc7m1rmc0cmzd89dmcqam.mp4", "return_first_frame": true }, "logs": null, "metrics": { "predict_time": 0.146445453, "total_time": 0.154596 }, "output": "https://replicate.delivery/xezq/GehSxHvRxdVzO6hgygeUC8bZBewXSTUA9Pl8zyBtvtAfcdrRB/output_frame.jpg", "started_at": "2025-03-21T19:53:51.664151Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-oupws4zold32go6mqueipfmnkclbkktvpamontqsgklubgst4mia", "get": "https://api.replicate.com/v1/predictions/nrmsqqq351rma0cnq92ajk1vng", "cancel": "https://api.replicate.com/v1/predictions/nrmsqqq351rma0cnq92ajk1vng/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dIDdwv4d16q71rma0cnq93rdamjerStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRigJLHBphLLEnGdVtFyQf8aGsIeB95UoVtRoAd88G1iqg1/falcon2.mp4", "return_first_frame": false }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRigJLHBphLLEnGdVtFyQf8aGsIeB95UoVtRoAd88G1iqg1/falcon2.mp4", return_first_frame: false } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRigJLHBphLLEnGdVtFyQf8aGsIeB95UoVtRoAd88G1iqg1/falcon2.mp4", "return_first_frame": False } ) # 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.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRigJLHBphLLEnGdVtFyQf8aGsIeB95UoVtRoAd88G1iqg1/falcon2.mp4", "return_first_frame": false } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:57:05.603226Z", "created_at": "2025-03-21T19:57:05.208000Z", "data_removed": false, "error": null, "id": "dwv4d16q71rma0cnq93rdamjer", "input": { "video": "https://replicate.delivery/pbxt/MhRigJLHBphLLEnGdVtFyQf8aGsIeB95UoVtRoAd88G1iqg1/falcon2.mp4", "return_first_frame": false }, "logs": null, "metrics": { "predict_time": 0.387705524, "total_time": 0.395226 }, "output": "https://replicate.delivery/xezq/fV4Df8aCjDlEo0bqowrsFdcqJAVVdNXDTKNifCvvpsFj0u1oA/output_frame.jpg", "started_at": "2025-03-21T19:57:05.215521Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-fvv2e2wnsztp3tz67dopkiynemrimolemalczp4ldw4z4qpglnha", "get": "https://api.replicate.com/v1/predictions/dwv4d16q71rma0cnq93rdamjer", "cancel": "https://api.replicate.com/v1/predictions/dwv4d16q71rma0cnq93rdamjer/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Prediction
lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442dIDvd90d0fes5rme0cnq93rk5t0rgStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
- video
- return_first_frame
{ "video": "https://replicate.delivery/pbxt/MhRimdIkqcUZiwAoHII8eequuv5jiUDSCp5xwMbf5FefdbNr/falcon2.mp4", "return_first_frame": true }
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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", { input: { video: "https://replicate.delivery/pbxt/MhRimdIkqcUZiwAoHII8eequuv5jiUDSCp5xwMbf5FefdbNr/falcon2.mp4", return_first_frame: true } } ); // 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 lucataco/frame-extractor using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", input={ "video": "https://replicate.delivery/pbxt/MhRimdIkqcUZiwAoHII8eequuv5jiUDSCp5xwMbf5FefdbNr/falcon2.mp4", "return_first_frame": True } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run lucataco/frame-extractor 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": "lucataco/frame-extractor:c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d", "input": { "video": "https://replicate.delivery/pbxt/MhRimdIkqcUZiwAoHII8eequuv5jiUDSCp5xwMbf5FefdbNr/falcon2.mp4", "return_first_frame": true } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-03-21T19:57:11.552467Z", "created_at": "2025-03-21T19:57:11.241000Z", "data_removed": false, "error": null, "id": "vd90d0fes5rme0cnq93rk5t0rg", "input": { "video": "https://replicate.delivery/pbxt/MhRimdIkqcUZiwAoHII8eequuv5jiUDSCp5xwMbf5FefdbNr/falcon2.mp4", "return_first_frame": true }, "logs": null, "metrics": { "predict_time": 0.300972582, "total_time": 0.311467 }, "output": "https://replicate.delivery/xezq/HId7OIlPtoYfaa82lf7f55vuzg8CaKimUqWB6e9Ss2KfS7WjC/output_frame.jpg", "started_at": "2025-03-21T19:57:11.251494Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ftxc7atxam2egns4zphat2ennufjgxbno5fqwrokn7tcpxtgudla", "get": "https://api.replicate.com/v1/predictions/vd90d0fes5rme0cnq93rk5t0rg", "cancel": "https://api.replicate.com/v1/predictions/vd90d0fes5rme0cnq93rk5t0rg/cancel" }, "version": "c02b3c1df64728476b1c21b0876235119e6ac08b0c9b8a99b82c5f0e0d42442d" }
Want to make some of these yourself?
Run this model