vis-opt-group/sci
Low-Light Image Enhancement
Prediction
vis-opt-group/sci:8755e569Input
{ "image": "https://replicate.delivery/mgxm/20fcd436-ba07-48ba-bcc4-4e443fd0004b/00001.png", "model_type": "medium" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/20fcd436-ba07-48ba-bcc4-4e443fd0004b/00001.png", model_type: "medium" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/20fcd436-ba07-48ba-bcc4-4e443fd0004b/00001.png", "model_type": "medium" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/20fcd436-ba07-48ba-bcc4-4e443fd0004b/00001.png", "model_type": "medium" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:44:52.882855Z", "created_at": "2022-06-09T13:43:31.621779Z", "data_removed": false, "error": null, "id": "6rhitwx4grbcpbzhed2qrz3vl4", "input": { "image": "https://replicate.delivery/mgxm/20fcd436-ba07-48ba-bcc4-4e443fd0004b/00001.png", "model_type": "medium" }, "logs": "predict.py:54: UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead.\n input = Variable(input, volatile=True).cuda()", "metrics": { "predict_time": 0.516125, "total_time": 81.261076 }, "output": "https://replicate.delivery/mgxm/7f6c1b88-6790-4883-b79d-6569f693b42f/output.png", "started_at": "2022-06-09T13:44:52.366730Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6rhitwx4grbcpbzhed2qrz3vl4", "cancel": "https://api.replicate.com/v1/predictions/6rhitwx4grbcpbzhed2qrz3vl4/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Generated inpredict.py:54: UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead. input = Variable(input, volatile=True).cuda()Prediction
vis-opt-group/sci:8755e569IDzqkhgk36mndtth5hcfpumbcnteStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/937626df-44db-4461-b354-389d42f27b4a/00051.png", "model_type": "medium" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/937626df-44db-4461-b354-389d42f27b4a/00051.png", model_type: "medium" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/937626df-44db-4461-b354-389d42f27b4a/00051.png", "model_type": "medium" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/937626df-44db-4461-b354-389d42f27b4a/00051.png", "model_type": "medium" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:46:55.185830Z", "created_at": "2022-06-09T13:46:54.284994Z", "data_removed": false, "error": null, "id": "zqkhgk36mndtth5hcfpumbcnte", "input": { "image": "https://replicate.delivery/mgxm/937626df-44db-4461-b354-389d42f27b4a/00051.png", "model_type": "medium" }, "logs": null, "metrics": { "predict_time": 0.000003, "total_time": 0.900836 }, "output": "https://replicate.delivery/mgxm/1778da14-81ba-48c0-88e5-003506482302/output.png", "started_at": "2022-06-09T13:46:55.185827Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zqkhgk36mndtth5hcfpumbcnte", "cancel": "https://api.replicate.com/v1/predictions/zqkhgk36mndtth5hcfpumbcnte/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569ID4bfe57xrubh67pv75hy63iifn4StatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/c09d33a6-51c7-452d-82d8-5b647c40a839/3018.jpeg", "model_type": "medium" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/c09d33a6-51c7-452d-82d8-5b647c40a839/3018.jpeg", model_type: "medium" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/c09d33a6-51c7-452d-82d8-5b647c40a839/3018.jpeg", "model_type": "medium" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/c09d33a6-51c7-452d-82d8-5b647c40a839/3018.jpeg", "model_type": "medium" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:47:21.363366Z", "created_at": "2022-06-09T13:47:20.248079Z", "data_removed": false, "error": null, "id": "4bfe57xrubh67pv75hy63iifn4", "input": { "image": "https://replicate.delivery/mgxm/c09d33a6-51c7-452d-82d8-5b647c40a839/3018.jpeg", "model_type": "medium" }, "logs": null, "metrics": { "predict_time": 0.000002, "total_time": 1.115287 }, "output": "https://replicate.delivery/mgxm/ea9b3fed-4e18-45e7-9f51-c4bada57a519/output.png", "started_at": "2022-06-09T13:47:21.363364Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4bfe57xrubh67pv75hy63iifn4", "cancel": "https://api.replicate.com/v1/predictions/4bfe57xrubh67pv75hy63iifn4/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569IDq5prjtak3zggjgh2tojrvg2qk4StatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/2486623a-6c11-42a5-97cd-8dee9abd9c22/1191.png", "model_type": "medium" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/2486623a-6c11-42a5-97cd-8dee9abd9c22/1191.png", model_type: "medium" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/2486623a-6c11-42a5-97cd-8dee9abd9c22/1191.png", "model_type": "medium" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/2486623a-6c11-42a5-97cd-8dee9abd9c22/1191.png", "model_type": "medium" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:48:06.580551Z", "created_at": "2022-06-09T13:48:05.170891Z", "data_removed": false, "error": null, "id": "q5prjtak3zggjgh2tojrvg2qk4", "input": { "image": "https://replicate.delivery/mgxm/2486623a-6c11-42a5-97cd-8dee9abd9c22/1191.png", "model_type": "medium" }, "logs": null, "metrics": { "predict_time": 0.000003, "total_time": 1.40966 }, "output": "https://replicate.delivery/mgxm/97bf2e49-5149-4739-a109-f805f9b8e1e3/output.png", "started_at": "2022-06-09T13:48:06.580548Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q5prjtak3zggjgh2tojrvg2qk4", "cancel": "https://api.replicate.com/v1/predictions/q5prjtak3zggjgh2tojrvg2qk4/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569IDxalwj3kztrdlbfkx5pnps3fuvqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/67c50285-dd09-46cf-b674-7434f3b6071a/2015_05885.jpeg", "model_type": "medium" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/67c50285-dd09-46cf-b674-7434f3b6071a/2015_05885.jpeg", model_type: "medium" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/67c50285-dd09-46cf-b674-7434f3b6071a/2015_05885.jpeg", "model_type": "medium" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/67c50285-dd09-46cf-b674-7434f3b6071a/2015_05885.jpeg", "model_type": "medium" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:48:40.816081Z", "created_at": "2022-06-09T13:48:39.466149Z", "data_removed": false, "error": null, "id": "xalwj3kztrdlbfkx5pnps3fuvq", "input": { "image": "https://replicate.delivery/mgxm/67c50285-dd09-46cf-b674-7434f3b6071a/2015_05885.jpeg", "model_type": "medium" }, "logs": null, "metrics": { "predict_time": 0.000001, "total_time": 1.349932 }, "output": "https://replicate.delivery/mgxm/ddf33f94-dd30-4a58-89df-85750a97a89b/output.png", "started_at": "2022-06-09T13:48:40.816080Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xalwj3kztrdlbfkx5pnps3fuvq", "cancel": "https://api.replicate.com/v1/predictions/xalwj3kztrdlbfkx5pnps3fuvq/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569IDl76zuhbqczfnxbbicyjdaugdsiStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/5e3f23f4-36c9-4579-857b-7f6def371a0a/372.png", "model_type": "difficult" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/5e3f23f4-36c9-4579-857b-7f6def371a0a/372.png", model_type: "difficult" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/5e3f23f4-36c9-4579-857b-7f6def371a0a/372.png", "model_type": "difficult" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/5e3f23f4-36c9-4579-857b-7f6def371a0a/372.png", "model_type": "difficult" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:49:52.587176Z", "created_at": "2022-06-09T13:49:51.226462Z", "data_removed": false, "error": null, "id": "l76zuhbqczfnxbbicyjdaugdsi", "input": { "image": "https://replicate.delivery/mgxm/5e3f23f4-36c9-4579-857b-7f6def371a0a/372.png", "model_type": "difficult" }, "logs": null, "metrics": { "predict_time": 0.000002, "total_time": 1.360714 }, "output": "https://replicate.delivery/mgxm/9aaf67ec-095f-488c-8361-cae1c052c4ec/output.png", "started_at": "2022-06-09T13:49:52.587174Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/l76zuhbqczfnxbbicyjdaugdsi", "cancel": "https://api.replicate.com/v1/predictions/l76zuhbqczfnxbbicyjdaugdsi/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569IDhbxqmkijjvfirmalq4oaivww7eStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/9e963ccf-c9a8-4b1d-a27a-729f73299e98/2015_02243.jpeg", "model_type": "difficult" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/9e963ccf-c9a8-4b1d-a27a-729f73299e98/2015_02243.jpeg", model_type: "difficult" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/9e963ccf-c9a8-4b1d-a27a-729f73299e98/2015_02243.jpeg", "model_type": "difficult" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/9e963ccf-c9a8-4b1d-a27a-729f73299e98/2015_02243.jpeg", "model_type": "difficult" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:50:25.052544Z", "created_at": "2022-06-09T13:50:23.949188Z", "data_removed": false, "error": null, "id": "hbxqmkijjvfirmalq4oaivww7e", "input": { "image": "https://replicate.delivery/mgxm/9e963ccf-c9a8-4b1d-a27a-729f73299e98/2015_02243.jpeg", "model_type": "difficult" }, "logs": null, "metrics": { "predict_time": 0.000002, "total_time": 1.103356 }, "output": "https://replicate.delivery/mgxm/f62cf272-ff06-4675-9394-9dcf356359b3/output.png", "started_at": "2022-06-09T13:50:25.052542Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hbxqmkijjvfirmalq4oaivww7e", "cancel": "https://api.replicate.com/v1/predictions/hbxqmkijjvfirmalq4oaivww7e/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }Prediction
vis-opt-group/sci:8755e569IDukghj7yivbd4vb2xh3r65pqmnaStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/799b347a-75ec-4553-ac30-39f282c6be32/2015_05885.jpeg", "model_type": "difficult" }Install Replicate’s Node.js client library:npm install replicateImport 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 vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", { input: { image: "https://replicate.delivery/mgxm/799b347a-75ec-4553-ac30-39f282c6be32/2015_05885.jpeg", model_type: "difficult" } } ); // 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 replicateImport the client:import replicateRun vis-opt-group/sci using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", input={ "image": "https://replicate.delivery/mgxm/799b347a-75ec-4553-ac30-39f282c6be32/2015_05885.jpeg", "model_type": "difficult" } ) # 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 vis-opt-group/sci 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": "vis-opt-group/sci:8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039", "input": { "image": "https://replicate.delivery/mgxm/799b347a-75ec-4553-ac30-39f282c6be32/2015_05885.jpeg", "model_type": "difficult" } }' \ https://api.replicate.com/v1/predictionsTo learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-06-09T13:50:39.168307Z", "created_at": "2022-06-09T13:50:38.050774Z", "data_removed": false, "error": null, "id": "ukghj7yivbd4vb2xh3r65pqmna", "input": { "image": "https://replicate.delivery/mgxm/799b347a-75ec-4553-ac30-39f282c6be32/2015_05885.jpeg", "model_type": "difficult" }, "logs": null, "metrics": { "predict_time": 0.000003, "total_time": 1.117533 }, "output": "https://replicate.delivery/mgxm/03df41cd-3f99-4d53-a523-dbc184535ffa/output.png", "started_at": "2022-06-09T13:50:39.168304Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ukghj7yivbd4vb2xh3r65pqmna", "cancel": "https://api.replicate.com/v1/predictions/ukghj7yivbd4vb2xh3r65pqmna/cancel" }, "version": "8755e56955d1fe51fc5f146612124f2f616abc2b76f46163afe48918277c1039" }
Want to make some of these yourself?
Run this model














