hazxone / eye-color
Change eye (iris) color
- Public
- 633 runs
Prediction
hazxone/eye-color:30ad2fcbad4efaebe0e4ef1ec258ef2d0f9b55b33595db483a1598bc12e28c21ID8azajak3q9rgj0cew8c9y4ckcwStatusSucceededSourceWebHardwareA40Total durationCreatedInput
{ "alpha": 0.13, "color": "Red", "image": "https://replicate.delivery/pbxt/KkfwbYVaoHXUexqWn85qP40IX5wd1FBasMfHrChwESvyjtTq/Jurica%20Koletic%20Unsplash.jpg" }
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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "hazxone/eye-color:30ad2fcbad4efaebe0e4ef1ec258ef2d0f9b55b33595db483a1598bc12e28c21", { input: { alpha: 0.13, color: "Red", image: "https://replicate.delivery/pbxt/KkfwbYVaoHXUexqWn85qP40IX5wd1FBasMfHrChwESvyjtTq/Jurica%20Koletic%20Unsplash.jpg" } } ); // 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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "hazxone/eye-color:30ad2fcbad4efaebe0e4ef1ec258ef2d0f9b55b33595db483a1598bc12e28c21", input={ "alpha": 0.13, "color": "Red", "image": "https://replicate.delivery/pbxt/KkfwbYVaoHXUexqWn85qP40IX5wd1FBasMfHrChwESvyjtTq/Jurica%20Koletic%20Unsplash.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run hazxone/eye-color 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": "hazxone/eye-color:30ad2fcbad4efaebe0e4ef1ec258ef2d0f9b55b33595db483a1598bc12e28c21", "input": { "alpha": 0.13, "color": "Red", "image": "https://replicate.delivery/pbxt/KkfwbYVaoHXUexqWn85qP40IX5wd1FBasMfHrChwESvyjtTq/Jurica%20Koletic%20Unsplash.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-15T14:10:33.758880Z", "created_at": "2024-04-15T14:10:33.018000Z", "data_removed": false, "error": null, "id": "8azajak3q9rgj0cew8c9y4ckcw", "input": { "alpha": 0.13, "color": "Red", "image": "https://replicate.delivery/pbxt/KkfwbYVaoHXUexqWn85qP40IX5wd1FBasMfHrChwESvyjtTq/Jurica%20Koletic%20Unsplash.jpg" }, "logs": null, "metrics": { "predict_time": 0.731364, "total_time": 0.74088 }, "output": "https://replicate.delivery/pbxt/E0pxmtLn6Rq3IxzHiCdtUeIo0TbBAWiKpUTF4y3ClspsOXVJA/out.png", "started_at": "2024-04-15T14:10:33.027516Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/8azajak3q9rgj0cew8c9y4ckcw", "cancel": "https://api.replicate.com/v1/predictions/8azajak3q9rgj0cew8c9y4ckcw/cancel" }, "version": "30ad2fcbad4efaebe0e4ef1ec258ef2d0f9b55b33595db483a1598bc12e28c21" }
Prediction
hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbdIDsw6r5ew281rgg0cevbcbyd63fmStatusSucceededSourceWebHardwareA40Total durationCreatedInput
{ "color": "Green", "image": "https://replicate.delivery/pbxt/KkAxoMutwbhPYBo3mhLgg6lEhp36IGKLQt3G66WR6wVkPYRp/Girl%20in%20yellow%20shirt%20Large.jpg" }
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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", { input: { color: "Green", image: "https://replicate.delivery/pbxt/KkAxoMutwbhPYBo3mhLgg6lEhp36IGKLQt3G66WR6wVkPYRp/Girl%20in%20yellow%20shirt%20Large.jpg" } } ); // 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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", input={ "color": "Green", "image": "https://replicate.delivery/pbxt/KkAxoMutwbhPYBo3mhLgg6lEhp36IGKLQt3G66WR6wVkPYRp/Girl%20in%20yellow%20shirt%20Large.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run hazxone/eye-color 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": "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", "input": { "color": "Green", "image": "https://replicate.delivery/pbxt/KkAxoMutwbhPYBo3mhLgg6lEhp36IGKLQt3G66WR6wVkPYRp/Girl%20in%20yellow%20shirt%20Large.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-14T04:23:28.456039Z", "created_at": "2024-04-14T04:23:26.016000Z", "data_removed": false, "error": null, "id": "sw6r5ew281rgg0cevbcbyd63fm", "input": { "color": "Green", "image": "https://replicate.delivery/pbxt/KkAxoMutwbhPYBo3mhLgg6lEhp36IGKLQt3G66WR6wVkPYRp/Girl%20in%20yellow%20shirt%20Large.jpg" }, "logs": null, "metrics": { "predict_time": 2.402217, "total_time": 2.440039 }, "output": "https://replicate.delivery/pbxt/2DysQ67fgPT7Fq37yV5by5jvJRYT1U4xGnlJJ1efRTd9hhUlA/out.png", "started_at": "2024-04-14T04:23:26.053822Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/sw6r5ew281rgg0cevbcbyd63fm", "cancel": "https://api.replicate.com/v1/predictions/sw6r5ew281rgg0cevbcbyd63fm/cancel" }, "version": "8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd" }
Prediction
hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbdID66bd894vedrgj0cevbctb630q4StatusSucceededSourceWebHardwareA40Total durationCreatedInput
{ "color": "Red", "image": "https://replicate.delivery/pbxt/KkAyxls5eXXB451NuJRNZDt7KwlJPpIsylcYEImFtSNueCr7/Girl%20in%20yellow%20shirt%20Large.jpg" }
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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", { input: { color: "Red", image: "https://replicate.delivery/pbxt/KkAyxls5eXXB451NuJRNZDt7KwlJPpIsylcYEImFtSNueCr7/Girl%20in%20yellow%20shirt%20Large.jpg" } } ); // 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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", input={ "color": "Red", "image": "https://replicate.delivery/pbxt/KkAyxls5eXXB451NuJRNZDt7KwlJPpIsylcYEImFtSNueCr7/Girl%20in%20yellow%20shirt%20Large.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run hazxone/eye-color 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": "hazxone/eye-color:8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd", "input": { "color": "Red", "image": "https://replicate.delivery/pbxt/KkAyxls5eXXB451NuJRNZDt7KwlJPpIsylcYEImFtSNueCr7/Girl%20in%20yellow%20shirt%20Large.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-14T04:24:40.525167Z", "created_at": "2024-04-14T04:24:38.003000Z", "data_removed": false, "error": null, "id": "66bd894vedrgj0cevbctb630q4", "input": { "color": "Red", "image": "https://replicate.delivery/pbxt/KkAyxls5eXXB451NuJRNZDt7KwlJPpIsylcYEImFtSNueCr7/Girl%20in%20yellow%20shirt%20Large.jpg" }, "logs": null, "metrics": { "predict_time": 2.487775, "total_time": 2.522167 }, "output": "https://replicate.delivery/pbxt/MEemZ20It2SMOCjQmdayFY76vyrfFuXjM0FeyiFw5qlPkhUlA/out.png", "started_at": "2024-04-14T04:24:38.037392Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/66bd894vedrgj0cevbctb630q4", "cancel": "https://api.replicate.com/v1/predictions/66bd894vedrgj0cevbctb630q4/cancel" }, "version": "8efb10e2f8a815846c81a0a10744c915106f6edce1764cc7605f53c7a5f96dbd" }
Prediction
hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367ID323wpnpdq1rgg0ces3dr6x82a8StatusSucceededSourceWebHardwareA40Total durationCreatedInput
{ "color": "Blue", "image": "https://replicate.delivery/pbxt/Kiw68jg20EN0iki4vK9w68LXTWQmNlcK5b2cyRXrUFvfNrlG/erik-lucatero-d2MSDujJl2g-unsplash%20%281%29.jpg" }
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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", { input: { color: "Blue", image: "https://replicate.delivery/pbxt/Kiw68jg20EN0iki4vK9w68LXTWQmNlcK5b2cyRXrUFvfNrlG/erik-lucatero-d2MSDujJl2g-unsplash%20%281%29.jpg" } } ); // 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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", input={ "color": "Blue", "image": "https://replicate.delivery/pbxt/Kiw68jg20EN0iki4vK9w68LXTWQmNlcK5b2cyRXrUFvfNrlG/erik-lucatero-d2MSDujJl2g-unsplash%20%281%29.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run hazxone/eye-color 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": "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", "input": { "color": "Blue", "image": "https://replicate.delivery/pbxt/Kiw68jg20EN0iki4vK9w68LXTWQmNlcK5b2cyRXrUFvfNrlG/erik-lucatero-d2MSDujJl2g-unsplash%20%281%29.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-10T16:33:54.277213Z", "created_at": "2024-04-10T16:33:52.056000Z", "data_removed": false, "error": null, "id": "323wpnpdq1rgg0ces3dr6x82a8", "input": { "color": "Blue", "image": "https://replicate.delivery/pbxt/Kiw68jg20EN0iki4vK9w68LXTWQmNlcK5b2cyRXrUFvfNrlG/erik-lucatero-d2MSDujJl2g-unsplash%20%281%29.jpg" }, "logs": null, "metrics": { "predict_time": 2.181872, "total_time": 2.221213 }, "output": "https://replicate.delivery/pbxt/SD9RtgJL5jJWK5XkYrMCS6dqaSP5UhXZbyERces2iwy4ijUJA/out.png", "started_at": "2024-04-10T16:33:52.095341Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/323wpnpdq1rgg0ces3dr6x82a8", "cancel": "https://api.replicate.com/v1/predictions/323wpnpdq1rgg0ces3dr6x82a8/cancel" }, "version": "f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367" }
Prediction
hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367IDrxyejxmn5drgg0cet50rvsdvvgStatusSucceededSourceWebHardwareA40Total durationCreatedInput
{ "color": "Blue", "image": "https://replicate.delivery/pbxt/KjVz3nb7dzIisvpppTGgIa4BbujzcT4L1O3EopEDYVJz0erH/Parliament%20Portrait.jpg" }
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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", { input: { color: "Blue", image: "https://replicate.delivery/pbxt/KjVz3nb7dzIisvpppTGgIa4BbujzcT4L1O3EopEDYVJz0erH/Parliament%20Portrait.jpg" } } ); // 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 hazxone/eye-color using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", input={ "color": "Blue", "image": "https://replicate.delivery/pbxt/KjVz3nb7dzIisvpppTGgIa4BbujzcT4L1O3EopEDYVJz0erH/Parliament%20Portrait.jpg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run hazxone/eye-color 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": "hazxone/eye-color:f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367", "input": { "color": "Blue", "image": "https://replicate.delivery/pbxt/KjVz3nb7dzIisvpppTGgIa4BbujzcT4L1O3EopEDYVJz0erH/Parliament%20Portrait.jpg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-12T07:42:26.920225Z", "created_at": "2024-04-12T07:41:59.979000Z", "data_removed": false, "error": null, "id": "rxyejxmn5drgg0cet50rvsdvvg", "input": { "color": "Blue", "image": "https://replicate.delivery/pbxt/KjVz3nb7dzIisvpppTGgIa4BbujzcT4L1O3EopEDYVJz0erH/Parliament%20Portrait.jpg" }, "logs": null, "metrics": { "predict_time": 3.880181, "total_time": 26.941225 }, "output": "https://replicate.delivery/pbxt/GcrmecZjJDwUcKwGaDi0fNUcIkfM33SrOcKa9rWDMLrDflmKB/out.png", "started_at": "2024-04-12T07:42:23.040044Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rxyejxmn5drgg0cet50rvsdvvg", "cancel": "https://api.replicate.com/v1/predictions/rxyejxmn5drgg0cet50rvsdvvg/cancel" }, "version": "f58bbe2f74a69ab8456e94d42a6674a03e5b0788b52f1edca4055a1ffd0d2367" }
Want to make some of these yourself?
Run this model