cszn
/
scunet
Practical Blind Denoising via Swin-Conv-UNet and Data Synthesis
Prediction
cszn/scunet:df9a3c1dModelIDttaz3dll45genc3blr7oziwnmqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/ddcaf605-d06f-4fdb-996e-aa4266dfddbe/palace.png", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/ddcaf605-d06f-4fdb-996e-aa4266dfddbe/palace.png", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/ddcaf605-d06f-4fdb-996e-aa4266dfddbe/palace.png", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/ddcaf605-d06f-4fdb-996e-aa4266dfddbe/palace.png", "model_name": "real 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-05-04T18:01:04.427516Z", "created_at": "2022-05-04T18:00:11.840265Z", "data_removed": false, "error": null, "id": "ttaz3dll45genc3blr7oziwnmq", "input": { "image": "https://replicate.delivery/mgxm/ddcaf605-d06f-4fdb-996e-aa4266dfddbe/palace.png", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 4.289132, "total_time": 52.587251 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/85978868-1a0d-413e-8193-5674f4eac84a/output.png" }, "started_at": "2022-05-04T18:01:00.138384Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ttaz3dll45genc3blr7oziwnmq", "cancel": "https://api.replicate.com/v1/predictions/ttaz3dll45genc3blr7oziwnmq/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelID4jxq7slysndjhhhbnxyeeqru5uStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/793f4c1a-34b2-4999-aa21-5c49a72767ff/wm_fnb_0010.png", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/793f4c1a-34b2-4999-aa21-5c49a72767ff/wm_fnb_0010.png", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/793f4c1a-34b2-4999-aa21-5c49a72767ff/wm_fnb_0010.png", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/793f4c1a-34b2-4999-aa21-5c49a72767ff/wm_fnb_0010.png", "model_name": "real 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-05-04T18:05:00.421053Z", "created_at": "2022-05-04T18:04:58.228880Z", "data_removed": false, "error": null, "id": "4jxq7slysndjhhhbnxyeeqru5u", "input": { "image": "https://replicate.delivery/mgxm/793f4c1a-34b2-4999-aa21-5c49a72767ff/wm_fnb_0010.png", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 2.014126, "total_time": 2.192173 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/ec511347-3e1f-4dbc-8861-e471642118c3/output.png" }, "started_at": "2022-05-04T18:04:58.406927Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4jxq7slysndjhhhbnxyeeqru5u", "cancel": "https://api.replicate.com/v1/predictions/4jxq7slysndjhhhbnxyeeqru5u/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dInput
{ "image": "https://replicate.delivery/mgxm/fbbc7700-69a6-4be8-8a08-41a75037066f/Flowers.png", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/fbbc7700-69a6-4be8-8a08-41a75037066f/Flowers.png", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/fbbc7700-69a6-4be8-8a08-41a75037066f/Flowers.png", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/fbbc7700-69a6-4be8-8a08-41a75037066f/Flowers.png", "model_name": "real 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-05-04T18:06:09.572156Z", "created_at": "2022-05-04T18:06:07.443526Z", "data_removed": false, "error": null, "id": "bmnasufm3nf7bpavpj6pov6vkm", "input": { "image": "https://replicate.delivery/mgxm/fbbc7700-69a6-4be8-8a08-41a75037066f/Flowers.png", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 1.878311, "total_time": 2.12863 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/d5d01de0-c13d-4f28-879e-68525879ceae/output.png" }, "started_at": "2022-05-04T18:06:07.693845Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bmnasufm3nf7bpavpj6pov6vkm", "cancel": "https://api.replicate.com/v1/predictions/bmnasufm3nf7bpavpj6pov6vkm/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dInput
{ "image": "https://replicate.delivery/mgxm/81f186cd-dfb0-4609-b4be-e5e00d3781b5/00038.png", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/81f186cd-dfb0-4609-b4be-e5e00d3781b5/00038.png", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/81f186cd-dfb0-4609-b4be-e5e00d3781b5/00038.png", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/81f186cd-dfb0-4609-b4be-e5e00d3781b5/00038.png", "model_name": "real 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-05-04T19:59:04.733950Z", "created_at": "2022-05-04T19:59:02.546877Z", "data_removed": false, "error": null, "id": "ybjqplh6ivfp7pki336on5m55u", "input": { "image": "https://replicate.delivery/mgxm/81f186cd-dfb0-4609-b4be-e5e00d3781b5/00038.png", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 1.943706, "total_time": 2.187073 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/aaef1fe3-4a22-4a36-8f30-17c5f4d790bf/output.png" }, "started_at": "2022-05-04T19:59:02.790244Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ybjqplh6ivfp7pki336on5m55u", "cancel": "https://api.replicate.com/v1/predictions/ybjqplh6ivfp7pki336on5m55u/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelIDgaek2rcwgzd7hkcamgjkmykq3iStatusSucceededSourceWebHardware–Total durationCreatedInput
- model_name
- real image denoising
{ "image": "https://replicate.delivery/mgxm/2ea54917-7461-4170-8315-1ba4b1555bca/%E4%B8%8B%E8%BD%BD_1.jfif", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/2ea54917-7461-4170-8315-1ba4b1555bca/%E4%B8%8B%E8%BD%BD_1.jfif", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/2ea54917-7461-4170-8315-1ba4b1555bca/%E4%B8%8B%E8%BD%BD_1.jfif", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/2ea54917-7461-4170-8315-1ba4b1555bca/%E4%B8%8B%E8%BD%BD_1.jfif", "model_name": "real 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-05-05T19:25:49.723643Z", "created_at": "2022-05-05T19:25:48.137658Z", "data_removed": false, "error": null, "id": "gaek2rcwgzd7hkcamgjkmykq3i", "input": { "image": "https://replicate.delivery/mgxm/2ea54917-7461-4170-8315-1ba4b1555bca/%E4%B8%8B%E8%BD%BD_1.jfif", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 1.281033, "total_time": 1.585985 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/1ab84b43-276a-47fe-b65e-b940923403e6/output.png" }, "started_at": "2022-05-05T19:25:48.442610Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gaek2rcwgzd7hkcamgjkmykq3i", "cancel": "https://api.replicate.com/v1/predictions/gaek2rcwgzd7hkcamgjkmykq3i/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelIDgksvkezekfh6pkk7dxu25xklfmStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/2a9f49bd-264e-4fd8-8e2e-dcfeaea5e1c5/bbdc6fac861955a7.jpg", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/2a9f49bd-264e-4fd8-8e2e-dcfeaea5e1c5/bbdc6fac861955a7.jpg", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/2a9f49bd-264e-4fd8-8e2e-dcfeaea5e1c5/bbdc6fac861955a7.jpg", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/2a9f49bd-264e-4fd8-8e2e-dcfeaea5e1c5/bbdc6fac861955a7.jpg", "model_name": "real 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-05-05T19:28:16.677048Z", "created_at": "2022-05-05T19:28:14.332517Z", "data_removed": false, "error": null, "id": "gksvkezekfh6pkk7dxu25xklfm", "input": { "image": "https://replicate.delivery/mgxm/2a9f49bd-264e-4fd8-8e2e-dcfeaea5e1c5/bbdc6fac861955a7.jpg", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 1.999979, "total_time": 2.344531 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/8009fb60-4182-4db5-8409-f34fb4969853/output.png" }, "started_at": "2022-05-05T19:28:14.677069Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/gksvkezekfh6pkk7dxu25xklfm", "cancel": "https://api.replicate.com/v1/predictions/gksvkezekfh6pkk7dxu25xklfm/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelIDbdpt5xf3vfa4ljfwop5rcvl7leStatusSucceededSourceWebHardware–Total durationCreatedInput
- model_name
- real image denoising
{ "image": "https://replicate.delivery/mgxm/a8c6dbad-30c7-46ce-957f-0fafc599977b/%E4%B8%8B%E8%BD%BD_2.jfif", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/a8c6dbad-30c7-46ce-957f-0fafc599977b/%E4%B8%8B%E8%BD%BD_2.jfif", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/a8c6dbad-30c7-46ce-957f-0fafc599977b/%E4%B8%8B%E8%BD%BD_2.jfif", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/a8c6dbad-30c7-46ce-957f-0fafc599977b/%E4%B8%8B%E8%BD%BD_2.jfif", "model_name": "real 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-05-05T19:35:07.045015Z", "created_at": "2022-05-05T19:35:05.534542Z", "data_removed": false, "error": null, "id": "bdpt5xf3vfa4ljfwop5rcvl7le", "input": { "image": "https://replicate.delivery/mgxm/a8c6dbad-30c7-46ce-957f-0fafc599977b/%E4%B8%8B%E8%BD%BD_2.jfif", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 1.288836, "total_time": 1.510473 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/3ba2d183-4983-4dea-b09f-15c7c3947fca/output.png" }, "started_at": "2022-05-05T19:35:05.756179Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bdpt5xf3vfa4ljfwop5rcvl7le", "cancel": "https://api.replicate.com/v1/predictions/bdpt5xf3vfa4ljfwop5rcvl7le/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelIDwnzgaj3qhjgubeclcmkslghllyStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/a02cd478-db93-4eef-bd1b-da1ace35b35f/6.png", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/a02cd478-db93-4eef-bd1b-da1ace35b35f/6.png", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/a02cd478-db93-4eef-bd1b-da1ace35b35f/6.png", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/a02cd478-db93-4eef-bd1b-da1ace35b35f/6.png", "model_name": "real 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-05-06T16:05:22.182561Z", "created_at": "2022-05-06T16:05:19.921191Z", "data_removed": false, "error": null, "id": "wnzgaj3qhjgubeclcmkslghlly", "input": { "image": "https://replicate.delivery/mgxm/a02cd478-db93-4eef-bd1b-da1ace35b35f/6.png", "model_name": "real image denoising" }, "logs": "Model params number: 17946072", "metrics": { "predict_time": 2.029948, "total_time": 2.26137 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/83609715-06ab-4560-a3d4-56e0bfedd973/output.png" }, "started_at": "2022-05-06T16:05:20.152613Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wnzgaj3qhjgubeclcmkslghlly", "cancel": "https://api.replicate.com/v1/predictions/wnzgaj3qhjgubeclcmkslghlly/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated inModel params number: 17946072
Prediction
cszn/scunet:df9a3c1dModelID7mirp7nfjnam3bqfbqinrcotyuStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "image": "https://replicate.delivery/mgxm/f23844fe-a04d-4c04-94de-dd54a333511e/7.jpeg", "model_name": "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", { input: { image: "https://replicate.delivery/mgxm/f23844fe-a04d-4c04-94de-dd54a333511e/7.jpeg", model_name: "real 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 cszn/scunet using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cszn/scunet:df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", input={ "image": "https://replicate.delivery/mgxm/f23844fe-a04d-4c04-94de-dd54a333511e/7.jpeg", "model_name": "real 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 cszn/scunet 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": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26", "input": { "image": "https://replicate.delivery/mgxm/f23844fe-a04d-4c04-94de-dd54a333511e/7.jpeg", "model_name": "real 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-05-06T16:13:19.323331Z", "created_at": "2022-05-06T16:13:16.338190Z", "data_removed": false, "error": null, "id": "7mirp7nfjnam3bqfbqinrcotyu", "input": { "image": "https://replicate.delivery/mgxm/f23844fe-a04d-4c04-94de-dd54a333511e/7.jpeg", "model_name": "real image denoising" }, "logs": null, "metrics": { "predict_time": 2.766108, "total_time": 2.985141 }, "output": { "denoised_image": "https://replicate.delivery/mgxm/5b252592-c675-45e6-9692-00782fbfc3d2/output.png" }, "started_at": "2022-05-06T16:13:16.557223Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7mirp7nfjnam3bqfbqinrcotyu", "cancel": "https://api.replicate.com/v1/predictions/7mirp7nfjnam3bqfbqinrcotyu/cancel" }, "version": "df9a3c1dbc6c1f7f4c2d244f68dffa2699a169cf5e701e0d6a009bf6ff507f26" }
Generated in
Want to make some of these yourself?
Run this model