arielreplicate/paella_fast_text2image
Fast text2image model
Prediction
arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324daIDzvycwf2rp5bprmcmhuzyt5yy7aStatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- A crayon painting of barack Obama
- num_outputs
- 3
{ "prompt": "A crayon painting of barack Obama", "num_outputs": 3 }
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_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", { input: { prompt: "A crayon painting of barack Obama", num_outputs: 3 } } ); // 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_text2image using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", input={ "prompt": "A crayon painting of barack Obama", "num_outputs": 3 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", "input": { "prompt": "A crayon painting of barack Obama", "num_outputs": 3 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da \ -i 'prompt="A crayon painting of barack Obama"' \ -i 'num_outputs=3'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "prompt": "A crayon painting of barack Obama", "num_outputs": 3 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2022-12-01T17:07:47.995875Z", "created_at": "2022-12-01T17:07:45.325660Z", "data_removed": false, "error": null, "id": "zvycwf2rp5bprmcmhuzyt5yy7a", "input": { "prompt": "A crayon painting of barack Obama", "num_outputs": 3 }, "logs": "1.542205572128296", "metrics": { "predict_time": 2.631373, "total_time": 2.670215 }, "output": [ "https://replicate.delivery/pbxt/ChFGeSWBz6z0H6iYTEU40T9esMdgXH6iY4urh7kyqdJjFpFQA/output-0.png", "https://replicate.delivery/pbxt/GiDzVszPhZ7ecCXYJIV4BSkinfMGdOLGMXGRMMnQvhBjFpFQA/output-1.png", "https://replicate.delivery/pbxt/UwLTulMFvvoXERQb1rscGDs8nfdK16JRLejtEAJluDTjFpFQA/output-2.png" ], "started_at": "2022-12-01T17:07:45.364502Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zvycwf2rp5bprmcmhuzyt5yy7a", "cancel": "https://api.replicate.com/v1/predictions/zvycwf2rp5bprmcmhuzyt5yy7a/cancel" }, "version": "481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da" }
Prediction
arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324daIDpuknid3trzb5ndxxlywanhnecyStatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- A beautiful bavarian village with the alps in the backtground.
- num_outputs
- 6
{ "prompt": "A beautiful bavarian village with the alps in the backtground.", "num_outputs": 6 }
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_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", { input: { prompt: "A beautiful bavarian village with the alps in the backtground.", num_outputs: 6 } } ); // 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_text2image using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", input={ "prompt": "A beautiful bavarian village with the alps in the backtground.", "num_outputs": 6 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", "input": { "prompt": "A beautiful bavarian village with the alps in the backtground.", "num_outputs": 6 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da \ -i 'prompt="A beautiful bavarian village with the alps in the backtground."' \ -i 'num_outputs=6'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "prompt": "A beautiful bavarian village with the alps in the backtground.", "num_outputs": 6 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2022-12-01T17:10:18.530643Z", "created_at": "2022-12-01T17:10:13.306278Z", "data_removed": false, "error": null, "id": "puknid3trzb5ndxxlywanhnecy", "input": { "prompt": "A beautiful bavarian village with the alps in the backtground.", "num_outputs": 6 }, "logs": "3.0110623836517334", "metrics": { "predict_time": 5.185649, "total_time": 5.224365 }, "output": [ "https://replicate.delivery/pbxt/kJIgGQPv3PYwFVVeLLxhUf9oft5DmeXxzr8VYm4vrrgnfItAC/output-0.png", "https://replicate.delivery/pbxt/Z4tXjeuSekrANEYKoCGzDzXxdCIxTVnfMzZp5xyEWQSyPSLgA/output-1.png", "https://replicate.delivery/pbxt/YwCcpGPeeolaJUEjgv9qYpxJ8fCqlooYe6IFIJ8XxfiNfRaBE/output-2.png", "https://replicate.delivery/pbxt/Mj7kYAy1Ig6wEhe1aqsFeRN2O8rEVLrs2aN3VFWXepqyPSLgA/output-3.png", "https://replicate.delivery/pbxt/etqvHJDoBoQf0E4pd3H1PnaXKqRfEU74EogCjWa0SiT1PSLgA/output-4.png", "https://replicate.delivery/pbxt/lJ2NeaS1y1QQaamBHVkflOoI8cEaI6F6urZlt5q24XQ6HpFQA/output-5.png" ], "started_at": "2022-12-01T17:10:13.344994Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/puknid3trzb5ndxxlywanhnecy", "cancel": "https://api.replicate.com/v1/predictions/puknid3trzb5ndxxlywanhnecy/cancel" }, "version": "481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da" }
Prediction
arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324daID7xzx3qr3snh5dfppuz6bm5fisuStatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- Highly detailed photograph of darth vader. artstation
- num_outputs
- 6
{ "prompt": "Highly detailed photograph of darth vader. artstation", "num_outputs": 6 }
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_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", { input: { prompt: "Highly detailed photograph of darth vader. artstation", num_outputs: 6 } } ); // 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_text2image using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", input={ "prompt": "Highly detailed photograph of darth vader. artstation", "num_outputs": 6 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", "input": { "prompt": "Highly detailed photograph of darth vader. artstation", "num_outputs": 6 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da \ -i 'prompt="Highly detailed photograph of darth vader. artstation"' \ -i 'num_outputs=6'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "prompt": "Highly detailed photograph of darth vader. artstation", "num_outputs": 6 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2022-12-01T17:14:09.915856Z", "created_at": "2022-12-01T17:14:04.625886Z", "data_removed": false, "error": null, "id": "7xzx3qr3snh5dfppuz6bm5fisu", "input": { "prompt": "Highly detailed photograph of darth vader. artstation", "num_outputs": 6 }, "logs": "2.9098408222198486", "metrics": { "predict_time": 5.260068, "total_time": 5.28997 }, "output": [ "https://replicate.delivery/pbxt/ZRtsJWC8Mu4RI5uKqslp5xB9hPuoWQhXkb8EIc4e2fzgLpFQA/output-0.png", "https://replicate.delivery/pbxt/LpFhYy3frd0dUKYB6BkABLpufhkfppVEsrjxuA9JNYiBXSLgA/output-1.png", "https://replicate.delivery/pbxt/8c5RwCzfTPU9NCuJ6BpzPwTl7nSSLNpYAao2vVIoB7ehLpFQA/output-2.png", "https://replicate.delivery/pbxt/4spLStsZkDIBIdfZHDnowIeRxSExWeUcPZj8JoDQxyDCXSLgA/output-3.png", "https://replicate.delivery/pbxt/1SIc3HiUFrpJOtLCx4i7DfrfxjtK290QPferhY1ImzFHukWAB/output-4.png", "https://replicate.delivery/pbxt/InRmxpRRoAJ3EVMyIvM0LlUeJrZFYR2tLPrnRNBWZ8qwl0CIA/output-5.png" ], "started_at": "2022-12-01T17:14:04.655788Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7xzx3qr3snh5dfppuz6bm5fisu", "cancel": "https://api.replicate.com/v1/predictions/7xzx3qr3snh5dfppuz6bm5fisu/cancel" }, "version": "481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da" }
Prediction
arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324daIDoohalfvtxfdppi5lqv7s7kep64StatusSucceededSourceWebHardware–Total durationCreatedInput
- prompt
- An oil painting of a cute german shepard
- num_outputs
- 6
{ "prompt": "An oil painting of a cute german shepard", "num_outputs": 6 }
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_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", { input: { prompt: "An oil painting of a cute german shepard", num_outputs: 6 } } ); // 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_text2image using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "arielreplicate/paella_fast_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", input={ "prompt": "An oil painting of a cute german shepard", "num_outputs": 6 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run arielreplicate/paella_fast_text2image 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_text2image:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da", "input": { "prompt": "An oil painting of a cute german shepard", "num_outputs": 6 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da \ -i 'prompt="An oil painting of a cute german shepard"' \ -i 'num_outputs=6'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/arielreplicate/paella_fast_text2image@sha256:481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "prompt": "An oil painting of a cute german shepard", "num_outputs": 6 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2022-12-01T17:14:34.908887Z", "created_at": "2022-12-01T17:14:29.871518Z", "data_removed": false, "error": null, "id": "oohalfvtxfdppi5lqv7s7kep64", "input": { "prompt": "An oil painting of a cute german shepard", "num_outputs": 6 }, "logs": "2.847424268722534", "metrics": { "predict_time": 4.999403, "total_time": 5.037369 }, "output": [ "https://replicate.delivery/pbxt/toufXu7EgdW8XyTg8ppT5uqEwUt4XzpctuIwPIZ7iIr8l0CIA/output-0.png", "https://replicate.delivery/pbxt/3Fms6Tyle1zfhEp9clWWOwQYmmwTDqZ1nzpi51Z9zuW5LpFQA/output-1.png", "https://replicate.delivery/pbxt/MT45kzr1rfVfOUlvo8qAarbB6PcCqwTHf6XtnLOPaFt0XSLgA/output-2.png", "https://replicate.delivery/pbxt/S74KMZekeYpAlk7SyhKpeaziEoM4DSfgZQhWU5C0874ovkWAB/output-3.png", "https://replicate.delivery/pbxt/Bs3bQWi1NMLNOtrFq0q1ttIEycZUml8Ayp8fK2VIZxH9l0CIA/output-4.png", "https://replicate.delivery/pbxt/WKByVckDm0qKC59Ta6ihDBqnYTZ19c8o0UojjbapLqqel0CIA/output-5.png" ], "started_at": "2022-12-01T17:14:29.909484Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/oohalfvtxfdppi5lqv7s7kep64", "cancel": "https://api.replicate.com/v1/predictions/oohalfvtxfdppi5lqv7s7kep64/cancel" }, "version": "481ea32fad34b0df3b74151c74e7572f7759d9712bbea169b4a75fba780324da" }
Want to make some of these yourself?
Run this model