google-research
/
maxim
Multi-Axis MLP for Image Processing
Prediction
google-research/maxim:494ca4d5Input
{ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", model: "Image Deblurring" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T16:54:20.990676Z", "created_at": "2022-04-20T16:51:32.931776Z", "data_removed": false, "error": null, "id": "wbi32xighjdchdfz3rjrlv6f34", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring" }, "logs": null, "metrics": { "predict_time": 66.450638, "total_time": 168.0589 }, "output": "https://replicate.delivery/mgxm/337d9bfa-6bf2-4f6b-97ff-607630cd3986/output.png", "started_at": "2022-04-20T16:53:14.540038Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wbi32xighjdchdfz3rjrlv6f34", "cancel": "https://api.replicate.com/v1/predictions/wbi32xighjdchdfz3rjrlv6f34/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5Input
{ "image": "https://replicate.delivery/mgxm/74cdd668-f209-4186-a225-780eb3e35bd9/0011_23.png", "model": "Image Denoising" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/74cdd668-f209-4186-a225-780eb3e35bd9/0011_23.png", model: "Image Denoising" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/74cdd668-f209-4186-a225-780eb3e35bd9/0011_23.png", "model": "Image Denoising" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/74cdd668-f209-4186-a225-780eb3e35bd9/0011_23.png", "model": "Image Denoising" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T16:55:47.194340Z", "created_at": "2022-04-20T16:54:59.576755Z", "data_removed": false, "error": null, "id": "raz473l7ejdlpnidr4zj4zwn2q", "input": { "image": "https://replicate.delivery/mgxm/74cdd668-f209-4186-a225-780eb3e35bd9/0011_23.png", "model": "Image Denoising" }, "logs": null, "metrics": { "predict_time": 47.380564, "total_time": 47.617585 }, "output": "https://replicate.delivery/mgxm/7b544b37-30d5-4d86-8745-15a4f3265f1a/output.png", "started_at": "2022-04-20T16:54:59.813776Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/raz473l7ejdlpnidr4zj4zwn2q", "cancel": "https://api.replicate.com/v1/predictions/raz473l7ejdlpnidr4zj4zwn2q/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5IDoiu7eykbuvgfpcnvhuyjowezmeStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/e7c16774-1846-4ebb-a97b-dd69c47d797d/15.png", "model": "Image Deraining (Rain streak)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/e7c16774-1846-4ebb-a97b-dd69c47d797d/15.png", model: "Image Deraining (Rain streak)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/e7c16774-1846-4ebb-a97b-dd69c47d797d/15.png", "model": "Image Deraining (Rain streak)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/e7c16774-1846-4ebb-a97b-dd69c47d797d/15.png", "model": "Image Deraining (Rain streak)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T16:56:49.963276Z", "created_at": "2022-04-20T16:56:09.203053Z", "data_removed": false, "error": null, "id": "oiu7eykbuvgfpcnvhuyjowezme", "input": { "image": "https://replicate.delivery/mgxm/e7c16774-1846-4ebb-a97b-dd69c47d797d/15.png", "model": "Image Deraining (Rain streak)" }, "logs": null, "metrics": { "predict_time": 40.537556, "total_time": 40.760223 }, "output": "https://replicate.delivery/mgxm/73b62a78-d4aa-47a9-a5c5-6a677e1945c9/output.png", "started_at": "2022-04-20T16:56:09.425720Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/oiu7eykbuvgfpcnvhuyjowezme", "cancel": "https://api.replicate.com/v1/predictions/oiu7eykbuvgfpcnvhuyjowezme/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5Input
{ "image": "https://replicate.delivery/mgxm/c61149bc-6a02-455b-8010-1b9314a67e9a/0.jpg", "model": "Image Deraining (Rain drop)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/c61149bc-6a02-455b-8010-1b9314a67e9a/0.jpg", model: "Image Deraining (Rain drop)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/c61149bc-6a02-455b-8010-1b9314a67e9a/0.jpg", "model": "Image Deraining (Rain drop)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/c61149bc-6a02-455b-8010-1b9314a67e9a/0.jpg", "model": "Image Deraining (Rain drop)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T16:58:02.077454Z", "created_at": "2022-04-20T16:57:18.325398Z", "data_removed": false, "error": null, "id": "5zjqs32d4zdvjfzmd2u5blglfe", "input": { "image": "https://replicate.delivery/mgxm/c61149bc-6a02-455b-8010-1b9314a67e9a/0.jpg", "model": "Image Deraining (Rain drop)" }, "logs": null, "metrics": { "predict_time": 43.56796, "total_time": 43.752056 }, "output": "https://replicate.delivery/mgxm/0fa3b559-9319-412e-9633-f0f669358a4f/output.png", "started_at": "2022-04-20T16:57:18.509494Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5zjqs32d4zdvjfzmd2u5blglfe", "cancel": "https://api.replicate.com/v1/predictions/5zjqs32d4zdvjfzmd2u5blglfe/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5ID5sxxyydlxfcnzd6au2uxomnpoqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/685f225a-e7a9-462a-a00f-664efdebec14/1440_10.png", "model": "Image Dehazing (Indoor)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/685f225a-e7a9-462a-a00f-664efdebec14/1440_10.png", model: "Image Dehazing (Indoor)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/685f225a-e7a9-462a-a00f-664efdebec14/1440_10.png", "model": "Image Dehazing (Indoor)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/685f225a-e7a9-462a-a00f-664efdebec14/1440_10.png", "model": "Image Dehazing (Indoor)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T16:59:18.552505Z", "created_at": "2022-04-20T16:58:39.374174Z", "data_removed": false, "error": null, "id": "5sxxyydlxfcnzd6au2uxomnpoq", "input": { "image": "https://replicate.delivery/mgxm/685f225a-e7a9-462a-a00f-664efdebec14/1440_10.png", "model": "Image Dehazing (Indoor)" }, "logs": null, "metrics": { "predict_time": 38.946345, "total_time": 39.178331 }, "output": "https://replicate.delivery/mgxm/1f831ac7-2e6b-41e1-9238-f8459a6d1382/output.png", "started_at": "2022-04-20T16:58:39.606160Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5sxxyydlxfcnzd6au2uxomnpoq", "cancel": "https://api.replicate.com/v1/predictions/5sxxyydlxfcnzd6au2uxomnpoq/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5Input
{ "image": "https://replicate.delivery/mgxm/10f77514-91df-4316-a36b-dc19011fe8e7/0048_0.9_0.2.png", "model": "Image Dehazing (Outdoor)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/10f77514-91df-4316-a36b-dc19011fe8e7/0048_0.9_0.2.png", model: "Image Dehazing (Outdoor)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/10f77514-91df-4316-a36b-dc19011fe8e7/0048_0.9_0.2.png", "model": "Image Dehazing (Outdoor)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/10f77514-91df-4316-a36b-dc19011fe8e7/0048_0.9_0.2.png", "model": "Image Dehazing (Outdoor)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T17:00:35.367839Z", "created_at": "2022-04-20T16:59:50.292859Z", "data_removed": false, "error": null, "id": "22lmdch6nbgg7adaf3zsznfdeq", "input": { "image": "https://replicate.delivery/mgxm/10f77514-91df-4316-a36b-dc19011fe8e7/0048_0.9_0.2.png", "model": "Image Dehazing (Outdoor)" }, "logs": null, "metrics": { "predict_time": 44.876491, "total_time": 45.07498 }, "output": "https://replicate.delivery/mgxm/35c2bf7e-0b83-46f4-a289-ebbb26b137ed/output.png", "started_at": "2022-04-20T16:59:50.491348Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/22lmdch6nbgg7adaf3zsznfdeq", "cancel": "https://api.replicate.com/v1/predictions/22lmdch6nbgg7adaf3zsznfdeq/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5IDx5gsnkzwg5amnmh65fdqq5i7fqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/a457200d-d9af-49e3-909d-f7cb93f8cdc9/1.png", "model": "Image Enhancement (Low-light)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/a457200d-d9af-49e3-909d-f7cb93f8cdc9/1.png", model: "Image Enhancement (Low-light)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/a457200d-d9af-49e3-909d-f7cb93f8cdc9/1.png", "model": "Image Enhancement (Low-light)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/a457200d-d9af-49e3-909d-f7cb93f8cdc9/1.png", "model": "Image Enhancement (Low-light)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T17:01:40.211756Z", "created_at": "2022-04-20T17:00:55.063920Z", "data_removed": false, "error": null, "id": "x5gsnkzwg5amnmh65fdqq5i7fq", "input": { "image": "https://replicate.delivery/mgxm/a457200d-d9af-49e3-909d-f7cb93f8cdc9/1.png", "model": "Image Enhancement (Low-light)" }, "logs": null, "metrics": { "predict_time": 44.716945, "total_time": 45.147836 }, "output": "https://replicate.delivery/mgxm/b1be7e77-e173-4dcb-89f5-023c6e75a682/output.png", "started_at": "2022-04-20T17:00:55.494811Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/x5gsnkzwg5amnmh65fdqq5i7fq", "cancel": "https://api.replicate.com/v1/predictions/x5gsnkzwg5amnmh65fdqq5i7fq/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5ID2n4jrbr7dbd3xfbzlpxqtsimbaStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/4016d0ae-011b-4a36-87ab-1f4db8625c59/748.png", "model": "Image Enhancement (Retouching)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/4016d0ae-011b-4a36-87ab-1f4db8625c59/748.png", model: "Image Enhancement (Retouching)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/4016d0ae-011b-4a36-87ab-1f4db8625c59/748.png", "model": "Image Enhancement (Retouching)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/4016d0ae-011b-4a36-87ab-1f4db8625c59/748.png", "model": "Image Enhancement (Retouching)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-20T17:02:07.731570Z", "created_at": "2022-04-20T17:01:51.351089Z", "data_removed": false, "error": null, "id": "2n4jrbr7dbd3xfbzlpxqtsimba", "input": { "image": "https://replicate.delivery/mgxm/4016d0ae-011b-4a36-87ab-1f4db8625c59/748.png", "model": "Image Enhancement (Retouching)" }, "logs": null, "metrics": { "predict_time": 16.180508, "total_time": 16.380481 }, "output": "https://replicate.delivery/mgxm/e5aa682a-5628-4f5a-8936-796567af8875/output.png", "started_at": "2022-04-20T17:01:51.551062Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/2n4jrbr7dbd3xfbzlpxqtsimba", "cancel": "https://api.replicate.com/v1/predictions/2n4jrbr7dbd3xfbzlpxqtsimba/cancel" }, "version": "cd3ebeefb3933d8ed4f75cc2457da8723bfcc69db8b9eb8651e855ca1c562e56" }
Generated inPrediction
google-research/maxim:494ca4d5Input
{ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (GoPro)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", model: "Image Deblurring (GoPro)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (GoPro)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (GoPro)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-23T08:37:29.298497Z", "created_at": "2022-04-23T08:37:07.361202Z", "data_removed": false, "error": null, "id": "de3zlvchsvdntdd4y2pk7eeu5y", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (GoPro)" }, "logs": null, "metrics": { "predict_time": 21.753686, "total_time": 21.937295 }, "output": "https://replicate.delivery/mgxm/716ffa94-41f7-46b4-a2f0-287f0e907f9c/output.png", "started_at": "2022-04-23T08:37:07.544811Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/de3zlvchsvdntdd4y2pk7eeu5y", "cancel": "https://api.replicate.com/v1/predictions/de3zlvchsvdntdd4y2pk7eeu5y/cancel" }, "version": "a91063d0a4a6e6545980ce677b4a5bfbee686229307baed4e9b91f66dd0d749d" }
Generated inPrediction
google-research/maxim:494ca4d5IDienpred3jrcyzgsnhw5l42yi2uStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (RealBlur_R)" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", { input: { image: "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", model: "Image Deblurring (RealBlur_R)" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run google-research/maxim using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "google-research/maxim:494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", input={ "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (RealBlur_R)" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run google-research/maxim 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": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (RealBlur_R)" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-04-23T08:46:43.189047Z", "created_at": "2022-04-23T08:46:20.663823Z", "data_removed": false, "error": null, "id": "ienpred3jrcyzgsnhw5l42yi2u", "input": { "image": "https://replicate.delivery/mgxm/6707a57f-4957-4047-b020-2160aed1d27a/1fromGOPR0950.png", "model": "Image Deblurring (RealBlur_R)" }, "logs": null, "metrics": { "predict_time": 22.331485, "total_time": 22.525224 }, "output": "https://replicate.delivery/mgxm/eae2d38d-a3f0-4d06-8222-d001ea770194/output.png", "started_at": "2022-04-23T08:46:20.857562Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ienpred3jrcyzgsnhw5l42yi2u", "cancel": "https://api.replicate.com/v1/predictions/ienpred3jrcyzgsnhw5l42yi2u/cancel" }, "version": "494ca4d578293b4b93945115601b6a38190519da18467556ca223d219c3af9f9" }
Generated in
Want to make some of these yourself?
Run this model