arielreplicate
/
paella_fast_image_interpolation
Fast image interpolation model
Prediction
arielreplicate/paella_fast_image_interpolation:82f5cedaIDzne6gnrn5vfbdpe6tn2hihwvaiStatusSucceededSourceWebHardware–Total durationCreatedInput
- text1
- High quality front portrait photo of a tiger.
- text2
- High quality front portrait photo of a dog.
- n_interpolations
- 9
{ "text1": "High quality front portrait photo of a tiger.", "text2": "High quality front portrait photo of a dog.", "n_interpolations": 9 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/paella_fast_image_interpolation 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_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", { input: { text1: "High quality front portrait photo of a tiger.", text2: "High quality front portrait photo of a dog.", n_interpolations: 9 } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run arielreplicate/paella_fast_image_interpolation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", input={ "text1": "High quality front portrait photo of a tiger.", "text2": "High quality front portrait photo of a dog.", "n_interpolations": 9 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run arielreplicate/paella_fast_image_interpolation 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": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", "input": { "text1": "High quality front portrait photo of a tiger.", "text2": "High quality front portrait photo of a dog.", "n_interpolations": 9 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T16:17:04.887479Z", "created_at": "2022-12-09T16:13:45.099642Z", "data_removed": false, "error": null, "id": "zne6gnrn5vfbdpe6tn2hihwvai", "input": { "text1": "High quality front portrait photo of a tiger.", "text2": "High quality front portrait photo of a dog.", "n_interpolations": 9 }, "logs": null, "metrics": { "predict_time": 21.624708, "total_time": 199.787837 }, "output": [ "https://replicate.delivery/pbxt/I07ae7T506QNGS7fS2L4ZizuLEbVr6fbQN4qMNZhfa5fvICBC/OutputImage-0.png", "https://replicate.delivery/pbxt/wmpXizaW5XrDHFCofOjqVMfJOGi8Q9MLM1gKgPm03mCfLiQgA/OutputImage-1.png", "https://replicate.delivery/pbxt/JCgCbSbUvp51AZiUBaEPa49e1nTTEAlZKIc6NQqDJPkfFRIQA/OutputImage-2.png", "https://replicate.delivery/pbxt/01NZme2wVDVcMKQ5DqkDwpG6w5RWQX8fr05mgqvZeof9XEhAB/OutputImage-3.png", "https://replicate.delivery/pbxt/jrPtJpB5Mx6NKJpfz76WkAwbycNh4wdX58pu5nVLWe2AGRIQA/OutputImage-4.png", "https://replicate.delivery/pbxt/Zyt35WpLdo7LHhwZ9H8X0Xbiu4Vuc5wYtXrHrzftb9FAjIEIA/OutputImage-5.png", "https://replicate.delivery/pbxt/NiclHa8HEZ6JPZN37TXMIg6QilUohdb1tkXfo6P6EpZAjIEIA/OutputImage-6.png", "https://replicate.delivery/pbxt/J8eNgtsjxdXMdaai3bfb04YLMT8jktxa0JnHwvyifiEBMiQgA/OutputImage-7.png", "https://replicate.delivery/pbxt/it5zBfuKZzWPKSQWPYKfjIHaBsm7TEfuvu6EfwjytpfFwICBC/OutputImage-8.png" ], "started_at": "2022-12-09T16:16:43.262771Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zne6gnrn5vfbdpe6tn2hihwvai", "cancel": "https://api.replicate.com/v1/predictions/zne6gnrn5vfbdpe6tn2hihwvai/cancel" }, "version": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a" }
Generated inPrediction
arielreplicate/paella_fast_image_interpolation:82f5cedaID3olphuk6nngihlc6od53vvlnfmStatusSucceededSourceWebHardware–Total durationCreatedInput
- text1
- A photo of a tree in the summer.
- text2
- A photo of a tree in the winter.
- n_interpolations
- 25
{ "text1": "A photo of a tree in the summer.", "text2": "A photo of a tree in the winter.", "n_interpolations": 25 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/paella_fast_image_interpolation 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_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", { input: { text1: "A photo of a tree in the summer.", text2: "A photo of a tree in the winter.", n_interpolations: 25 } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run arielreplicate/paella_fast_image_interpolation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", input={ "text1": "A photo of a tree in the summer.", "text2": "A photo of a tree in the winter.", "n_interpolations": 25 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run arielreplicate/paella_fast_image_interpolation 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": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", "input": { "text1": "A photo of a tree in the summer.", "text2": "A photo of a tree in the winter.", "n_interpolations": 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-09T16:19:49.197751Z", "created_at": "2022-12-09T16:19:13.057104Z", "data_removed": false, "error": null, "id": "3olphuk6nngihlc6od53vvlnfm", "input": { "text1": "A photo of a tree in the summer.", "text2": "A photo of a tree in the winter.", "n_interpolations": 25 }, "logs": null, "metrics": { "predict_time": 36.105982, "total_time": 36.140647 }, "output": [ "https://replicate.delivery/pbxt/GAoBH4ryeTyAYyQWmoxrObrNbbfUeFGz7Gb8XQee09YHEJCBC/OutputImage-0.png", "https://replicate.delivery/pbxt/IfczQ47blzwfkE68eyz42BPIkFjAULfwyjKDfUzwnJBHEJCBC/OutputImage-1.png", "https://replicate.delivery/pbxt/lr0qfWdU5B04RyipKjuJpcQQzOlf1ZBPT1pGbVQxRetARiQgA/OutputImage-2.png", "https://replicate.delivery/pbxt/ScoEMPg5jDrhB18oNKghirSheResnkmsySu3CyxJBDvhIRIQA/OutputImage-3.png", "https://replicate.delivery/pbxt/FM9dG9TffbqHeJPwhg9YXIhAhtOFsbyh7OK6JzKoINPDRiQgA/OutputImage-4.png", "https://replicate.delivery/pbxt/rwk6rzoYBqLVJxTbTffZCNMA4ZCcAJ9eZYqCMeoF5zdHiEhAB/OutputImage-5.png", "https://replicate.delivery/pbxt/sCfaOerhl4qbrEWsawfe9SyAwEpxceUmqtH1KHpxbntPEJCBC/OutputImage-6.png", "https://replicate.delivery/pbxt/MvhQOOvm4fXTeksN70augpq1TxDBD2eHiOToeT3e3OPOEJCBC/OutputImage-7.png", "https://replicate.delivery/pbxt/k1CAyvfzBvW2f08NTxqyVPMzeyNbmVjxjTuqfWIwqqnIiEhAB/OutputImage-8.png", "https://replicate.delivery/pbxt/sZ0pwuD5f51rYKefq6zL1fjUfPdN0XfyDcXFtzXCF1hlISECE/OutputImage-9.png", "https://replicate.delivery/pbxt/eMkN0663Bx1aCqnNiXWLEqFsuDhc04LBKIEo7TqHb4BRkIEIA/OutputImage-10.png", "https://replicate.delivery/pbxt/sudLjbSrsaLPKdLsifFPxBkegfFejvfDqyjFX57DZZTVEJCBC/OutputImage-11.png", "https://replicate.delivery/pbxt/ewHXbmMsQiSCJq1Tl5oUEb9aL1ezkggqxGObSXDXfTqERiQgA/OutputImage-12.png", "https://replicate.delivery/pbxt/2j7EFJxZRDJyOBwMxUjpDlQ5NaLrv6Ns7HjKcROmCO1ISECE/OutputImage-13.png", "https://replicate.delivery/pbxt/AZxMZB2NeSxQe0o526FrBVK14aDtNqvtSxf7fIA5aPrOiEhAB/OutputImage-14.png", "https://replicate.delivery/pbxt/2QPb0uTUH165AV80gdKkrzyI8JdfClPWfMwFpLAyIoCjIRIQA/OutputImage-15.png", "https://replicate.delivery/pbxt/Zra9Rl0Jfs1SCSzQwfRzfKwZRJ35MvZ7KOZvaGKzeLgMiEhAB/OutputImage-16.png", "https://replicate.delivery/pbxt/1bCha36bGn70EhXRFQW64puZDF6CpqVR86wLSiwuG2fRkIEIA/OutputImage-17.png", "https://replicate.delivery/pbxt/T4SxHpSB5e2FJSftmSpRLvuW6idEGDGmOd35o7eyFI1HRiQgA/OutputImage-18.png", "https://replicate.delivery/pbxt/YX85IIDfa1xMcipBYfTgh55PsEfY6vef0X78cuXja8BlEJCBC/OutputImage-19.png", "https://replicate.delivery/pbxt/dzyKCJ5LxaorCVKcLUZj2a7CC9KhpG9GzXeHlYx2TSQSkIEIA/OutputImage-20.png", "https://replicate.delivery/pbxt/i7bEF6eZrUWQGSae7pDFBEJ63UhxAP7dXuKIDHuHGMikIRIQA/OutputImage-21.png", "https://replicate.delivery/pbxt/V4NlYLRR8vreaazOwum1LmsepUPQduIE5ccF83XhVsykIRIQA/OutputImage-22.png", "https://replicate.delivery/pbxt/zvGgk6KRFCKQIR7dDbTM0KJmEeomebH8hCsKErRZ7gfJRiQgA/OutputImage-23.png", "https://replicate.delivery/pbxt/Z7OxuEJzpuZwG1i519SJdleb130KLWEeeFfQYtCGkfKvEJCBC/OutputImage-24.png" ], "started_at": "2022-12-09T16:19:13.091769Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3olphuk6nngihlc6od53vvlnfm", "cancel": "https://api.replicate.com/v1/predictions/3olphuk6nngihlc6od53vvlnfm/cancel" }, "version": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a" }
Generated inPrediction
arielreplicate/paella_fast_image_interpolation:82f5cedaID5bw7hlgprngqbhiyhx3wx3me2aStatusSucceededSourceWebHardware–Total durationCreatedInput
- text1
- A photo of a house in the countryside.
- text2
- A photo of a house in the the big city.
- n_interpolations
- 9
{ "text1": "A photo of a house in the countryside.", "text2": "A photo of a house in the the big city.", "n_interpolations": 9 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run arielreplicate/paella_fast_image_interpolation 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_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", { input: { text1: "A photo of a house in the countryside.", text2: "A photo of a house in the the big city.", n_interpolations: 9 } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run arielreplicate/paella_fast_image_interpolation using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_image_interpolation:82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", input={ "text1": "A photo of a house in the countryside.", "text2": "A photo of a house in the the big city.", "n_interpolations": 9 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run arielreplicate/paella_fast_image_interpolation 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": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a", "input": { "text1": "A photo of a house in the countryside.", "text2": "A photo of a house in the the big city.", "n_interpolations": 9 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2022-12-09T16:21:34.836290Z", "created_at": "2022-12-09T16:21:21.551731Z", "data_removed": false, "error": null, "id": "5bw7hlgprngqbhiyhx3wx3me2a", "input": { "text1": "A photo of a house in the countryside.", "text2": "A photo of a house in the the big city.", "n_interpolations": 9 }, "logs": null, "metrics": { "predict_time": 13.246863, "total_time": 13.284559 }, "output": [ "https://replicate.delivery/pbxt/dxjJQA2d3j6pJtsfIiU2FbTVlkZapIr4ahLGF13LRfOMKRIQA/OutputImage-0.png", "https://replicate.delivery/pbxt/mSxyKIng91ZbDVQLYLDfbb2ttetikcMS6dpsaXW0hIpNKRIQA/OutputImage-1.png", "https://replicate.delivery/pbxt/KiJttGEY5MowNx4YJkAyi82wBr7rWHljmsKUVmYYqqYjSECE/OutputImage-2.png", "https://replicate.delivery/pbxt/249rcF7QGfyJKaDGOzFsea8sTN2xgfCbCdVTPrxjxBDaUiQgA/OutputImage-3.png", "https://replicate.delivery/pbxt/yeKymYjuBTUKZihNSlr2eehZjfFISaoihRYDgmgx8XD1oEhAB/OutputImage-4.png", "https://replicate.delivery/pbxt/baaA5ecd8WyPMqxojtbhr2OXxV39cTAqLhwcOk9yhsFHlIEIA/OutputImage-5.png", "https://replicate.delivery/pbxt/7e2G1Qngedv9uUFlAsU567orSPAW6dTOeOftEUUYcxi5oEhAB/OutputImage-6.png", "https://replicate.delivery/pbxt/wO7ZgfXRTSzLNa0r5b8kW6L0jXGyNutZbw7xv5y0p4VHlIEIA/OutputImage-7.png", "https://replicate.delivery/pbxt/kATiQ6Lti8KxG5gP1sd69rnuiJM7xfhkLd3ITQbDaDRHlIEIA/OutputImage-8.png" ], "started_at": "2022-12-09T16:21:21.589427Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5bw7hlgprngqbhiyhx3wx3me2a", "cancel": "https://api.replicate.com/v1/predictions/5bw7hlgprngqbhiyhx3wx3me2a/cancel" }, "version": "82f5ceda76ca5a754184549a5c5f3401ac339d1e1c3535098dad38f4d037723a" }
Generated in
Want to make some of these yourself?
Run this model