cjwbw
/
daclip-uir
Controlling Vision-Language Models for Universal Image Restoration
Prediction
cjwbw/daclip-uir:73496e1dID52szxldbbw7fmjhtlgyzfxs5pmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", { input: { image: "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", input={ "image": "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run cjwbw/daclip-uir 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": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", "input": { "image": "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run cjwbw/daclip-uir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232 \ -i 'image="https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg"'
To learn more, take a look at the Cog documentation.
Pull and run cjwbw/daclip-uir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2023-10-12T22:38:37.090774Z", "created_at": "2023-10-12T22:38:28.715046Z", "data_removed": false, "error": null, "id": "52szxldbbw7fmjhtlgyzfxs5pm", "input": { "image": "https://replicate.delivery/pbxt/JgmLnELWABG1jAGQbumGUm5Un0sCYvAK9v8vD6uptBfIAdvE/00006.jpg" }, "logs": "0it [00:00, ?it/s]\n1it [00:00, 6.62it/s]\n5it [00:00, 19.28it/s]\n8it [00:00, 21.33it/s]\n11it [00:00, 22.45it/s]\n14it [00:00, 23.08it/s]\n17it [00:00, 23.41it/s]\n20it [00:00, 23.71it/s]\n23it [00:01, 23.89it/s]\n26it [00:01, 23.98it/s]\n29it [00:01, 24.09it/s]\n32it [00:01, 24.07it/s]\n35it [00:01, 24.17it/s]\n38it [00:01, 24.21it/s]\n41it [00:01, 24.22it/s]\n44it [00:01, 24.25it/s]\n47it [00:02, 24.27it/s]\n50it [00:02, 24.25it/s]\n53it [00:02, 24.23it/s]\n56it [00:02, 24.21it/s]\n59it [00:02, 24.27it/s]\n62it [00:02, 24.28it/s]\n65it [00:02, 24.28it/s]\n68it [00:02, 24.25it/s]\n71it [00:03, 24.23it/s]\n74it [00:03, 24.23it/s]\n77it [00:03, 24.21it/s]\n80it [00:03, 24.18it/s]\n83it [00:03, 24.01it/s]\n86it [00:03, 24.26it/s]\n89it [00:03, 24.23it/s]\n92it [00:03, 24.25it/s]\n95it [00:04, 24.26it/s]\n98it [00:04, 24.27it/s]\n100it [00:04, 23.76it/s]", "metrics": { "predict_time": 6.351027, "total_time": 8.375728 }, "output": "https://replicate.delivery/pbxt/QOvoyhpeeblElE6kkx1UPC0kF9Gyifr8e8WfnDkaeKi7anYbE/out.png", "started_at": "2023-10-12T22:38:30.739747Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/52szxldbbw7fmjhtlgyzfxs5pm", "cancel": "https://api.replicate.com/v1/predictions/52szxldbbw7fmjhtlgyzfxs5pm/cancel" }, "version": "5efbc85e1d0771704d74d81a660041abd270d48e99572badefbcdf81383f6af4" }
Generated in0it [00:00, ?it/s] 1it [00:00, 6.62it/s] 5it [00:00, 19.28it/s] 8it [00:00, 21.33it/s] 11it [00:00, 22.45it/s] 14it [00:00, 23.08it/s] 17it [00:00, 23.41it/s] 20it [00:00, 23.71it/s] 23it [00:01, 23.89it/s] 26it [00:01, 23.98it/s] 29it [00:01, 24.09it/s] 32it [00:01, 24.07it/s] 35it [00:01, 24.17it/s] 38it [00:01, 24.21it/s] 41it [00:01, 24.22it/s] 44it [00:01, 24.25it/s] 47it [00:02, 24.27it/s] 50it [00:02, 24.25it/s] 53it [00:02, 24.23it/s] 56it [00:02, 24.21it/s] 59it [00:02, 24.27it/s] 62it [00:02, 24.28it/s] 65it [00:02, 24.28it/s] 68it [00:02, 24.25it/s] 71it [00:03, 24.23it/s] 74it [00:03, 24.23it/s] 77it [00:03, 24.21it/s] 80it [00:03, 24.18it/s] 83it [00:03, 24.01it/s] 86it [00:03, 24.26it/s] 89it [00:03, 24.23it/s] 92it [00:03, 24.25it/s] 95it [00:04, 24.26it/s] 98it [00:04, 24.27it/s] 100it [00:04, 23.76it/s]
Prediction
cjwbw/daclip-uir:73496e1dIDmu7apidbtjfzezckraqeohvp3eStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", { input: { image: "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", input={ "image": "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run cjwbw/daclip-uir 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": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", "input": { "image": "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run cjwbw/daclip-uir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232 \ -i 'image="https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg"'
To learn more, take a look at the Cog documentation.
Pull and run cjwbw/daclip-uir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2023-10-12T22:42:43.719849Z", "created_at": "2023-10-12T22:42:22.766861Z", "data_removed": false, "error": null, "id": "mu7apidbtjfzezckraqeohvp3e", "input": { "image": "https://replicate.delivery/pbxt/JgmPUp4x0C2wW5Xgk0Nj1PIr8sY8hEVhHGQyDgHKhzEbiCnO/beautiful_smile_00489.jpg" }, "logs": "0it [00:00, ?it/s]\n1it [00:00, 6.81it/s]\n3it [00:00, 7.37it/s]\n4it [00:00, 6.43it/s]\n5it [00:00, 5.97it/s]\n6it [00:00, 5.70it/s]\n7it [00:01, 5.54it/s]\n8it [00:01, 5.42it/s]\n9it [00:01, 5.37it/s]\n10it [00:01, 5.32it/s]\n11it [00:01, 5.29it/s]\n12it [00:02, 5.26it/s]\n13it [00:02, 5.24it/s]\n14it [00:02, 5.23it/s]\n15it [00:02, 5.23it/s]\n16it [00:02, 5.22it/s]\n17it [00:03, 5.22it/s]\n18it [00:03, 5.21it/s]\n19it [00:03, 5.20it/s]\n20it [00:03, 5.21it/s]\n21it [00:03, 5.21it/s]\n22it [00:04, 5.21it/s]\n23it [00:04, 5.21it/s]\n24it [00:04, 5.21it/s]\n25it [00:04, 5.18it/s]\n26it [00:04, 5.21it/s]\n27it [00:05, 5.21it/s]\n28it [00:05, 5.21it/s]\n29it [00:05, 5.21it/s]\n30it [00:05, 5.20it/s]\n31it [00:05, 5.21it/s]\n32it [00:05, 5.20it/s]\n33it [00:06, 5.20it/s]\n34it [00:06, 5.20it/s]\n35it [00:06, 5.20it/s]\n36it [00:06, 5.21it/s]\n37it [00:06, 5.19it/s]\n38it [00:07, 5.21it/s]\n39it [00:07, 5.20it/s]\n40it [00:07, 5.20it/s]\n41it [00:07, 5.21it/s]\n42it [00:07, 5.21it/s]\n43it [00:08, 5.21it/s]\n44it [00:08, 5.21it/s]\n45it [00:08, 5.20it/s]\n46it [00:08, 5.20it/s]\n47it [00:08, 5.20it/s]\n48it [00:09, 5.20it/s]\n49it [00:09, 5.20it/s]\n50it [00:09, 5.20it/s]\n51it [00:09, 5.20it/s]\n52it [00:09, 5.20it/s]\n53it [00:10, 5.21it/s]\n54it [00:10, 5.20it/s]\n55it [00:10, 5.20it/s]\n56it [00:10, 5.21it/s]\n57it [00:10, 5.21it/s]\n58it [00:10, 5.20it/s]\n59it [00:11, 5.20it/s]\n60it [00:11, 5.21it/s]\n61it [00:11, 5.21it/s]\n62it [00:11, 5.21it/s]\n63it [00:11, 5.20it/s]\n64it [00:12, 5.20it/s]\n65it [00:12, 5.21it/s]\n66it [00:12, 5.20it/s]\n67it [00:12, 5.21it/s]\n68it [00:12, 5.20it/s]\n69it [00:13, 5.20it/s]\n70it [00:13, 5.20it/s]\n71it [00:13, 5.20it/s]\n72it [00:13, 5.19it/s]\n73it [00:13, 5.21it/s]\n74it [00:14, 5.21it/s]\n75it [00:14, 5.21it/s]\n76it [00:14, 5.20it/s]\n77it [00:14, 5.20it/s]\n78it [00:14, 5.20it/s]\n79it [00:15, 5.20it/s]\n80it [00:15, 5.21it/s]\n81it [00:15, 5.20it/s]\n82it [00:15, 5.20it/s]\n83it [00:15, 5.20it/s]\n84it [00:15, 5.20it/s]\n85it [00:16, 5.21it/s]\n86it [00:16, 5.20it/s]\n87it [00:16, 5.20it/s]\n88it [00:16, 5.20it/s]\n89it [00:16, 5.20it/s]\n90it [00:17, 5.20it/s]\n91it [00:17, 5.20it/s]\n92it [00:17, 5.20it/s]\n93it [00:17, 5.21it/s]\n94it [00:17, 5.20it/s]\n95it [00:18, 5.19it/s]\n96it [00:18, 5.19it/s]\n97it [00:18, 5.20it/s]\n98it [00:18, 5.21it/s]\n99it [00:18, 5.19it/s]\n100it [00:19, 5.21it/s]\n100it [00:19, 5.25it/s]", "metrics": { "predict_time": 20.939749, "total_time": 20.952988 }, "output": "https://replicate.delivery/pbxt/Egnn5i5RFt6KDpeZIHb2HhZwJBfkFhRT1lZ91Y1tY83ihitRA/out.png", "started_at": "2023-10-12T22:42:22.780100Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mu7apidbtjfzezckraqeohvp3e", "cancel": "https://api.replicate.com/v1/predictions/mu7apidbtjfzezckraqeohvp3e/cancel" }, "version": "5efbc85e1d0771704d74d81a660041abd270d48e99572badefbcdf81383f6af4" }
Generated in0it [00:00, ?it/s] 1it [00:00, 6.81it/s] 3it [00:00, 7.37it/s] 4it [00:00, 6.43it/s] 5it [00:00, 5.97it/s] 6it [00:00, 5.70it/s] 7it [00:01, 5.54it/s] 8it [00:01, 5.42it/s] 9it [00:01, 5.37it/s] 10it [00:01, 5.32it/s] 11it [00:01, 5.29it/s] 12it [00:02, 5.26it/s] 13it [00:02, 5.24it/s] 14it [00:02, 5.23it/s] 15it [00:02, 5.23it/s] 16it [00:02, 5.22it/s] 17it [00:03, 5.22it/s] 18it [00:03, 5.21it/s] 19it [00:03, 5.20it/s] 20it [00:03, 5.21it/s] 21it [00:03, 5.21it/s] 22it [00:04, 5.21it/s] 23it [00:04, 5.21it/s] 24it [00:04, 5.21it/s] 25it [00:04, 5.18it/s] 26it [00:04, 5.21it/s] 27it [00:05, 5.21it/s] 28it [00:05, 5.21it/s] 29it [00:05, 5.21it/s] 30it [00:05, 5.20it/s] 31it [00:05, 5.21it/s] 32it [00:05, 5.20it/s] 33it [00:06, 5.20it/s] 34it [00:06, 5.20it/s] 35it [00:06, 5.20it/s] 36it [00:06, 5.21it/s] 37it [00:06, 5.19it/s] 38it [00:07, 5.21it/s] 39it [00:07, 5.20it/s] 40it [00:07, 5.20it/s] 41it [00:07, 5.21it/s] 42it [00:07, 5.21it/s] 43it [00:08, 5.21it/s] 44it [00:08, 5.21it/s] 45it [00:08, 5.20it/s] 46it [00:08, 5.20it/s] 47it [00:08, 5.20it/s] 48it [00:09, 5.20it/s] 49it [00:09, 5.20it/s] 50it [00:09, 5.20it/s] 51it [00:09, 5.20it/s] 52it [00:09, 5.20it/s] 53it [00:10, 5.21it/s] 54it [00:10, 5.20it/s] 55it [00:10, 5.20it/s] 56it [00:10, 5.21it/s] 57it [00:10, 5.21it/s] 58it [00:10, 5.20it/s] 59it [00:11, 5.20it/s] 60it [00:11, 5.21it/s] 61it [00:11, 5.21it/s] 62it [00:11, 5.21it/s] 63it [00:11, 5.20it/s] 64it [00:12, 5.20it/s] 65it [00:12, 5.21it/s] 66it [00:12, 5.20it/s] 67it [00:12, 5.21it/s] 68it [00:12, 5.20it/s] 69it [00:13, 5.20it/s] 70it [00:13, 5.20it/s] 71it [00:13, 5.20it/s] 72it [00:13, 5.19it/s] 73it [00:13, 5.21it/s] 74it [00:14, 5.21it/s] 75it [00:14, 5.21it/s] 76it [00:14, 5.20it/s] 77it [00:14, 5.20it/s] 78it [00:14, 5.20it/s] 79it [00:15, 5.20it/s] 80it [00:15, 5.21it/s] 81it [00:15, 5.20it/s] 82it [00:15, 5.20it/s] 83it [00:15, 5.20it/s] 84it [00:15, 5.20it/s] 85it [00:16, 5.21it/s] 86it [00:16, 5.20it/s] 87it [00:16, 5.20it/s] 88it [00:16, 5.20it/s] 89it [00:16, 5.20it/s] 90it [00:17, 5.20it/s] 91it [00:17, 5.20it/s] 92it [00:17, 5.20it/s] 93it [00:17, 5.21it/s] 94it [00:17, 5.20it/s] 95it [00:18, 5.19it/s] 96it [00:18, 5.19it/s] 97it [00:18, 5.20it/s] 98it [00:18, 5.21it/s] 99it [00:18, 5.19it/s] 100it [00:19, 5.21it/s] 100it [00:19, 5.25it/s]
Prediction
cjwbw/daclip-uir:73496e1dIDmscjoalbxfhz3wklinoru6pwbmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", { input: { image: "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", input={ "image": "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run cjwbw/daclip-uir 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": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", "input": { "image": "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run cjwbw/daclip-uir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232 \ -i 'image="https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png"'
To learn more, take a look at the Cog documentation.
Pull and run cjwbw/daclip-uir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2023-10-12T22:54:38.780318Z", "created_at": "2023-10-12T22:54:26.079416Z", "data_removed": false, "error": null, "id": "mscjoalbxfhz3wklinoru6pwbm", "input": { "image": "https://replicate.delivery/pbxt/JgmaupsG9GYI4aWMjTDLDZRM7scsU6qsCzvNHsXqHoG2nVVG/079.png" }, "logs": "0it [00:00, ?it/s]\n1it [00:00, 9.69it/s]\n3it [00:00, 12.04it/s]\n5it [00:00, 10.46it/s]\n7it [00:00, 9.94it/s]\n9it [00:00, 9.70it/s]\n10it [00:01, 9.62it/s]\n11it [00:01, 9.56it/s]\n12it [00:01, 9.50it/s]\n13it [00:01, 9.45it/s]\n14it [00:01, 9.42it/s]\n15it [00:01, 9.40it/s]\n16it [00:01, 9.36it/s]\n17it [00:01, 9.38it/s]\n18it [00:01, 9.36it/s]\n19it [00:01, 9.36it/s]\n20it [00:02, 9.35it/s]\n21it [00:02, 9.34it/s]\n22it [00:02, 9.34it/s]\n23it [00:02, 9.34it/s]\n24it [00:02, 9.31it/s]\n25it [00:02, 9.35it/s]\n26it [00:02, 9.34it/s]\n27it [00:02, 9.31it/s]\n28it [00:02, 9.34it/s]\n29it [00:03, 9.34it/s]\n30it [00:03, 9.35it/s]\n31it [00:03, 9.34it/s]\n32it [00:03, 9.33it/s]\n33it [00:03, 9.31it/s]\n34it [00:03, 9.33it/s]\n35it [00:03, 9.33it/s]\n36it [00:03, 9.33it/s]\n37it [00:03, 9.33it/s]\n38it [00:04, 9.33it/s]\n39it [00:04, 9.34it/s]\n40it [00:04, 9.33it/s]\n41it [00:04, 9.34it/s]\n42it [00:04, 9.34it/s]\n43it [00:04, 9.32it/s]\n44it [00:04, 9.34it/s]\n45it [00:04, 9.33it/s]\n46it [00:04, 9.33it/s]\n47it [00:04, 9.33it/s]\n48it [00:05, 9.34it/s]\n49it [00:05, 9.34it/s]\n50it [00:05, 9.35it/s]\n51it [00:05, 9.35it/s]\n52it [00:05, 9.32it/s]\n53it [00:05, 9.34it/s]\n54it [00:05, 9.34it/s]\n55it [00:05, 9.34it/s]\n56it [00:05, 9.35it/s]\n57it [00:06, 9.34it/s]\n58it [00:06, 9.35it/s]\n59it [00:06, 9.34it/s]\n60it [00:06, 9.32it/s]\n61it [00:06, 9.32it/s]\n62it [00:06, 9.31it/s]\n63it [00:06, 9.33it/s]\n64it [00:06, 9.34it/s]\n65it [00:06, 9.33it/s]\n66it [00:07, 9.34it/s]\n67it [00:07, 9.35it/s]\n68it [00:07, 9.30it/s]\n69it [00:07, 9.34it/s]\n70it [00:07, 9.33it/s]\n71it [00:07, 9.33it/s]\n72it [00:07, 9.30it/s]\n73it [00:07, 9.34it/s]\n74it [00:07, 9.33it/s]\n75it [00:07, 9.35it/s]\n76it [00:08, 9.34it/s]\n77it [00:08, 9.35it/s]\n78it [00:08, 9.35it/s]\n79it [00:08, 9.34it/s]\n80it [00:08, 9.29it/s]\n81it [00:08, 9.31it/s]\n82it [00:08, 9.33it/s]\n83it [00:08, 9.34it/s]\n84it [00:08, 9.25it/s]\n85it [00:09, 9.32it/s]\n86it [00:09, 9.34it/s]\n87it [00:09, 9.34it/s]\n88it [00:09, 9.34it/s]\n89it [00:09, 9.30it/s]\n90it [00:09, 9.26it/s]\n91it [00:09, 9.28it/s]\n92it [00:09, 9.28it/s]\n93it [00:09, 9.31it/s]\n94it [00:10, 9.33it/s]\n95it [00:10, 9.31it/s]\n96it [00:10, 9.34it/s]\n97it [00:10, 9.33it/s]\n98it [00:10, 9.32it/s]\n99it [00:10, 9.35it/s]\n100it [00:10, 9.36it/s]\n100it [00:10, 9.39it/s]", "metrics": { "predict_time": 12.717823, "total_time": 12.700902 }, "output": "https://pbxt.replicate.delivery/BeJKrJWa2LymJyt3JKe8TVKn2iCEfIIFgxO8ZKTZUyPbZFbjA/out.png", "started_at": "2023-10-12T22:54:26.062495Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/mscjoalbxfhz3wklinoru6pwbm", "cancel": "https://api.replicate.com/v1/predictions/mscjoalbxfhz3wklinoru6pwbm/cancel" }, "version": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232" }
Generated in0it [00:00, ?it/s] 1it [00:00, 9.69it/s] 3it [00:00, 12.04it/s] 5it [00:00, 10.46it/s] 7it [00:00, 9.94it/s] 9it [00:00, 9.70it/s] 10it [00:01, 9.62it/s] 11it [00:01, 9.56it/s] 12it [00:01, 9.50it/s] 13it [00:01, 9.45it/s] 14it [00:01, 9.42it/s] 15it [00:01, 9.40it/s] 16it [00:01, 9.36it/s] 17it [00:01, 9.38it/s] 18it [00:01, 9.36it/s] 19it [00:01, 9.36it/s] 20it [00:02, 9.35it/s] 21it [00:02, 9.34it/s] 22it [00:02, 9.34it/s] 23it [00:02, 9.34it/s] 24it [00:02, 9.31it/s] 25it [00:02, 9.35it/s] 26it [00:02, 9.34it/s] 27it [00:02, 9.31it/s] 28it [00:02, 9.34it/s] 29it [00:03, 9.34it/s] 30it [00:03, 9.35it/s] 31it [00:03, 9.34it/s] 32it [00:03, 9.33it/s] 33it [00:03, 9.31it/s] 34it [00:03, 9.33it/s] 35it [00:03, 9.33it/s] 36it [00:03, 9.33it/s] 37it [00:03, 9.33it/s] 38it [00:04, 9.33it/s] 39it [00:04, 9.34it/s] 40it [00:04, 9.33it/s] 41it [00:04, 9.34it/s] 42it [00:04, 9.34it/s] 43it [00:04, 9.32it/s] 44it [00:04, 9.34it/s] 45it [00:04, 9.33it/s] 46it [00:04, 9.33it/s] 47it [00:04, 9.33it/s] 48it [00:05, 9.34it/s] 49it [00:05, 9.34it/s] 50it [00:05, 9.35it/s] 51it [00:05, 9.35it/s] 52it [00:05, 9.32it/s] 53it [00:05, 9.34it/s] 54it [00:05, 9.34it/s] 55it [00:05, 9.34it/s] 56it [00:05, 9.35it/s] 57it [00:06, 9.34it/s] 58it [00:06, 9.35it/s] 59it [00:06, 9.34it/s] 60it [00:06, 9.32it/s] 61it [00:06, 9.32it/s] 62it [00:06, 9.31it/s] 63it [00:06, 9.33it/s] 64it [00:06, 9.34it/s] 65it [00:06, 9.33it/s] 66it [00:07, 9.34it/s] 67it [00:07, 9.35it/s] 68it [00:07, 9.30it/s] 69it [00:07, 9.34it/s] 70it [00:07, 9.33it/s] 71it [00:07, 9.33it/s] 72it [00:07, 9.30it/s] 73it [00:07, 9.34it/s] 74it [00:07, 9.33it/s] 75it [00:07, 9.35it/s] 76it [00:08, 9.34it/s] 77it [00:08, 9.35it/s] 78it [00:08, 9.35it/s] 79it [00:08, 9.34it/s] 80it [00:08, 9.29it/s] 81it [00:08, 9.31it/s] 82it [00:08, 9.33it/s] 83it [00:08, 9.34it/s] 84it [00:08, 9.25it/s] 85it [00:09, 9.32it/s] 86it [00:09, 9.34it/s] 87it [00:09, 9.34it/s] 88it [00:09, 9.34it/s] 89it [00:09, 9.30it/s] 90it [00:09, 9.26it/s] 91it [00:09, 9.28it/s] 92it [00:09, 9.28it/s] 93it [00:09, 9.31it/s] 94it [00:10, 9.33it/s] 95it [00:10, 9.31it/s] 96it [00:10, 9.34it/s] 97it [00:10, 9.33it/s] 98it [00:10, 9.32it/s] 99it [00:10, 9.35it/s] 100it [00:10, 9.36it/s] 100it [00:10, 9.39it/s]
Prediction
cjwbw/daclip-uir:73496e1dIDrcqigedbw2ghpf3ckrilgj2rneStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", { input: { image: "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", input={ "image": "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run cjwbw/daclip-uir 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": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", "input": { "image": "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run cjwbw/daclip-uir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232 \ -i 'image="https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png"'
To learn more, take a look at the Cog documentation.
Pull and run cjwbw/daclip-uir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2023-10-12T22:55:26.278790Z", "created_at": "2023-10-12T22:54:58.701077Z", "data_removed": false, "error": null, "id": "rcqigedbw2ghpf3ckrilgj2rne", "input": { "image": "https://replicate.delivery/pbxt/JgmbQzLXG6AdZTOJwb65M3gDJMtrq43SobTR7xpZnM9HsPSu/sailing2.png" }, "logs": "0it [00:00, ?it/s]\n1it [00:00, 5.27it/s]\n3it [00:00, 5.64it/s]\n4it [00:00, 4.89it/s]\n5it [00:01, 4.53it/s]\n6it [00:01, 4.31it/s]\n7it [00:01, 4.18it/s]\n8it [00:01, 4.09it/s]\n9it [00:02, 4.04it/s]\n10it [00:02, 4.00it/s]\n11it [00:02, 3.98it/s]\n12it [00:02, 3.96it/s]\n13it [00:03, 3.95it/s]\n14it [00:03, 3.94it/s]\n15it [00:03, 3.93it/s]\n16it [00:03, 3.93it/s]\n17it [00:04, 3.93it/s]\n18it [00:04, 3.93it/s]\n19it [00:04, 3.93it/s]\n20it [00:04, 3.92it/s]\n21it [00:05, 3.92it/s]\n22it [00:05, 3.92it/s]\n23it [00:05, 3.92it/s]\n24it [00:05, 3.92it/s]\n25it [00:06, 3.92it/s]\n26it [00:06, 3.92it/s]\n27it [00:06, 3.92it/s]\n28it [00:06, 3.90it/s]\n29it [00:07, 3.92it/s]\n30it [00:07, 3.93it/s]\n31it [00:07, 3.92it/s]\n32it [00:07, 3.92it/s]\n33it [00:08, 3.92it/s]\n34it [00:08, 3.92it/s]\n35it [00:08, 3.92it/s]\n36it [00:08, 3.92it/s]\n37it [00:09, 3.92it/s]\n38it [00:09, 3.92it/s]\n39it [00:09, 3.92it/s]\n40it [00:09, 3.92it/s]\n41it [00:10, 3.92it/s]\n42it [00:10, 3.92it/s]\n43it [00:10, 3.92it/s]\n44it [00:10, 3.92it/s]\n45it [00:11, 3.92it/s]\n46it [00:11, 3.92it/s]\n47it [00:11, 3.91it/s]\n48it [00:12, 3.92it/s]\n49it [00:12, 3.92it/s]\n50it [00:12, 3.92it/s]\n51it [00:12, 3.92it/s]\n52it [00:13, 3.92it/s]\n53it [00:13, 3.92it/s]\n54it [00:13, 3.91it/s]\n55it [00:13, 3.92it/s]\n56it [00:14, 3.92it/s]\n57it [00:14, 3.92it/s]\n58it [00:14, 3.92it/s]\n59it [00:14, 3.92it/s]\n60it [00:15, 3.91it/s]\n61it [00:15, 3.92it/s]\n62it [00:15, 3.92it/s]\n63it [00:15, 3.92it/s]\n64it [00:16, 3.91it/s]\n65it [00:16, 3.91it/s]\n66it [00:16, 3.92it/s]\n67it [00:16, 3.92it/s]\n68it [00:17, 3.91it/s]\n69it [00:17, 3.91it/s]\n70it [00:17, 3.91it/s]\n71it [00:17, 3.92it/s]\n72it [00:18, 3.92it/s]\n73it [00:18, 3.91it/s]\n74it [00:18, 3.91it/s]\n75it [00:18, 3.91it/s]\n76it [00:19, 3.91it/s]\n77it [00:19, 3.92it/s]\n78it [00:19, 3.91it/s]\n79it [00:19, 3.91it/s]\n80it [00:20, 3.92it/s]\n81it [00:20, 3.91it/s]\n82it [00:20, 3.92it/s]\n83it [00:20, 3.91it/s]\n84it [00:21, 3.91it/s]\n85it [00:21, 3.91it/s]\n86it [00:21, 3.91it/s]\n87it [00:21, 3.91it/s]\n88it [00:22, 3.91it/s]\n89it [00:22, 3.91it/s]\n90it [00:22, 3.91it/s]\n91it [00:22, 3.91it/s]\n92it [00:23, 3.91it/s]\n93it [00:23, 3.92it/s]\n94it [00:23, 3.92it/s]\n95it [00:24, 3.91it/s]\n96it [00:24, 3.92it/s]\n97it [00:24, 3.91it/s]\n98it [00:24, 3.92it/s]\n99it [00:25, 3.91it/s]\n100it [00:25, 3.92it/s]\n100it [00:25, 3.95it/s]", "metrics": { "predict_time": 27.560048, "total_time": 27.577713 }, "output": "https://pbxt.replicate.delivery/ipfteipteqHndpLe5ACBU73xkUoDH9mvz61s02bgRfBtrVsNC/out.png", "started_at": "2023-10-12T22:54:58.718742Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rcqigedbw2ghpf3ckrilgj2rne", "cancel": "https://api.replicate.com/v1/predictions/rcqigedbw2ghpf3ckrilgj2rne/cancel" }, "version": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232" }
Generated in0it [00:00, ?it/s] 1it [00:00, 5.27it/s] 3it [00:00, 5.64it/s] 4it [00:00, 4.89it/s] 5it [00:01, 4.53it/s] 6it [00:01, 4.31it/s] 7it [00:01, 4.18it/s] 8it [00:01, 4.09it/s] 9it [00:02, 4.04it/s] 10it [00:02, 4.00it/s] 11it [00:02, 3.98it/s] 12it [00:02, 3.96it/s] 13it [00:03, 3.95it/s] 14it [00:03, 3.94it/s] 15it [00:03, 3.93it/s] 16it [00:03, 3.93it/s] 17it [00:04, 3.93it/s] 18it [00:04, 3.93it/s] 19it [00:04, 3.93it/s] 20it [00:04, 3.92it/s] 21it [00:05, 3.92it/s] 22it [00:05, 3.92it/s] 23it [00:05, 3.92it/s] 24it [00:05, 3.92it/s] 25it [00:06, 3.92it/s] 26it [00:06, 3.92it/s] 27it [00:06, 3.92it/s] 28it [00:06, 3.90it/s] 29it [00:07, 3.92it/s] 30it [00:07, 3.93it/s] 31it [00:07, 3.92it/s] 32it [00:07, 3.92it/s] 33it [00:08, 3.92it/s] 34it [00:08, 3.92it/s] 35it [00:08, 3.92it/s] 36it [00:08, 3.92it/s] 37it [00:09, 3.92it/s] 38it [00:09, 3.92it/s] 39it [00:09, 3.92it/s] 40it [00:09, 3.92it/s] 41it [00:10, 3.92it/s] 42it [00:10, 3.92it/s] 43it [00:10, 3.92it/s] 44it [00:10, 3.92it/s] 45it [00:11, 3.92it/s] 46it [00:11, 3.92it/s] 47it [00:11, 3.91it/s] 48it [00:12, 3.92it/s] 49it [00:12, 3.92it/s] 50it [00:12, 3.92it/s] 51it [00:12, 3.92it/s] 52it [00:13, 3.92it/s] 53it [00:13, 3.92it/s] 54it [00:13, 3.91it/s] 55it [00:13, 3.92it/s] 56it [00:14, 3.92it/s] 57it [00:14, 3.92it/s] 58it [00:14, 3.92it/s] 59it [00:14, 3.92it/s] 60it [00:15, 3.91it/s] 61it [00:15, 3.92it/s] 62it [00:15, 3.92it/s] 63it [00:15, 3.92it/s] 64it [00:16, 3.91it/s] 65it [00:16, 3.91it/s] 66it [00:16, 3.92it/s] 67it [00:16, 3.92it/s] 68it [00:17, 3.91it/s] 69it [00:17, 3.91it/s] 70it [00:17, 3.91it/s] 71it [00:17, 3.92it/s] 72it [00:18, 3.92it/s] 73it [00:18, 3.91it/s] 74it [00:18, 3.91it/s] 75it [00:18, 3.91it/s] 76it [00:19, 3.91it/s] 77it [00:19, 3.92it/s] 78it [00:19, 3.91it/s] 79it [00:19, 3.91it/s] 80it [00:20, 3.92it/s] 81it [00:20, 3.91it/s] 82it [00:20, 3.92it/s] 83it [00:20, 3.91it/s] 84it [00:21, 3.91it/s] 85it [00:21, 3.91it/s] 86it [00:21, 3.91it/s] 87it [00:21, 3.91it/s] 88it [00:22, 3.91it/s] 89it [00:22, 3.91it/s] 90it [00:22, 3.91it/s] 91it [00:22, 3.91it/s] 92it [00:23, 3.91it/s] 93it [00:23, 3.92it/s] 94it [00:23, 3.92it/s] 95it [00:24, 3.91it/s] 96it [00:24, 3.92it/s] 97it [00:24, 3.91it/s] 98it [00:24, 3.92it/s] 99it [00:25, 3.91it/s] 100it [00:25, 3.92it/s] 100it [00:25, 3.95it/s]
Prediction
cjwbw/daclip-uir:73496e1dIDnuagadtbj46r6sfpfixkeenqxuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" }
npm install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the clientimport Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", { input: { image: "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the clientimport replicate
Run cjwbw/daclip-uir using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "cjwbw/daclip-uir:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", input={ "image": "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variableexport REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run cjwbw/daclip-uir 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": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232", "input": { "image": "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Install Cogbrew install cog
If you don’t have Homebrew, there are other installation options available.
Pull and run cjwbw/daclip-uir using Cog (this will download the full model and run it in your local environment):
cog predict r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232 \ -i 'image="https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png"'
To learn more, take a look at the Cog documentation.
Pull and run cjwbw/daclip-uir using Docker (this will download the full model and run it in your local environment):
docker run -d -p 5000:5000 --gpus=all r8.im/cjwbw/daclip-uir@sha256:73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" } }' \ http://localhost:5000/predictions
Output
{ "completed_at": "2023-10-12T22:56:14.186478Z", "created_at": "2023-10-12T22:56:01.867978Z", "data_removed": false, "error": null, "id": "nuagadtbj46r6sfpfixkeenqxu", "input": { "image": "https://replicate.delivery/pbxt/JgmcQW6fy0gc050IOkkk7tscP9shKahhLEH2GesyvjQJUDTV/21077.png" }, "logs": "0it [00:00, ?it/s]\n2it [00:00, 16.43it/s]\n4it [00:00, 11.35it/s]\n6it [00:00, 10.33it/s]\n8it [00:00, 9.91it/s]\n10it [00:00, 9.70it/s]\n11it [00:01, 9.61it/s]\n12it [00:01, 9.55it/s]\n13it [00:01, 9.49it/s]\n14it [00:01, 9.44it/s]\n15it [00:01, 9.42it/s]\n16it [00:01, 9.39it/s]\n17it [00:01, 9.36it/s]\n18it [00:01, 9.38it/s]\n19it [00:01, 9.37it/s]\n20it [00:02, 9.37it/s]\n21it [00:02, 9.36it/s]\n22it [00:02, 9.34it/s]\n23it [00:02, 9.33it/s]\n24it [00:02, 9.35it/s]\n25it [00:02, 9.34it/s]\n26it [00:02, 9.34it/s]\n27it [00:02, 9.34it/s]\n28it [00:02, 9.32it/s]\n29it [00:03, 9.33it/s]\n30it [00:03, 9.33it/s]\n31it [00:03, 9.33it/s]\n32it [00:03, 9.34it/s]\n33it [00:03, 9.34it/s]\n34it [00:03, 9.34it/s]\n35it [00:03, 9.35it/s]\n36it [00:03, 9.34it/s]\n37it [00:03, 9.34it/s]\n38it [00:03, 9.34it/s]\n39it [00:04, 9.33it/s]\n40it [00:04, 9.34it/s]\n41it [00:04, 9.34it/s]\n42it [00:04, 9.32it/s]\n43it [00:04, 9.33it/s]\n44it [00:04, 9.33it/s]\n45it [00:04, 9.33it/s]\n46it [00:04, 9.34it/s]\n47it [00:04, 9.33it/s]\n48it [00:05, 9.34it/s]\n49it [00:05, 9.35it/s]\n50it [00:05, 9.32it/s]\n51it [00:05, 9.31it/s]\n52it [00:05, 9.32it/s]\n53it [00:05, 9.32it/s]\n54it [00:05, 9.33it/s]\n55it [00:05, 9.32it/s]\n56it [00:05, 9.30it/s]\n57it [00:06, 9.34it/s]\n58it [00:06, 9.33it/s]\n59it [00:06, 9.35it/s]\n60it [00:06, 9.35it/s]\n61it [00:06, 9.32it/s]\n62it [00:06, 9.34it/s]\n63it [00:06, 9.35it/s]\n64it [00:06, 9.33it/s]\n65it [00:06, 9.34it/s]\n66it [00:06, 9.34it/s]\n67it [00:07, 9.32it/s]\n68it [00:07, 9.33it/s]\n69it [00:07, 9.33it/s]\n70it [00:07, 9.33it/s]\n71it [00:07, 9.30it/s]\n72it [00:07, 9.33it/s]\n73it [00:07, 9.34it/s]\n74it [00:07, 9.35it/s]\n75it [00:07, 9.34it/s]\n76it [00:08, 9.34it/s]\n77it [00:08, 9.35it/s]\n78it [00:08, 9.33it/s]\n79it [00:08, 9.31it/s]\n80it [00:08, 9.33it/s]\n81it [00:08, 9.30it/s]\n82it [00:08, 9.29it/s]\n83it [00:08, 9.30it/s]\n84it [00:08, 9.33it/s]\n85it [00:09, 9.34it/s]\n86it [00:09, 9.34it/s]\n87it [00:09, 9.34it/s]\n88it [00:09, 9.34it/s]\n89it [00:09, 9.28it/s]\n90it [00:09, 9.33it/s]\n91it [00:09, 9.31it/s]\n92it [00:09, 9.32it/s]\n93it [00:09, 9.33it/s]\n94it [00:09, 9.33it/s]\n95it [00:10, 9.33it/s]\n96it [00:10, 9.34it/s]\n97it [00:10, 9.32it/s]\n98it [00:10, 9.33it/s]\n99it [00:10, 9.32it/s]\n100it [00:10, 9.31it/s]\n100it [00:10, 9.41it/s]", "metrics": { "predict_time": 12.399974, "total_time": 12.3185 }, "output": "https://pbxt.replicate.delivery/jbWK2ATu5fx2c6Ltz9iW3kMGWueXjCNUqL5pnbrdFAiNuitRA/out.png", "started_at": "2023-10-12T22:56:01.786504Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/nuagadtbj46r6sfpfixkeenqxu", "cancel": "https://api.replicate.com/v1/predictions/nuagadtbj46r6sfpfixkeenqxu/cancel" }, "version": "73496e1d669145e494f61f1f8385522063de91fc9949d8726562ec782ba94232" }
Generated in0it [00:00, ?it/s] 2it [00:00, 16.43it/s] 4it [00:00, 11.35it/s] 6it [00:00, 10.33it/s] 8it [00:00, 9.91it/s] 10it [00:00, 9.70it/s] 11it [00:01, 9.61it/s] 12it [00:01, 9.55it/s] 13it [00:01, 9.49it/s] 14it [00:01, 9.44it/s] 15it [00:01, 9.42it/s] 16it [00:01, 9.39it/s] 17it [00:01, 9.36it/s] 18it [00:01, 9.38it/s] 19it [00:01, 9.37it/s] 20it [00:02, 9.37it/s] 21it [00:02, 9.36it/s] 22it [00:02, 9.34it/s] 23it [00:02, 9.33it/s] 24it [00:02, 9.35it/s] 25it [00:02, 9.34it/s] 26it [00:02, 9.34it/s] 27it [00:02, 9.34it/s] 28it [00:02, 9.32it/s] 29it [00:03, 9.33it/s] 30it [00:03, 9.33it/s] 31it [00:03, 9.33it/s] 32it [00:03, 9.34it/s] 33it [00:03, 9.34it/s] 34it [00:03, 9.34it/s] 35it [00:03, 9.35it/s] 36it [00:03, 9.34it/s] 37it [00:03, 9.34it/s] 38it [00:03, 9.34it/s] 39it [00:04, 9.33it/s] 40it [00:04, 9.34it/s] 41it [00:04, 9.34it/s] 42it [00:04, 9.32it/s] 43it [00:04, 9.33it/s] 44it [00:04, 9.33it/s] 45it [00:04, 9.33it/s] 46it [00:04, 9.34it/s] 47it [00:04, 9.33it/s] 48it [00:05, 9.34it/s] 49it [00:05, 9.35it/s] 50it [00:05, 9.32it/s] 51it [00:05, 9.31it/s] 52it [00:05, 9.32it/s] 53it [00:05, 9.32it/s] 54it [00:05, 9.33it/s] 55it [00:05, 9.32it/s] 56it [00:05, 9.30it/s] 57it [00:06, 9.34it/s] 58it [00:06, 9.33it/s] 59it [00:06, 9.35it/s] 60it [00:06, 9.35it/s] 61it [00:06, 9.32it/s] 62it [00:06, 9.34it/s] 63it [00:06, 9.35it/s] 64it [00:06, 9.33it/s] 65it [00:06, 9.34it/s] 66it [00:06, 9.34it/s] 67it [00:07, 9.32it/s] 68it [00:07, 9.33it/s] 69it [00:07, 9.33it/s] 70it [00:07, 9.33it/s] 71it [00:07, 9.30it/s] 72it [00:07, 9.33it/s] 73it [00:07, 9.34it/s] 74it [00:07, 9.35it/s] 75it [00:07, 9.34it/s] 76it [00:08, 9.34it/s] 77it [00:08, 9.35it/s] 78it [00:08, 9.33it/s] 79it [00:08, 9.31it/s] 80it [00:08, 9.33it/s] 81it [00:08, 9.30it/s] 82it [00:08, 9.29it/s] 83it [00:08, 9.30it/s] 84it [00:08, 9.33it/s] 85it [00:09, 9.34it/s] 86it [00:09, 9.34it/s] 87it [00:09, 9.34it/s] 88it [00:09, 9.34it/s] 89it [00:09, 9.28it/s] 90it [00:09, 9.33it/s] 91it [00:09, 9.31it/s] 92it [00:09, 9.32it/s] 93it [00:09, 9.33it/s] 94it [00:09, 9.33it/s] 95it [00:10, 9.33it/s] 96it [00:10, 9.34it/s] 97it [00:10, 9.32it/s] 98it [00:10, 9.33it/s] 99it [00:10, 9.32it/s] 100it [00:10, 9.31it/s] 100it [00:10, 9.41it/s]
Want to make some of these yourself?
Run this model