arielreplicate / instruct-pix2pix
Edit images with human instructions
Prediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430ID575a5ox5bbchnmqywcrqqurkveStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 123, "cfg_text": 10, "cfg_image": 1, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjWntM4YzpGruku4IwWleEHQPRWXy136G7LZdP6gjlHsuFq/2.jpg", "instruction_text": "Turn the humans into robots" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 123, cfg_text: 10, cfg_image: 1, resolution: 768, input_image: "https://replicate.delivery/pbxt/IAjWntM4YzpGruku4IwWleEHQPRWXy136G7LZdP6gjlHsuFq/2.jpg", instruction_text: "Turn the humans into robots" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 123, "cfg_text": 10, "cfg_image": 1, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjWntM4YzpGruku4IwWleEHQPRWXy136G7LZdP6gjlHsuFq/2.jpg", "instruction_text": "Turn the humans into robots" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 123, "cfg_text": 10, "cfg_image": 1, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjWntM4YzpGruku4IwWleEHQPRWXy136G7LZdP6gjlHsuFq/2.jpg", "instruction_text": "Turn the humans into robots" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:34:49.576622Z", "created_at": "2023-01-23T20:34:37.070908Z", "data_removed": false, "error": null, "id": "575a5ox5bbchnmqywcrqqurkve", "input": { "seed": 123, "cfg_text": 10, "cfg_image": 1, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjWntM4YzpGruku4IwWleEHQPRWXy136G7LZdP6gjlHsuFq/2.jpg", "instruction_text": "Turn the humans into robots" }, "logs": null, "metrics": { "predict_time": 12.461005, "total_time": 12.505714 }, "output": "https://replicate.delivery/pbxt/GpmLhp8MkgohNFCi3RmhCruPysCBKFnR670Wu7u9MDZahyFE/output.jpg", "started_at": "2023-01-23T20:34:37.115617Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/575a5ox5bbchnmqywcrqqurkve", "cancel": "https://api.replicate.com/v1/predictions/575a5ox5bbchnmqywcrqqurkve/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDenznx6pxurdmtkxuk4yyi47rwqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjRPf48MHoMUahTTIMX5xy1Zo1QO3CMMpo8tnzSpMA0aYJZ/1.webp", "instruction_text": "make it Minecraft" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { cfg_text: 7.5, cfg_image: 1.5, resolution: 768, input_image: "https://replicate.delivery/pbxt/IAjRPf48MHoMUahTTIMX5xy1Zo1QO3CMMpo8tnzSpMA0aYJZ/1.webp", instruction_text: "make it Minecraft" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjRPf48MHoMUahTTIMX5xy1Zo1QO3CMMpo8tnzSpMA0aYJZ/1.webp", "instruction_text": "make it Minecraft" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjRPf48MHoMUahTTIMX5xy1Zo1QO3CMMpo8tnzSpMA0aYJZ/1.webp", "instruction_text": "make it Minecraft" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:36:28.039824Z", "created_at": "2023-01-23T20:36:15.503510Z", "data_removed": false, "error": null, "id": "enznx6pxurdmtkxuk4yyi47rwq", "input": { "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 768, "input_image": "https://replicate.delivery/pbxt/IAjRPf48MHoMUahTTIMX5xy1Zo1QO3CMMpo8tnzSpMA0aYJZ/1.webp", "instruction_text": "make it Minecraft" }, "logs": null, "metrics": { "predict_time": 12.49284, "total_time": 12.536314 }, "output": "https://replicate.delivery/pbxt/vm5xhCo8KT5jHxQjNfNFUtJ6VXJAdjUM3p2bYS1Wl9jlDlLIA/output.jpg", "started_at": "2023-01-23T20:36:15.546984Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/enznx6pxurdmtkxuk4yyi47rwq", "cancel": "https://api.replicate.com/v1/predictions/enznx6pxurdmtkxuk4yyi47rwq/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDwyellpifsjhj5efmfreeop5pmqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjwUuoQU5Q5FnCp8hsFe06lezCmvooSdj8THrDlXGZolggP/Screenshot%20from%202023-01-21%2002-16-36.png", "instruction_text": "turn it into a 3d model" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 1, cfg_text: 7.5, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IAjwUuoQU5Q5FnCp8hsFe06lezCmvooSdj8THrDlXGZolggP/Screenshot%20from%202023-01-21%2002-16-36.png", instruction_text: "turn it into a 3d model" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjwUuoQU5Q5FnCp8hsFe06lezCmvooSdj8THrDlXGZolggP/Screenshot%20from%202023-01-21%2002-16-36.png", "instruction_text": "turn it into a 3d model" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjwUuoQU5Q5FnCp8hsFe06lezCmvooSdj8THrDlXGZolggP/Screenshot%20from%202023-01-21%2002-16-36.png", "instruction_text": "turn it into a 3d model" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:39:04.248973Z", "created_at": "2023-01-23T20:38:54.636399Z", "data_removed": false, "error": null, "id": "wyellpifsjhj5efmfreeop5pmq", "input": { "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjwUuoQU5Q5FnCp8hsFe06lezCmvooSdj8THrDlXGZolggP/Screenshot%20from%202023-01-21%2002-16-36.png", "instruction_text": "turn it into a 3d model" }, "logs": null, "metrics": { "predict_time": 9.570979, "total_time": 9.612574 }, "output": "https://replicate.delivery/pbxt/A2Yd4Jh4VFIAE9caz4bU1GJwv2ctz9EmLv9ssz3FYeO0ElLIA/output.jpg", "started_at": "2023-01-23T20:38:54.677994Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wyellpifsjhj5efmfreeop5pmq", "cancel": "https://api.replicate.com/v1/predictions/wyellpifsjhj5efmfreeop5pmq/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDbnx6camn3jekxasfqikyzdgph4StatusSucceededSourceWebHardware–Total durationCreatedInput
- seed
- 1
- cfg_text
- 7.5
- cfg_image
- 1.5
- resolution
- 512
- instruction_text
- Turn it into a still from a western
{ "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjkSZMZXkXhwLQx5qbzj4V3365FivHa3bF9jl0Oy9vWXWNC/Screenshot%20from%202023-01-21%2002-03-35.png", "instruction_text": "Turn it into a still from a western" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 1, cfg_text: 7.5, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IAjkSZMZXkXhwLQx5qbzj4V3365FivHa3bF9jl0Oy9vWXWNC/Screenshot%20from%202023-01-21%2002-03-35.png", instruction_text: "Turn it into a still from a western" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjkSZMZXkXhwLQx5qbzj4V3365FivHa3bF9jl0Oy9vWXWNC/Screenshot%20from%202023-01-21%2002-03-35.png", "instruction_text": "Turn it into a still from a western" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjkSZMZXkXhwLQx5qbzj4V3365FivHa3bF9jl0Oy9vWXWNC/Screenshot%20from%202023-01-21%2002-03-35.png", "instruction_text": "Turn it into a still from a western" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:41:23.363028Z", "created_at": "2023-01-23T20:41:14.204090Z", "data_removed": false, "error": null, "id": "bnx6camn3jekxasfqikyzdgph4", "input": { "seed": 1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IAjkSZMZXkXhwLQx5qbzj4V3365FivHa3bF9jl0Oy9vWXWNC/Screenshot%20from%202023-01-21%2002-03-35.png", "instruction_text": "Turn it into a still from a western" }, "logs": null, "metrics": { "predict_time": 9.105598, "total_time": 9.158938 }, "output": "https://replicate.delivery/pbxt/lfzzurxn8UQCSCzs5j905pfcm4zxPeOPnhJpcrS5BUsmXUugA/output.jpg", "started_at": "2023-01-23T20:41:14.257430Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bnx6camn3jekxasfqikyzdgph4", "cancel": "https://api.replicate.com/v1/predictions/bnx6camn3jekxasfqikyzdgph4/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430ID3vzwvo73pzbqjddo2xerxd763uStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 123, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkht3OO2CpYIbqDHdY6669ojdTQ5OQAa0vZlwdLcuAT2XUG/Screenshot%20from%202023-01-23%2022-22-27.png", "instruction_text": "Swap sunflower with roses" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 123, cfg_text: 7.5, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBkht3OO2CpYIbqDHdY6669ojdTQ5OQAa0vZlwdLcuAT2XUG/Screenshot%20from%202023-01-23%2022-22-27.png", instruction_text: "Swap sunflower with roses" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 123, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkht3OO2CpYIbqDHdY6669ojdTQ5OQAa0vZlwdLcuAT2XUG/Screenshot%20from%202023-01-23%2022-22-27.png", "instruction_text": "Swap sunflower with roses" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 123, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkht3OO2CpYIbqDHdY6669ojdTQ5OQAa0vZlwdLcuAT2XUG/Screenshot%20from%202023-01-23%2022-22-27.png", "instruction_text": "Swap sunflower with roses" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:45:49.274705Z", "created_at": "2023-01-23T20:45:04.855805Z", "data_removed": false, "error": null, "id": "3vzwvo73pzbqjddo2xerxd763u", "input": { "seed": 123, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkht3OO2CpYIbqDHdY6669ojdTQ5OQAa0vZlwdLcuAT2XUG/Screenshot%20from%202023-01-23%2022-22-27.png", "instruction_text": "Swap sunflower with roses" }, "logs": null, "metrics": { "predict_time": 10.782876, "total_time": 44.4189 }, "output": "https://replicate.delivery/pbxt/1uKLqMPVFnYiMtpgvre1Z12NfvoQfvaZe51eI4ho3i4ofjyFE/output.jpg", "started_at": "2023-01-23T20:45:38.491829Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3vzwvo73pzbqjddo2xerxd763u", "cancel": "https://api.replicate.com/v1/predictions/3vzwvo73pzbqjddo2xerxd763u/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDfpegsqc7jfcdpicrgcmpp26ipmStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 1, "cfg_text": 10, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkhkcNxDr5lX6mObYrKVdR3Ys3D90QFgx0Oq4zxq3mo9TFh/Screenshot%20from%202023-01-23%2022-22-21.png", "instruction_text": "Add fireworks to the sky" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 1, cfg_text: 10, cfg_image: 1, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBkhkcNxDr5lX6mObYrKVdR3Ys3D90QFgx0Oq4zxq3mo9TFh/Screenshot%20from%202023-01-23%2022-22-21.png", instruction_text: "Add fireworks to the sky" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 1, "cfg_text": 10, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkhkcNxDr5lX6mObYrKVdR3Ys3D90QFgx0Oq4zxq3mo9TFh/Screenshot%20from%202023-01-23%2022-22-21.png", "instruction_text": "Add fireworks to the sky" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 1, "cfg_text": 10, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkhkcNxDr5lX6mObYrKVdR3Ys3D90QFgx0Oq4zxq3mo9TFh/Screenshot%20from%202023-01-23%2022-22-21.png", "instruction_text": "Add fireworks to the sky" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:45:30.456312Z", "created_at": "2023-01-23T20:44:56.001067Z", "data_removed": false, "error": null, "id": "fpegsqc7jfcdpicrgcmpp26ipm", "input": { "seed": 1, "cfg_text": 10, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkhkcNxDr5lX6mObYrKVdR3Ys3D90QFgx0Oq4zxq3mo9TFh/Screenshot%20from%202023-01-23%2022-22-21.png", "instruction_text": "Add fireworks to the sky" }, "logs": null, "metrics": { "predict_time": 8.715482, "total_time": 34.455245 }, "output": "https://replicate.delivery/pbxt/sO2ESvIU0WayFF8Y9Ax9WKVBTtT03b9T0TVXo1EA5qv6jyFE/output.jpg", "started_at": "2023-01-23T20:45:21.740830Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/fpegsqc7jfcdpicrgcmpp26ipm", "cancel": "https://api.replicate.com/v1/predictions/fpegsqc7jfcdpicrgcmpp26ipm/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDdghsg4kjkfhnjgmclu6nhuqzjiStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 123, "cfg_text": 12, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkkNotFRyk6ZjgXtzmkMQpdkOdQ8z87Ac4LH7ZamhWmT7hg/Screenshot%20from%202023-01-23%2022-22-42.png", "instruction_text": "Replace the fruits with a cake" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 123, cfg_text: 12, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBkkNotFRyk6ZjgXtzmkMQpdkOdQ8z87Ac4LH7ZamhWmT7hg/Screenshot%20from%202023-01-23%2022-22-42.png", instruction_text: "Replace the fruits with a cake" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 123, "cfg_text": 12, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkkNotFRyk6ZjgXtzmkMQpdkOdQ8z87Ac4LH7ZamhWmT7hg/Screenshot%20from%202023-01-23%2022-22-42.png", "instruction_text": "Replace the fruits with a cake" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 123, "cfg_text": 12, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkkNotFRyk6ZjgXtzmkMQpdkOdQ8z87Ac4LH7ZamhWmT7hg/Screenshot%20from%202023-01-23%2022-22-42.png", "instruction_text": "Replace the fruits with a cake" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:47:51.671836Z", "created_at": "2023-01-23T20:47:42.611752Z", "data_removed": false, "error": null, "id": "dghsg4kjkfhnjgmclu6nhuqzji", "input": { "seed": 123, "cfg_text": 12, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkkNotFRyk6ZjgXtzmkMQpdkOdQ8z87Ac4LH7ZamhWmT7hg/Screenshot%20from%202023-01-23%2022-22-42.png", "instruction_text": "Replace the fruits with a cake" }, "logs": null, "metrics": { "predict_time": 9.016867, "total_time": 9.060084 }, "output": "https://replicate.delivery/pbxt/mDxzt42L9K6UK9e7vNrH9SrUVn3vEDNsgJUgL2020fy3RKXQA/output.jpg", "started_at": "2023-01-23T20:47:42.654969Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dghsg4kjkfhnjgmclu6nhuqzji", "cancel": "https://api.replicate.com/v1/predictions/dghsg4kjkfhnjgmclu6nhuqzji/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDbuladawu45dubb7iito27w7ofyStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.2, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBklK64H3TVuGa6fXWW27kaQjp8cv9sBcFMfAqkQU8szqEkn/example.jpg", "instruction_text": "Turn him into a cyborg" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 87870, cfg_text: 7.5, cfg_image: 1.2, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBklK64H3TVuGa6fXWW27kaQjp8cv9sBcFMfAqkQU8szqEkn/example.jpg", instruction_text: "Turn him into a cyborg" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.2, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBklK64H3TVuGa6fXWW27kaQjp8cv9sBcFMfAqkQU8szqEkn/example.jpg", "instruction_text": "Turn him into a cyborg" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.2, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBklK64H3TVuGa6fXWW27kaQjp8cv9sBcFMfAqkQU8szqEkn/example.jpg", "instruction_text": "Turn him into a cyborg" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:48:51.940515Z", "created_at": "2023-01-23T20:48:41.902758Z", "data_removed": false, "error": null, "id": "buladawu45dubb7iito27w7ofy", "input": { "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.2, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBklK64H3TVuGa6fXWW27kaQjp8cv9sBcFMfAqkQU8szqEkn/example.jpg", "instruction_text": "Turn him into a cyborg" }, "logs": null, "metrics": { "predict_time": 9.988164, "total_time": 10.037757 }, "output": "https://replicate.delivery/pbxt/GLy9JdCsbpYMDhVWX89QM9Xcg42cBfbXKV43xgZfEMPzSKXQA/output.jpg", "started_at": "2023-01-23T20:48:41.952351Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/buladawu45dubb7iito27w7ofy", "cancel": "https://api.replicate.com/v1/predictions/buladawu45dubb7iito27w7ofy/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDys3ktbu6vzcvhecr55esotsqdqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": -1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkrNiiR02A8uLlGzKkTSmrH3GgJYRWjXjslBzgVr5NA6b4C/1665_Girl_with_a_Pearl_Earring.jpg", "instruction_text": "Give her a beard" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: -1, cfg_text: 7.5, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBkrNiiR02A8uLlGzKkTSmrH3GgJYRWjXjslBzgVr5NA6b4C/1665_Girl_with_a_Pearl_Earring.jpg", instruction_text: "Give her a beard" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": -1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkrNiiR02A8uLlGzKkTSmrH3GgJYRWjXjslBzgVr5NA6b4C/1665_Girl_with_a_Pearl_Earring.jpg", "instruction_text": "Give her a beard" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": -1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkrNiiR02A8uLlGzKkTSmrH3GgJYRWjXjslBzgVr5NA6b4C/1665_Girl_with_a_Pearl_Earring.jpg", "instruction_text": "Give her a beard" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-23T20:55:15.772252Z", "created_at": "2023-01-23T20:55:05.830289Z", "data_removed": false, "error": null, "id": "ys3ktbu6vzcvhecr55esotsqdq", "input": { "seed": -1, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBkrNiiR02A8uLlGzKkTSmrH3GgJYRWjXjslBzgVr5NA6b4C/1665_Girl_with_a_Pearl_Earring.jpg", "instruction_text": "Give her a beard" }, "logs": null, "metrics": { "predict_time": 9.896651, "total_time": 9.941963 }, "output": "https://replicate.delivery/pbxt/ObMUjRlS0rJcNREmNybbqfZSalxLIGV3THeZf7fnfTXYGT5CC/output.jpg", "started_at": "2023-01-23T20:55:05.875601Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ys3ktbu6vzcvhecr55esotsqdq", "cancel": "https://api.replicate.com/v1/predictions/ys3ktbu6vzcvhecr55esotsqdq/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430IDedg57puf65edvfzah2mtyc544eStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 0, "cfg_text": 15, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNRwAfF300G5uRCESUsqAjXIVOVEqg2ZhFLiYcru6Kg9mm/1.webp", "instruction_text": "Give him a beard" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 0, cfg_text: 15, cfg_image: 1, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBuNRwAfF300G5uRCESUsqAjXIVOVEqg2ZhFLiYcru6Kg9mm/1.webp", instruction_text: "Give him a beard" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 0, "cfg_text": 15, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNRwAfF300G5uRCESUsqAjXIVOVEqg2ZhFLiYcru6Kg9mm/1.webp", "instruction_text": "Give him a beard" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 0, "cfg_text": 15, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNRwAfF300G5uRCESUsqAjXIVOVEqg2ZhFLiYcru6Kg9mm/1.webp", "instruction_text": "Give him a beard" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-24T07:18:09.806192Z", "created_at": "2023-01-24T07:17:49.573399Z", "data_removed": false, "error": null, "id": "edg57puf65edvfzah2mtyc544e", "input": { "seed": 0, "cfg_text": 15, "cfg_image": 1, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNRwAfF300G5uRCESUsqAjXIVOVEqg2ZhFLiYcru6Kg9mm/1.webp", "instruction_text": "Give him a beard" }, "logs": null, "metrics": { "predict_time": 10.088773, "total_time": 20.232793 }, "output": "https://replicate.delivery/pbxt/qdfdm5n4pEx9YyshUDaalGdAz04YxS4YFPkB05oepW0xgTXQA/output.jpg", "started_at": "2023-01-24T07:17:59.717419Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/edg57puf65edvfzah2mtyc544e", "cancel": "https://api.replicate.com/v1/predictions/edg57puf65edvfzah2mtyc544e/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated inPrediction
arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430ID7hwit4pcsjc7tgr7chplbajw6qStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNbOm1HvAsatj4vgoGiqrAoUd8whnKAOTymyadCZgTFSCZ/David-Bowie-Ziggy-Stardust.jpg", "instruction_text": "Turn him into an alien" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", { input: { seed: 87870, cfg_text: 7.5, cfg_image: 1.5, resolution: 512, input_image: "https://replicate.delivery/pbxt/IBuNbOm1HvAsatj4vgoGiqrAoUd8whnKAOTymyadCZgTFSCZ/David-Bowie-Ziggy-Stardust.jpg", instruction_text: "Turn him into an alien" } } ); // 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 arielreplicate/instruct-pix2pix using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", input={ "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNbOm1HvAsatj4vgoGiqrAoUd8whnKAOTymyadCZgTFSCZ/David-Bowie-Ziggy-Stardust.jpg", "instruction_text": "Turn him into an alien" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/instruct-pix2pix 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": "arielreplicate/instruct-pix2pix:10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430", "input": { "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNbOm1HvAsatj4vgoGiqrAoUd8whnKAOTymyadCZgTFSCZ/David-Bowie-Ziggy-Stardust.jpg", "instruction_text": "Turn him into an alien" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-01-24T07:18:19.137001Z", "created_at": "2023-01-24T07:17:59.527020Z", "data_removed": false, "error": null, "id": "7hwit4pcsjc7tgr7chplbajw6q", "input": { "seed": 87870, "cfg_text": 7.5, "cfg_image": 1.5, "resolution": 512, "input_image": "https://replicate.delivery/pbxt/IBuNbOm1HvAsatj4vgoGiqrAoUd8whnKAOTymyadCZgTFSCZ/David-Bowie-Ziggy-Stardust.jpg", "instruction_text": "Turn him into an alien" }, "logs": null, "metrics": { "predict_time": 9.252373, "total_time": 19.609981 }, "output": "https://replicate.delivery/pbxt/Kd7hbYofeeXl0pdiWgvWeTxxiTNt4siBMSuo1n9mgfCRHc6CC/output.jpg", "started_at": "2023-01-24T07:18:09.884628Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7hwit4pcsjc7tgr7chplbajw6q", "cancel": "https://api.replicate.com/v1/predictions/7hwit4pcsjc7tgr7chplbajw6q/cancel" }, "version": "10e63b0e6361eb23a0374f4d9ee145824d9d09f7a31dcd70803193ebc7121430" }
Generated in
Want to make some of these yourself?
Run this model