lucataco / vectorized-dot-grid
Vectorized dot grid - by Brett from Designjoy
- Public
- 171 runs
- GitHub
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208Input
{ "image": "https://replicate.delivery/pbxt/N4zRsaMPgp3JBBcSArOOPKrEkWUVEFvCY3rvJanziMTPYpgs/GraZnzHbAAMX8Nm.jpeg", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zRsaMPgp3JBBcSArOOPKrEkWUVEFvCY3rvJanziMTPYpgs/GraZnzHbAAMX8Nm.jpeg", dot_scale: 1, grid_size: 24, output_width: 1024, brightness_threshold: 0 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zRsaMPgp3JBBcSArOOPKrEkWUVEFvCY3rvJanziMTPYpgs/GraZnzHbAAMX8Nm.jpeg", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zRsaMPgp3JBBcSArOOPKrEkWUVEFvCY3rvJanziMTPYpgs/GraZnzHbAAMX8Nm.jpeg", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T03:51:26.899111Z", "created_at": "2025-05-27T03:51:19.010000Z", "data_removed": false, "error": null, "id": "nwb1c8xtw9rm80cq1zest2153m", "input": { "image": "https://replicate.delivery/pbxt/N4zRsaMPgp3JBBcSArOOPKrEkWUVEFvCY3rvJanziMTPYpgs/GraZnzHbAAMX8Nm.jpeg", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0 }, "logs": null, "metrics": { "predict_time": 0.216146716, "total_time": 7.889111 }, "output": "https://replicate.delivery/xezq/oe3wl7hf6aiJfpveF095ZcVkP1qpl50VtL3bEhLewbH0X0FmC/dot_grid_output.png", "started_at": "2025-05-27T03:51:26.682964Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-tyj65mf4rqmjiy3f7wjpmmikpcpxxxoh32obpenleewe6zig4b3q", "get": "https://api.replicate.com/v1/predictions/nwb1c8xtw9rm80cq1zest2153m", "cancel": "https://api.replicate.com/v1/predictions/nwb1c8xtw9rm80cq1zest2153m/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208IDkhjsz0cte1rme0cq1zg98ren7gStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zUrCvijPbTTQLGDOEeN4Nmqjlmz2Jz6HNNKWYyDSUBUzTa/David_-_Napoleon_crossing_the_Alps_-_Malmaison2.jpg", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zUrCvijPbTTQLGDOEeN4Nmqjlmz2Jz6HNNKWYyDSUBUzTa/David_-_Napoleon_crossing_the_Alps_-_Malmaison2.jpg", dot_scale: 1, grid_size: 20, output_width: 1024, brightness_threshold: 0 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zUrCvijPbTTQLGDOEeN4Nmqjlmz2Jz6HNNKWYyDSUBUzTa/David_-_Napoleon_crossing_the_Alps_-_Malmaison2.jpg", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zUrCvijPbTTQLGDOEeN4Nmqjlmz2Jz6HNNKWYyDSUBUzTa/David_-_Napoleon_crossing_the_Alps_-_Malmaison2.jpg", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T03:54:27.493577Z", "created_at": "2025-05-27T03:54:27.312000Z", "data_removed": false, "error": null, "id": "khjsz0cte1rme0cq1zg98ren7g", "input": { "image": "https://replicate.delivery/pbxt/N4zUrCvijPbTTQLGDOEeN4Nmqjlmz2Jz6HNNKWYyDSUBUzTa/David_-_Napoleon_crossing_the_Alps_-_Malmaison2.jpg", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0 }, "logs": null, "metrics": { "predict_time": 0.174108531, "total_time": 0.181577 }, "output": "https://replicate.delivery/xezq/jWOoyTTpKb4dN9q5t03d3yOQlMue5QaBPJx4lOMZcl55SXYKA/dot_grid_output.png", "started_at": "2025-05-27T03:54:27.319469Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-lkfsuoncsxjzkx3jzakdecjseoohdaoqzqf3sbbeynvtit277uea", "get": "https://api.replicate.com/v1/predictions/khjsz0cte1rme0cq1zg98ren7g", "cancel": "https://api.replicate.com/v1/predictions/khjsz0cte1rme0cq1zg98ren7g/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208IDd5nd2bdfysrma0cq1zgspw6qymStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zVyiww4DRB2g98bn4cIFapazY8q9IFDEJYeSAxiT43aFkc/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg.webp", "dot_scale": 1, "grid_size": 21, "output_width": 1200, "brightness_threshold": 0 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zVyiww4DRB2g98bn4cIFapazY8q9IFDEJYeSAxiT43aFkc/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg.webp", dot_scale: 1, grid_size: 21, output_width: 1200, brightness_threshold: 0 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zVyiww4DRB2g98bn4cIFapazY8q9IFDEJYeSAxiT43aFkc/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg.webp", "dot_scale": 1, "grid_size": 21, "output_width": 1200, "brightness_threshold": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zVyiww4DRB2g98bn4cIFapazY8q9IFDEJYeSAxiT43aFkc/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg.webp", "dot_scale": 1, "grid_size": 21, "output_width": 1200, "brightness_threshold": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T03:55:38.636674Z", "created_at": "2025-05-27T03:55:38.358000Z", "data_removed": false, "error": null, "id": "d5nd2bdfysrma0cq1zgspw6qym", "input": { "image": "https://replicate.delivery/pbxt/N4zVyiww4DRB2g98bn4cIFapazY8q9IFDEJYeSAxiT43aFkc/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg.webp", "dot_scale": 1, "grid_size": 21, "output_width": 1200, "brightness_threshold": 0 }, "logs": null, "metrics": { "predict_time": 0.27006573, "total_time": 0.278674 }, "output": "https://replicate.delivery/xezq/gEerfbpAxLgeLolGSc5HrEw2epHVPHdSWzSpEHL5LyOrb6CTB/dot_grid_output.png", "started_at": "2025-05-27T03:55:38.366608Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-64oah4vufm333vinzjhze43lhqzfn3y2it2lhaly6p2upbtqoxrq", "get": "https://api.replicate.com/v1/predictions/d5nd2bdfysrma0cq1zgspw6qym", "cancel": "https://api.replicate.com/v1/predictions/d5nd2bdfysrma0cq1zgspw6qym/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208IDbanearr6c9rmc0cq1zps0by20gStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zhijOOWTPm92Pm4dTpGDTlQ8zH9QHyE69uWNNyI3PhxZL4/replicate-prediction-x7kq15rygnrmc0cq1zpbysbyt4.webp", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0.05 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zhijOOWTPm92Pm4dTpGDTlQ8zH9QHyE69uWNNyI3PhxZL4/replicate-prediction-x7kq15rygnrmc0cq1zpbysbyt4.webp", dot_scale: 1, grid_size: 20, output_width: 1024, brightness_threshold: 0.05 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zhijOOWTPm92Pm4dTpGDTlQ8zH9QHyE69uWNNyI3PhxZL4/replicate-prediction-x7kq15rygnrmc0cq1zpbysbyt4.webp", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0.05 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zhijOOWTPm92Pm4dTpGDTlQ8zH9QHyE69uWNNyI3PhxZL4/replicate-prediction-x7kq15rygnrmc0cq1zpbysbyt4.webp", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0.05 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T04:08:01.516073Z", "created_at": "2025-05-27T04:08:01.378000Z", "data_removed": false, "error": null, "id": "banearr6c9rmc0cq1zps0by20g", "input": { "image": "https://replicate.delivery/pbxt/N4zhijOOWTPm92Pm4dTpGDTlQ8zH9QHyE69uWNNyI3PhxZL4/replicate-prediction-x7kq15rygnrmc0cq1zpbysbyt4.webp", "dot_scale": 1, "grid_size": 20, "output_width": 1024, "brightness_threshold": 0.05 }, "logs": null, "metrics": { "predict_time": 0.130638443, "total_time": 0.138073 }, "output": "https://replicate.delivery/xezq/WHOUfbsN0QUuGq4jbTeRpVOTW5SO21cJuOwlCmjFOqJhyuwUA/dot_grid_output.png", "started_at": "2025-05-27T04:08:01.385434Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-u5or4otv3bxak6tzqbbhxlw5yng4yr3ht5r3ex6hhflpomv3qxda", "get": "https://api.replicate.com/v1/predictions/banearr6c9rmc0cq1zps0by20g", "cancel": "https://api.replicate.com/v1/predictions/banearr6c9rmc0cq1zps0by20g/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208ID3b5keevdehrm80cq1zvvdn1sk8StatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zsSxYsIsgfxwz00NkHQKo3AXHd2XgpgxifwqmQYiAvo7Gb/girl-with-pearl.png", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0.1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zsSxYsIsgfxwz00NkHQKo3AXHd2XgpgxifwqmQYiAvo7Gb/girl-with-pearl.png", dot_scale: 1, grid_size: 24, output_width: 1024, brightness_threshold: 0.1 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zsSxYsIsgfxwz00NkHQKo3AXHd2XgpgxifwqmQYiAvo7Gb/girl-with-pearl.png", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0.1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zsSxYsIsgfxwz00NkHQKo3AXHd2XgpgxifwqmQYiAvo7Gb/girl-with-pearl.png", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0.1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T04:19:23.276689Z", "created_at": "2025-05-27T04:19:23.124000Z", "data_removed": false, "error": null, "id": "3b5keevdehrm80cq1zvvdn1sk8", "input": { "image": "https://replicate.delivery/pbxt/N4zsSxYsIsgfxwz00NkHQKo3AXHd2XgpgxifwqmQYiAvo7Gb/girl-with-pearl.png", "dot_scale": 1, "grid_size": 24, "output_width": 1024, "brightness_threshold": 0.1 }, "logs": null, "metrics": { "predict_time": 0.144738014, "total_time": 0.152689 }, "output": "https://replicate.delivery/xezq/UnCktMiiJM5nOF5eLDhddjUmGD9MSjijeYCpn5HdZY1L9uwUA/dot_grid_output.png", "started_at": "2025-05-27T04:19:23.131951Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-4jl6757z7lj777t64iy7yz6n4iceuzggz4lrdtif7vzpplqjknia", "get": "https://api.replicate.com/v1/predictions/3b5keevdehrm80cq1zvvdn1sk8", "cancel": "https://api.replicate.com/v1/predictions/3b5keevdehrm80cq1zvvdn1sk8/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208IDa2k8yppav9rmc0cq1zw8j17yggStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zttBghmSKOmtCJce44MJDBJPJ8PfKSlKllGrl0fBce944w/saint-jerome-paintings.jpg", "dot_scale": 1, "grid_size": 10, "output_width": 1024, "brightness_threshold": 0 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zttBghmSKOmtCJce44MJDBJPJ8PfKSlKllGrl0fBce944w/saint-jerome-paintings.jpg", dot_scale: 1, grid_size: 10, output_width: 1024, brightness_threshold: 0 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zttBghmSKOmtCJce44MJDBJPJ8PfKSlKllGrl0fBce944w/saint-jerome-paintings.jpg", "dot_scale": 1, "grid_size": 10, "output_width": 1024, "brightness_threshold": 0 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zttBghmSKOmtCJce44MJDBJPJ8PfKSlKllGrl0fBce944w/saint-jerome-paintings.jpg", "dot_scale": 1, "grid_size": 10, "output_width": 1024, "brightness_threshold": 0 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T04:20:52.738770Z", "created_at": "2025-05-27T04:20:52.570000Z", "data_removed": false, "error": null, "id": "a2k8yppav9rmc0cq1zw8j17ygg", "input": { "image": "https://replicate.delivery/pbxt/N4zttBghmSKOmtCJce44MJDBJPJ8PfKSlKllGrl0fBce944w/saint-jerome-paintings.jpg", "dot_scale": 1, "grid_size": 10, "output_width": 1024, "brightness_threshold": 0 }, "logs": null, "metrics": { "predict_time": 0.161152407, "total_time": 0.16877 }, "output": "https://replicate.delivery/xezq/mZkMxSCyfZR2Xq3PqljJjtPIN78yP6cq8Fd0oxAXwZaSfuwUA/dot_grid_output.png", "started_at": "2025-05-27T04:20:52.577617Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-56jnpg3woi7my7poyu5w2jyxfopbj5ri6kmcwtp6qnw4bhuvjv7q", "get": "https://api.replicate.com/v1/predictions/a2k8yppav9rmc0cq1zw8j17ygg", "cancel": "https://api.replicate.com/v1/predictions/a2k8yppav9rmc0cq1zw8j17ygg/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Prediction
lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208IDd3841wmqn1rm80cq1zxthrygmrStatusSucceededSourceWebHardwareCPUTotal durationCreatedInput
{ "image": "https://replicate.delivery/pbxt/N4zwmKQKWPgxm1HjLJWXAhgIRwUj5g3aNeNyDPvMTAsKg2mN/Artist-in-a-very-entertaining-way-shows-what-could-happen-behind-the-scenes-of-famous-paintings-5c3b2d8ba65c4__880.jpg", "dot_scale": 1, "grid_size": 14, "output_width": 1024, "brightness_threshold": 0.1 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", { input: { image: "https://replicate.delivery/pbxt/N4zwmKQKWPgxm1HjLJWXAhgIRwUj5g3aNeNyDPvMTAsKg2mN/Artist-in-a-very-entertaining-way-shows-what-could-happen-behind-the-scenes-of-famous-paintings-5c3b2d8ba65c4__880.jpg", dot_scale: 1, grid_size: 14, output_width: 1024, brightness_threshold: 0.1 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", input={ "image": "https://replicate.delivery/pbxt/N4zwmKQKWPgxm1HjLJWXAhgIRwUj5g3aNeNyDPvMTAsKg2mN/Artist-in-a-very-entertaining-way-shows-what-could-happen-behind-the-scenes-of-famous-paintings-5c3b2d8ba65c4__880.jpg", "dot_scale": 1, "grid_size": 14, "output_width": 1024, "brightness_threshold": 0.1 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run lucataco/vectorized-dot-grid using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "lucataco/vectorized-dot-grid:a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208", "input": { "image": "https://replicate.delivery/pbxt/N4zwmKQKWPgxm1HjLJWXAhgIRwUj5g3aNeNyDPvMTAsKg2mN/Artist-in-a-very-entertaining-way-shows-what-could-happen-behind-the-scenes-of-famous-paintings-5c3b2d8ba65c4__880.jpg", "dot_scale": 1, "grid_size": 14, "output_width": 1024, "brightness_threshold": 0.1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2025-05-27T04:23:56.223296Z", "created_at": "2025-05-27T04:23:56.072000Z", "data_removed": false, "error": null, "id": "d3841wmqn1rm80cq1zxthrygmr", "input": { "image": "https://replicate.delivery/pbxt/N4zwmKQKWPgxm1HjLJWXAhgIRwUj5g3aNeNyDPvMTAsKg2mN/Artist-in-a-very-entertaining-way-shows-what-could-happen-behind-the-scenes-of-famous-paintings-5c3b2d8ba65c4__880.jpg", "dot_scale": 1, "grid_size": 14, "output_width": 1024, "brightness_threshold": 0.1 }, "logs": null, "metrics": { "predict_time": 0.143243167, "total_time": 0.151296 }, "output": "https://replicate.delivery/xezq/7tylq8yfPJ09J67eN9k7IuHofmJO6BsfpA6DYV1Dq3lzF8CTB/dot_grid_output.png", "started_at": "2025-05-27T04:23:56.080053Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-imonffq2of4tsmdhpsfiprlcgl7bblc5rdhv4yhfbncccyvr2y6a", "get": "https://api.replicate.com/v1/predictions/d3841wmqn1rm80cq1zxthrygmr", "cancel": "https://api.replicate.com/v1/predictions/d3841wmqn1rm80cq1zxthrygmr/cancel" }, "version": "a5b8700fc30c78475b838305ed9e8f1a582d96f31da6d4233443bb89a9bb1208" }
Want to make some of these yourself?
Run this model