greeneryscenery / sheeps-control-v3
Sketch2Image
- Public
- 306 runs
-
T4
Prediction
greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51ID634mdwz3y5fc5ondnnf6c4ogv4StatusSucceededSourceWebHardware–Total durationCreatedInput
{ "text": "Bicycle, red", "image": "https://replicate.delivery/pbxt/IcTlGRfTZBiMUE8D9g5rgd0PQ7lgTQEEOqCjiRrF9JQAPTYl/125733.png" }
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 greeneryscenery/sheeps-control-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", { input: { text: "Bicycle, red", image: "https://replicate.delivery/pbxt/IcTlGRfTZBiMUE8D9g5rgd0PQ7lgTQEEOqCjiRrF9JQAPTYl/125733.png" } } ); // 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 greeneryscenery/sheeps-control-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", input={ "text": "Bicycle, red", "image": "https://replicate.delivery/pbxt/IcTlGRfTZBiMUE8D9g5rgd0PQ7lgTQEEOqCjiRrF9JQAPTYl/125733.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run greeneryscenery/sheeps-control-v3 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": "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", "input": { "text": "Bicycle, red", "image": "https://replicate.delivery/pbxt/IcTlGRfTZBiMUE8D9g5rgd0PQ7lgTQEEOqCjiRrF9JQAPTYl/125733.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-04-09T03:51:00.144623Z", "created_at": "2023-04-09T03:50:53.759462Z", "data_removed": false, "error": null, "id": "634mdwz3y5fc5ondnnf6c4ogv4", "input": { "text": "Bicycle, red", "image": "https://replicate.delivery/pbxt/IcTlGRfTZBiMUE8D9g5rgd0PQ7lgTQEEOqCjiRrF9JQAPTYl/125733.png" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:24, 1.27s/it]\n 10%|█ | 2/20 [00:01<00:11, 1.63it/s]\n 15%|█▌ | 3/20 [00:01<00:06, 2.51it/s]\n 20%|██ | 4/20 [00:01<00:04, 3.37it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 4.23it/s]\n 30%|███ | 6/20 [00:01<00:02, 4.98it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 5.55it/s]\n 40%|████ | 8/20 [00:02<00:01, 6.03it/s]\n 45%|████▌ | 9/20 [00:02<00:01, 6.39it/s]\n 50%|█████ | 10/20 [00:02<00:01, 6.45it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 6.51it/s]\n 60%|██████ | 12/20 [00:02<00:01, 6.56it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.43it/s]\n 70%|███████ | 14/20 [00:03<00:00, 6.39it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 6.69it/s]\n 80%|████████ | 16/20 [00:03<00:00, 6.90it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 6.64it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 6.68it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 6.53it/s]\n100%|██████████| 20/20 [00:04<00:00, 6.33it/s]\n100%|██████████| 20/20 [00:04<00:00, 4.92it/s]", "metrics": { "predict_time": 6.257913, "total_time": 6.385161 }, "output": "https://replicate.delivery/pbxt/WRjuO0UtbAJAPN68CToH1mG672BHPOzL6PkLfO7oqexjgefCB/upscaled.png", "started_at": "2023-04-09T03:50:53.886710Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/634mdwz3y5fc5ondnnf6c4ogv4", "cancel": "https://api.replicate.com/v1/predictions/634mdwz3y5fc5ondnnf6c4ogv4/cancel" }, "version": "2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:24, 1.27s/it] 10%|█ | 2/20 [00:01<00:11, 1.63it/s] 15%|█▌ | 3/20 [00:01<00:06, 2.51it/s] 20%|██ | 4/20 [00:01<00:04, 3.37it/s] 25%|██▌ | 5/20 [00:01<00:03, 4.23it/s] 30%|███ | 6/20 [00:01<00:02, 4.98it/s] 35%|███▌ | 7/20 [00:02<00:02, 5.55it/s] 40%|████ | 8/20 [00:02<00:01, 6.03it/s] 45%|████▌ | 9/20 [00:02<00:01, 6.39it/s] 50%|█████ | 10/20 [00:02<00:01, 6.45it/s] 55%|█████▌ | 11/20 [00:02<00:01, 6.51it/s] 60%|██████ | 12/20 [00:02<00:01, 6.56it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.43it/s] 70%|███████ | 14/20 [00:03<00:00, 6.39it/s] 75%|███████▌ | 15/20 [00:03<00:00, 6.69it/s] 80%|████████ | 16/20 [00:03<00:00, 6.90it/s] 85%|████████▌ | 17/20 [00:03<00:00, 6.64it/s] 90%|█████████ | 18/20 [00:03<00:00, 6.68it/s] 95%|█████████▌| 19/20 [00:03<00:00, 6.53it/s] 100%|██████████| 20/20 [00:04<00:00, 6.33it/s] 100%|██████████| 20/20 [00:04<00:00, 4.92it/s]
Prediction
greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51IDta6by34dnvfyforumw2re3lkbiStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "text": "Sheep, trending on artstation, artstationHD, artstationHQ, patreon, 4k, 8k", "image": "https://replicate.delivery/pbxt/IcTludQT7b76Xrw6dn81lHmrh5rkJ2Tvpeya37PVGUU7YDdB/61212.png" }
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 greeneryscenery/sheeps-control-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", { input: { text: "Sheep, trending on artstation, artstationHD, artstationHQ, patreon, 4k, 8k", image: "https://replicate.delivery/pbxt/IcTludQT7b76Xrw6dn81lHmrh5rkJ2Tvpeya37PVGUU7YDdB/61212.png" } } ); // 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 greeneryscenery/sheeps-control-v3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", input={ "text": "Sheep, trending on artstation, artstationHD, artstationHQ, patreon, 4k, 8k", "image": "https://replicate.delivery/pbxt/IcTludQT7b76Xrw6dn81lHmrh5rkJ2Tvpeya37PVGUU7YDdB/61212.png" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run greeneryscenery/sheeps-control-v3 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": "greeneryscenery/sheeps-control-v3:2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51", "input": { "text": "Sheep, trending on artstation, artstationHD, artstationHQ, patreon, 4k, 8k", "image": "https://replicate.delivery/pbxt/IcTludQT7b76Xrw6dn81lHmrh5rkJ2Tvpeya37PVGUU7YDdB/61212.png" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-04-09T03:51:40.675479Z", "created_at": "2023-04-09T03:51:34.008347Z", "data_removed": false, "error": null, "id": "ta6by34dnvfyforumw2re3lkbi", "input": { "text": "Sheep, trending on artstation, artstationHD, artstationHQ, patreon, 4k, 8k", "image": "https://replicate.delivery/pbxt/IcTludQT7b76Xrw6dn81lHmrh5rkJ2Tvpeya37PVGUU7YDdB/61212.png" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:01<00:22, 1.20s/it]\n 10%|█ | 2/20 [00:01<00:10, 1.65it/s]\n 15%|█▌ | 3/20 [00:01<00:06, 2.47it/s]\n 20%|██ | 4/20 [00:01<00:05, 3.19it/s]\n 25%|██▌ | 5/20 [00:01<00:03, 3.75it/s]\n 30%|███ | 6/20 [00:02<00:03, 4.23it/s]\n 35%|███▌ | 7/20 [00:02<00:02, 4.62it/s]\n 40%|████ | 8/20 [00:02<00:02, 5.05it/s]\n 45%|████▌ | 9/20 [00:02<00:02, 5.45it/s]\n 50%|█████ | 10/20 [00:02<00:01, 5.76it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 5.85it/s]\n 60%|██████ | 12/20 [00:03<00:01, 6.03it/s]\n 65%|██████▌ | 13/20 [00:03<00:01, 6.24it/s]\n 70%|███████ | 14/20 [00:03<00:00, 6.16it/s]\n 75%|███████▌ | 15/20 [00:03<00:00, 6.22it/s]\n 80%|████████ | 16/20 [00:03<00:00, 6.02it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 6.01it/s]\n 90%|█████████ | 18/20 [00:04<00:00, 6.10it/s]\n 95%|█████████▌| 19/20 [00:04<00:00, 6.35it/s]\n100%|██████████| 20/20 [00:04<00:00, 6.22it/s]\n100%|██████████| 20/20 [00:04<00:00, 4.62it/s]", "metrics": { "predict_time": 6.544354, "total_time": 6.667132 }, "output": "https://replicate.delivery/pbxt/lFoSJfK5Er1BIikS8TYE8F1o1Iwt1Lpvld7tNn9OdvYmQfvQA/upscaled.png", "started_at": "2023-04-09T03:51:34.131125Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ta6by34dnvfyforumw2re3lkbi", "cancel": "https://api.replicate.com/v1/predictions/ta6by34dnvfyforumw2re3lkbi/cancel" }, "version": "2c9cdfc4e64142451ad71932a6e513bcc725012598e75d374867f71e2b53ff51" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:01<00:22, 1.20s/it] 10%|█ | 2/20 [00:01<00:10, 1.65it/s] 15%|█▌ | 3/20 [00:01<00:06, 2.47it/s] 20%|██ | 4/20 [00:01<00:05, 3.19it/s] 25%|██▌ | 5/20 [00:01<00:03, 3.75it/s] 30%|███ | 6/20 [00:02<00:03, 4.23it/s] 35%|███▌ | 7/20 [00:02<00:02, 4.62it/s] 40%|████ | 8/20 [00:02<00:02, 5.05it/s] 45%|████▌ | 9/20 [00:02<00:02, 5.45it/s] 50%|█████ | 10/20 [00:02<00:01, 5.76it/s] 55%|█████▌ | 11/20 [00:02<00:01, 5.85it/s] 60%|██████ | 12/20 [00:03<00:01, 6.03it/s] 65%|██████▌ | 13/20 [00:03<00:01, 6.24it/s] 70%|███████ | 14/20 [00:03<00:00, 6.16it/s] 75%|███████▌ | 15/20 [00:03<00:00, 6.22it/s] 80%|████████ | 16/20 [00:03<00:00, 6.02it/s] 85%|████████▌ | 17/20 [00:03<00:00, 6.01it/s] 90%|█████████ | 18/20 [00:04<00:00, 6.10it/s] 95%|█████████▌| 19/20 [00:04<00:00, 6.35it/s] 100%|██████████| 20/20 [00:04<00:00, 6.22it/s] 100%|██████████| 20/20 [00:04<00:00, 4.62it/s]
Want to make some of these yourself?
Run this model