arielreplicate / paella_fast_outpainting
Fast image outpainting model
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDxspouuepindtbmyfscl4tadrwaStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "prompt": "A dog in the park", "input_image": "https://replicate.delivery/pbxt/Hvo3ScWGwFyARVQa7EQriuagazgfR5k9Ymj3zKTovbmpIsms/WelshCorgi.jpeg", "input_location": "0.5,0.5", "output_relative_size": "1.5,1.5" }
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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A dog in the park", input_image: "https://replicate.delivery/pbxt/Hvo3ScWGwFyARVQa7EQriuagazgfR5k9Ymj3zKTovbmpIsms/WelshCorgi.jpeg", input_location: "0.5,0.5", output_relative_size: "1.5,1.5" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A dog in the park", "input_image": "https://replicate.delivery/pbxt/Hvo3ScWGwFyARVQa7EQriuagazgfR5k9Ymj3zKTovbmpIsms/WelshCorgi.jpeg", "input_location": "0.5,0.5", "output_relative_size": "1.5,1.5" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A dog in the park", "input_image": "https://replicate.delivery/pbxt/Hvo3ScWGwFyARVQa7EQriuagazgfR5k9Ymj3zKTovbmpIsms/WelshCorgi.jpeg", "input_location": "0.5,0.5", "output_relative_size": "1.5,1.5" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:34:46.451074Z", "created_at": "2022-12-09T22:34:44.802620Z", "data_removed": false, "error": null, "id": "xspouuepindtbmyfscl4tadrwa", "input": { "prompt": "A dog in the park", "input_image": "https://replicate.delivery/pbxt/Hvo3ScWGwFyARVQa7EQriuagazgfR5k9Ymj3zKTovbmpIsms/WelshCorgi.jpeg", "input_location": "0.5,0.5", "output_relative_size": "1.5,1.5" }, "logs": "(46, 37) (72, 56) (36, 28) (13, 10)", "metrics": { "predict_time": 1.608512, "total_time": 1.648454 }, "output": [ "https://replicate.delivery/pbxt/X7xkWtvBYca4Fl7mXEIPZUghLHZleMGmTqHzdZ4M3lUDULEIA/output-0.png" ], "started_at": "2022-12-09T22:34:44.842562Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xspouuepindtbmyfscl4tadrwa", "cancel": "https://api.replicate.com/v1/predictions/xspouuepindtbmyfscl4tadrwa/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDov2kc3tkgbau7jdyivfbvqshvqStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "prompt": "A painting of two farmers", "input_image": "https://replicate.delivery/pbxt/Hvo559nLk8MffjXAJ26lq0cUVERNT0ix8mAcwVkNOoUdDauA/farmers.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,1.25" }
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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A painting of two farmers", input_image: "https://replicate.delivery/pbxt/Hvo559nLk8MffjXAJ26lq0cUVERNT0ix8mAcwVkNOoUdDauA/farmers.jpg", input_location: "0.5,0.5", output_relative_size: "1.25,1.25" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A painting of two farmers", "input_image": "https://replicate.delivery/pbxt/Hvo559nLk8MffjXAJ26lq0cUVERNT0ix8mAcwVkNOoUdDauA/farmers.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,1.25" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A painting of two farmers", "input_image": "https://replicate.delivery/pbxt/Hvo559nLk8MffjXAJ26lq0cUVERNT0ix8mAcwVkNOoUdDauA/farmers.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,1.25" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:36:30.889832Z", "created_at": "2022-12-09T22:36:27.986882Z", "data_removed": false, "error": null, "id": "ov2kc3tkgbau7jdyivfbvqshvq", "input": { "prompt": "A painting of two farmers", "input_image": "https://replicate.delivery/pbxt/Hvo559nLk8MffjXAJ26lq0cUVERNT0ix8mAcwVkNOoUdDauA/farmers.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,1.25" }, "logs": "(66, 100) (88, 128) (44, 64) (11, 14)", "metrics": { "predict_time": 2.869568, "total_time": 2.90295 }, "output": [ "https://replicate.delivery/pbxt/sHJBSChSiJpiEdyfMj7dBRIZT6gUz99iHRrgsAHzE5B3ULEIA/output-0.png" ], "started_at": "2022-12-09T22:36:28.020264Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ov2kc3tkgbau7jdyivfbvqshvq", "cancel": "https://api.replicate.com/v1/predictions/ov2kc3tkgbau7jdyivfbvqshvq/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDuznc225fgbeafjuuaqvsil6jnaStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "prompt": "A teacher holding a notebook", "input_image": "https://replicate.delivery/pbxt/Hvo6TmEAsU7ASvSEOg6pZTW2VkIa2NVnZXYs62XfaKAyIW4R/00019.png", "input_location": "0.1,0.5", "output_relative_size": "3,1.5" }
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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A teacher holding a notebook", input_image: "https://replicate.delivery/pbxt/Hvo6TmEAsU7ASvSEOg6pZTW2VkIa2NVnZXYs62XfaKAyIW4R/00019.png", input_location: "0.1,0.5", output_relative_size: "3,1.5" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A teacher holding a notebook", "input_image": "https://replicate.delivery/pbxt/Hvo6TmEAsU7ASvSEOg6pZTW2VkIa2NVnZXYs62XfaKAyIW4R/00019.png", "input_location": "0.1,0.5", "output_relative_size": "3,1.5" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A teacher holding a notebook", "input_image": "https://replicate.delivery/pbxt/Hvo6TmEAsU7ASvSEOg6pZTW2VkIa2NVnZXYs62XfaKAyIW4R/00019.png", "input_location": "0.1,0.5", "output_relative_size": "3,1.5" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:37:56.973901Z", "created_at": "2022-12-09T22:37:55.439401Z", "data_removed": false, "error": null, "id": "uznc225fgbeafjuuaqvsil6jna", "input": { "prompt": "A teacher holding a notebook", "input_image": "https://replicate.delivery/pbxt/Hvo6TmEAsU7ASvSEOg6pZTW2VkIa2NVnZXYs62XfaKAyIW4R/00019.png", "input_location": "0.1,0.5", "output_relative_size": "3,1.5" }, "logs": "(16, 16) (48, 24) (4, 12) (0, 4)", "metrics": { "predict_time": 1.492784, "total_time": 1.5345 }, "output": [ "https://replicate.delivery/pbxt/zrecCTNCSfsBM0roQfYjh2Y1R15n3zfLRpwCBSCOSJhSsahAB/output-0.png" ], "started_at": "2022-12-09T22:37:55.481117Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uznc225fgbeafjuuaqvsil6jna", "cancel": "https://api.replicate.com/v1/predictions/uznc225fgbeafjuuaqvsil6jna/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDlxhrdog7kjgn7i5v755sd24t2qStatusSucceededSourceWebHardware–Total durationCreatedInput
{ "prompt": "A man with a very long beard", "input_image": "https://replicate.delivery/pbxt/Hvo8UZlcOEJ1ZIK9oI1Sqi1veWIgz21v2S94eWK5fw5XQORa/00157.png", "input_location": "0.1,0.5", "output_relative_size": "2,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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A man with a very long beard", input_image: "https://replicate.delivery/pbxt/Hvo8UZlcOEJ1ZIK9oI1Sqi1veWIgz21v2S94eWK5fw5XQORa/00157.png", input_location: "0.1,0.5", output_relative_size: "2,1" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A man with a very long beard", "input_image": "https://replicate.delivery/pbxt/Hvo8UZlcOEJ1ZIK9oI1Sqi1veWIgz21v2S94eWK5fw5XQORa/00157.png", "input_location": "0.1,0.5", "output_relative_size": "2,1" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A man with a very long beard", "input_image": "https://replicate.delivery/pbxt/Hvo8UZlcOEJ1ZIK9oI1Sqi1veWIgz21v2S94eWK5fw5XQORa/00157.png", "input_location": "0.1,0.5", "output_relative_size": "2,1" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:40:04.700438Z", "created_at": "2022-12-09T22:40:03.201025Z", "data_removed": false, "error": null, "id": "lxhrdog7kjgn7i5v755sd24t2q", "input": { "prompt": "A man with a very long beard", "input_image": "https://replicate.delivery/pbxt/Hvo8UZlcOEJ1ZIK9oI1Sqi1veWIgz21v2S94eWK5fw5XQORa/00157.png", "input_location": "0.1,0.5", "output_relative_size": "2,1" }, "logs": "(16, 16) (32, 24) (3, 12) (0, 4)", "metrics": { "predict_time": 1.462077, "total_time": 1.499413 }, "output": [ "https://replicate.delivery/pbxt/7AY7VpZffOniV0eHYzJQeufhVFp0WgyKf4eWndlJ97hXiWLEIA/output-0.png" ], "started_at": "2022-12-09T22:40:03.238361Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/lxhrdog7kjgn7i5v755sd24t2q", "cancel": "https://api.replicate.com/v1/predictions/lxhrdog7kjgn7i5v755sd24t2q/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDk2vfxcstczbchmg42dexxdahomStatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- A photo of an old man and an old woman
- input_location
- 0.1,0.75
- output_relative_size
- 1,2
{ "prompt": "A photo of an old man and an old woman", "input_image": "https://replicate.delivery/pbxt/Hvo9ZcgQEvn7GAXxueaQhWaDAiyn1QXEKaif0qZDD83mh6O7/00283.png", "input_location": "0.1,0.75", "output_relative_size": "1,2" }
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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A photo of an old man and an old woman", input_image: "https://replicate.delivery/pbxt/Hvo9ZcgQEvn7GAXxueaQhWaDAiyn1QXEKaif0qZDD83mh6O7/00283.png", input_location: "0.1,0.75", output_relative_size: "1,2" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A photo of an old man and an old woman", "input_image": "https://replicate.delivery/pbxt/Hvo9ZcgQEvn7GAXxueaQhWaDAiyn1QXEKaif0qZDD83mh6O7/00283.png", "input_location": "0.1,0.75", "output_relative_size": "1,2" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A photo of an old man and an old woman", "input_image": "https://replicate.delivery/pbxt/Hvo9ZcgQEvn7GAXxueaQhWaDAiyn1QXEKaif0qZDD83mh6O7/00283.png", "input_location": "0.1,0.75", "output_relative_size": "1,2" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:41:12.778481Z", "created_at": "2022-12-09T22:41:11.295661Z", "data_removed": false, "error": null, "id": "k2vfxcstczbchmg42dexxdahom", "input": { "prompt": "A photo of an old man and an old woman", "input_image": "https://replicate.delivery/pbxt/Hvo9ZcgQEvn7GAXxueaQhWaDAiyn1QXEKaif0qZDD83mh6O7/00283.png", "input_location": "0.1,0.75", "output_relative_size": "1,2" }, "logs": "(16, 16) (24, 32) (2, 24) (0, 16)", "metrics": { "predict_time": 1.441195, "total_time": 1.48282 }, "output": [ "https://replicate.delivery/pbxt/NtUXioBUH6pJJ5jYoIM9WPGD8aba8MtB9Q4wy8v1atKirFCE/output-0.png" ], "started_at": "2022-12-09T22:41:11.337286Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/k2vfxcstczbchmg42dexxdahom", "cancel": "https://api.replicate.com/v1/predictions/k2vfxcstczbchmg42dexxdahom/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Prediction
arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73IDqs3awzyfavcpziedo4ckg53xqmStatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- A photo of happy people having dinner
- input_location
- 0.5,0.5
- output_relative_size
- 1.25,2
{ "prompt": "A photo of happy people having dinner", "input_image": "https://replicate.delivery/pbxt/Hvo79jIFyaM7sZYIN7XyjzBe2guDp4GpBgLPKLgjh64aVglQ/supper.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,2" }
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 arielreplicate/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", { input: { prompt: "A photo of happy people having dinner", input_image: "https://replicate.delivery/pbxt/Hvo79jIFyaM7sZYIN7XyjzBe2guDp4GpBgLPKLgjh64aVglQ/supper.jpg", input_location: "0.5,0.5", output_relative_size: "1.25,2" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
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/paella_fast_outpainting using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", input={ "prompt": "A photo of happy people having dinner", "input_image": "https://replicate.delivery/pbxt/Hvo79jIFyaM7sZYIN7XyjzBe2guDp4GpBgLPKLgjh64aVglQ/supper.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,2" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_outpainting 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/paella_fast_outpainting:2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73", "input": { "prompt": "A photo of happy people having dinner", "input_image": "https://replicate.delivery/pbxt/Hvo79jIFyaM7sZYIN7XyjzBe2guDp4GpBgLPKLgjh64aVglQ/supper.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,2" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T22:41:42.729700Z", "created_at": "2022-12-09T22:41:40.198649Z", "data_removed": false, "error": null, "id": "qs3awzyfavcpziedo4ckg53xqm", "input": { "prompt": "A photo of happy people having dinner", "input_image": "https://replicate.delivery/pbxt/Hvo79jIFyaM7sZYIN7XyjzBe2guDp4GpBgLPKLgjh64aVglQ/supper.jpg", "input_location": "0.5,0.5", "output_relative_size": "1.25,2" }, "logs": "(36, 64) (48, 128) (24, 64) (6, 32)", "metrics": { "predict_time": 2.489271, "total_time": 2.531051 }, "output": [ "https://replicate.delivery/pbxt/yoDzdLIffbvXfombhDwlsetIQmDiVseJHwZo1RPoBixu01CBC/output-0.png" ], "started_at": "2022-12-09T22:41:40.240429Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qs3awzyfavcpziedo4ckg53xqm", "cancel": "https://api.replicate.com/v1/predictions/qs3awzyfavcpziedo4ckg53xqm/cancel" }, "version": "2afe25a164af57f0cc890165c7680a2a16a38037978481d56e13ed600eb29b73" }
Want to make some of these yourself?
Run this model