adirik / interior-design
Realistic interior design with text and image inputs
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38ID11v012mk11rgg0cepegs3pdxvcStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedby @adirikInput
- prompt
- A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", "prompt": "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", prompt: "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", "prompt": "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", "prompt": "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg"' \ -i 'prompt="A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", "prompt": "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:42:42.226015Z", "created_at": "2024-04-06T13:38:14.408000Z", "data_removed": false, "error": null, "id": "11v012mk11rgg0cepegs3pdxvc", "input": { "image": "https://replicate.delivery/pbxt/KhTNuTIKK1F1tvVl8e7mqOlhR3z3D0SAojAMN8BNftCvAubM/bedroom_3.jpg", "prompt": "A bedroom with a bohemian spirit centered around a relaxed canopy bed complemented by a large macrame wall hanging. An eclectic dresser serves as a unique storage solution while an array of potted plants brings life and color to the room", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:21, 1.85it/s]\n 5%|▌ | 2/40 [00:00<00:11, 3.36it/s]\n 8%|▊ | 3/40 [00:00<00:07, 4.66it/s]\n 10%|█ | 4/40 [00:00<00:06, 5.90it/s]\n 12%|█▎ | 5/40 [00:00<00:05, 6.90it/s]\n 15%|█▌ | 6/40 [00:01<00:04, 7.70it/s]\n 18%|█▊ | 7/40 [00:01<00:03, 8.30it/s]\n 20%|██ | 8/40 [00:01<00:03, 8.75it/s]\n 22%|██▎ | 9/40 [00:01<00:03, 9.07it/s]\n 25%|██▌ | 10/40 [00:01<00:03, 9.30it/s]\n 28%|██▊ | 11/40 [00:01<00:03, 9.48it/s]\n 30%|███ | 12/40 [00:01<00:02, 9.60it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 9.69it/s]\n 35%|███▌ | 14/40 [00:01<00:02, 9.74it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 9.79it/s]\n 40%|████ | 16/40 [00:02<00:02, 9.81it/s]\n 42%|████▎ | 17/40 [00:02<00:02, 9.83it/s]\n 45%|████▌ | 18/40 [00:02<00:02, 9.82it/s]\n 48%|████▊ | 19/40 [00:02<00:02, 9.82it/s]\n 50%|█████ | 20/40 [00:02<00:02, 9.83it/s]\n 52%|█████▎ | 21/40 [00:02<00:01, 9.82it/s]\n 55%|█████▌ | 22/40 [00:02<00:01, 9.84it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 9.84it/s]\n 60%|██████ | 24/40 [00:02<00:01, 9.84it/s]\n 62%|██████▎ | 25/40 [00:03<00:01, 9.83it/s]\n 65%|██████▌ | 26/40 [00:03<00:01, 9.82it/s]\n 68%|██████▊ | 27/40 [00:03<00:01, 9.84it/s]\n 70%|███████ | 28/40 [00:03<00:01, 9.85it/s]\n 72%|███████▎ | 29/40 [00:03<00:01, 9.85it/s]\n 75%|███████▌ | 30/40 [00:03<00:01, 9.83it/s]\n 78%|███████▊ | 31/40 [00:03<00:00, 9.82it/s]\n 80%|████████ | 32/40 [00:03<00:00, 9.78it/s]\n 82%|████████▎ | 33/40 [00:03<00:00, 9.79it/s]\n 85%|████████▌ | 34/40 [00:03<00:00, 9.79it/s]\n 88%|████████▊ | 35/40 [00:04<00:00, 9.80it/s]\n 90%|█████████ | 36/40 [00:04<00:00, 9.80it/s]\n 92%|█████████▎| 37/40 [00:04<00:00, 9.81it/s]\n 95%|█████████▌| 38/40 [00:04<00:00, 9.82it/s]\n 98%|█████████▊| 39/40 [00:04<00:00, 9.82it/s]\n100%|██████████| 40/40 [00:04<00:00, 9.84it/s]\n100%|██████████| 40/40 [00:04<00:00, 8.81it/s]", "metrics": { "predict_time": 13.735262, "total_time": 267.818015 }, "output": "https://replicate.delivery/pbxt/rUUQzguyyZqFNJxY2yPL4t83Ybo2iGBiRtN7DFbqwYEUD8pE/out.png", "started_at": "2024-04-06T13:42:28.490753Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/11v012mk11rgg0cepegs3pdxvc", "cancel": "https://api.replicate.com/v1/predictions/11v012mk11rgg0cepegs3pdxvc/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:21, 1.85it/s] 5%|▌ | 2/40 [00:00<00:11, 3.36it/s] 8%|▊ | 3/40 [00:00<00:07, 4.66it/s] 10%|█ | 4/40 [00:00<00:06, 5.90it/s] 12%|█▎ | 5/40 [00:00<00:05, 6.90it/s] 15%|█▌ | 6/40 [00:01<00:04, 7.70it/s] 18%|█▊ | 7/40 [00:01<00:03, 8.30it/s] 20%|██ | 8/40 [00:01<00:03, 8.75it/s] 22%|██▎ | 9/40 [00:01<00:03, 9.07it/s] 25%|██▌ | 10/40 [00:01<00:03, 9.30it/s] 28%|██▊ | 11/40 [00:01<00:03, 9.48it/s] 30%|███ | 12/40 [00:01<00:02, 9.60it/s] 32%|███▎ | 13/40 [00:01<00:02, 9.69it/s] 35%|███▌ | 14/40 [00:01<00:02, 9.74it/s] 38%|███▊ | 15/40 [00:01<00:02, 9.79it/s] 40%|████ | 16/40 [00:02<00:02, 9.81it/s] 42%|████▎ | 17/40 [00:02<00:02, 9.83it/s] 45%|████▌ | 18/40 [00:02<00:02, 9.82it/s] 48%|████▊ | 19/40 [00:02<00:02, 9.82it/s] 50%|█████ | 20/40 [00:02<00:02, 9.83it/s] 52%|█████▎ | 21/40 [00:02<00:01, 9.82it/s] 55%|█████▌ | 22/40 [00:02<00:01, 9.84it/s] 57%|█████▊ | 23/40 [00:02<00:01, 9.84it/s] 60%|██████ | 24/40 [00:02<00:01, 9.84it/s] 62%|██████▎ | 25/40 [00:03<00:01, 9.83it/s] 65%|██████▌ | 26/40 [00:03<00:01, 9.82it/s] 68%|██████▊ | 27/40 [00:03<00:01, 9.84it/s] 70%|███████ | 28/40 [00:03<00:01, 9.85it/s] 72%|███████▎ | 29/40 [00:03<00:01, 9.85it/s] 75%|███████▌ | 30/40 [00:03<00:01, 9.83it/s] 78%|███████▊ | 31/40 [00:03<00:00, 9.82it/s] 80%|████████ | 32/40 [00:03<00:00, 9.78it/s] 82%|████████▎ | 33/40 [00:03<00:00, 9.79it/s] 85%|████████▌ | 34/40 [00:03<00:00, 9.79it/s] 88%|████████▊ | 35/40 [00:04<00:00, 9.80it/s] 90%|█████████ | 36/40 [00:04<00:00, 9.80it/s] 92%|█████████▎| 37/40 [00:04<00:00, 9.81it/s] 95%|█████████▌| 38/40 [00:04<00:00, 9.82it/s] 98%|█████████▊| 39/40 [00:04<00:00, 9.82it/s] 100%|██████████| 40/40 [00:04<00:00, 9.84it/s] 100%|██████████| 40/40 [00:04<00:00, 8.81it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38IDencd8gqjjnrgg0cepehvdjbh34StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", "prompt": "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", prompt: "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", "prompt": "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", "prompt": "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg"' \ -i 'prompt="A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", "prompt": "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:42:59.599209Z", "created_at": "2024-04-06T13:40:49.941000Z", "data_removed": false, "error": null, "id": "encd8gqjjnrgg0cepehvdjbh34", "input": { "image": "https://replicate.delivery/pbxt/KhTQMqOMeakNHHcTVgWsNpJ91IAljcMnlb2fsA3rHq5hjRN5/dinning_room_1.jpg", "prompt": "A cozy dining room that captures the essence of rustic charm with a solid wooden farmhouse table at its core surrounded by an eclectic mix of mismatched chairs. An antique sideboard serves as a statement piece and the ambiance is warmly lit by a series of quaint Edison bulbs dangling from the ceiling", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:10, 3.74it/s]\n 5%|▌ | 2/40 [00:00<00:06, 5.67it/s]\n 8%|▊ | 3/40 [00:00<00:05, 7.03it/s]\n 12%|█▎ | 5/40 [00:00<00:03, 9.01it/s]\n 18%|█▊ | 7/40 [00:00<00:03, 9.96it/s]\n 22%|██▎ | 9/40 [00:01<00:02, 10.49it/s]\n 28%|██▊ | 11/40 [00:01<00:02, 10.79it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 11.00it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 11.11it/s]\n 42%|████▎ | 17/40 [00:01<00:02, 11.20it/s]\n 48%|████▊ | 19/40 [00:01<00:01, 11.27it/s]\n 52%|█████▎ | 21/40 [00:02<00:01, 11.29it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 11.31it/s]\n 62%|██████▎ | 25/40 [00:02<00:01, 11.34it/s]\n 68%|██████▊ | 27/40 [00:02<00:01, 11.35it/s]\n 72%|███████▎ | 29/40 [00:02<00:00, 11.36it/s]\n 78%|███████▊ | 31/40 [00:02<00:00, 11.37it/s]\n 82%|████████▎ | 33/40 [00:03<00:00, 11.37it/s]\n 88%|████████▊ | 35/40 [00:03<00:00, 11.37it/s]\n 92%|█████████▎| 37/40 [00:03<00:00, 11.37it/s]\n 98%|█████████▊| 39/40 [00:03<00:00, 11.37it/s]\n100%|██████████| 40/40 [00:03<00:00, 10.73it/s]", "metrics": { "predict_time": 9.913285, "total_time": 129.658209 }, "output": "https://replicate.delivery/pbxt/mmeWBE1H0r3CWi1kVnE72dHQHGjS5XCPZZebWke06SSFbgPlA/out.png", "started_at": "2024-04-06T13:42:49.685924Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/encd8gqjjnrgg0cepehvdjbh34", "cancel": "https://api.replicate.com/v1/predictions/encd8gqjjnrgg0cepehvdjbh34/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:10, 3.74it/s] 5%|▌ | 2/40 [00:00<00:06, 5.67it/s] 8%|▊ | 3/40 [00:00<00:05, 7.03it/s] 12%|█▎ | 5/40 [00:00<00:03, 9.01it/s] 18%|█▊ | 7/40 [00:00<00:03, 9.96it/s] 22%|██▎ | 9/40 [00:01<00:02, 10.49it/s] 28%|██▊ | 11/40 [00:01<00:02, 10.79it/s] 32%|███▎ | 13/40 [00:01<00:02, 11.00it/s] 38%|███▊ | 15/40 [00:01<00:02, 11.11it/s] 42%|████▎ | 17/40 [00:01<00:02, 11.20it/s] 48%|████▊ | 19/40 [00:01<00:01, 11.27it/s] 52%|█████▎ | 21/40 [00:02<00:01, 11.29it/s] 57%|█████▊ | 23/40 [00:02<00:01, 11.31it/s] 62%|██████▎ | 25/40 [00:02<00:01, 11.34it/s] 68%|██████▊ | 27/40 [00:02<00:01, 11.35it/s] 72%|███████▎ | 29/40 [00:02<00:00, 11.36it/s] 78%|███████▊ | 31/40 [00:02<00:00, 11.37it/s] 82%|████████▎ | 33/40 [00:03<00:00, 11.37it/s] 88%|████████▊ | 35/40 [00:03<00:00, 11.37it/s] 92%|█████████▎| 37/40 [00:03<00:00, 11.37it/s] 98%|█████████▊| 39/40 [00:03<00:00, 11.37it/s] 100%|██████████| 40/40 [00:03<00:00, 10.73it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38IDns2nbybm5drgj0cepeka468chgStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room's sophisticated atmosphere
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", "prompt": "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room's sophisticated atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", prompt: "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room's sophisticated atmosphere", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", "prompt": "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room's sophisticated atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", "prompt": "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room\'s sophisticated atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg"' \ -i $'prompt="An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room\'s sophisticated atmosphere"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", "prompt": "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room\'s sophisticated atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:43:46.580248Z", "created_at": "2024-04-06T13:43:34.187000Z", "data_removed": false, "error": null, "id": "ns2nbybm5drgj0cepeka468chg", "input": { "image": "https://replicate.delivery/pbxt/KhTSwL4Bbx8mC7EfBB9uUiHxdQqer4knZmFtYICL6VCS6q98/dinning_room_2.jpg", "prompt": "An elegant dining room designed in a timeless classic style featuring a grand oval dining table accompanied by luxuriously upholstered chairs. The space is gracefully illuminated by a magnificent crystal chandelier with an ornate mirror amplifying the room's sophisticated atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:06, 6.22it/s]\n 8%|▊ | 3/40 [00:00<00:04, 8.99it/s]\n 12%|█▎ | 5/40 [00:00<00:03, 9.75it/s]\n 18%|█▊ | 7/40 [00:00<00:03, 10.08it/s]\n 22%|██▎ | 9/40 [00:00<00:03, 10.26it/s]\n 28%|██▊ | 11/40 [00:01<00:02, 10.35it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 10.41it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 10.46it/s]\n 42%|████▎ | 17/40 [00:01<00:02, 10.49it/s]\n 48%|████▊ | 19/40 [00:01<00:01, 10.50it/s]\n 52%|█████▎ | 21/40 [00:02<00:01, 10.52it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 10.56it/s]\n 62%|██████▎ | 25/40 [00:02<00:01, 10.58it/s]\n 68%|██████▊ | 27/40 [00:02<00:01, 10.61it/s]\n 72%|███████▎ | 29/40 [00:02<00:01, 10.62it/s]\n 78%|███████▊ | 31/40 [00:02<00:00, 10.63it/s]\n 82%|████████▎ | 33/40 [00:03<00:00, 10.62it/s]\n 88%|████████▊ | 35/40 [00:03<00:00, 10.61it/s]\n 92%|█████████▎| 37/40 [00:03<00:00, 10.61it/s]\n 98%|█████████▊| 39/40 [00:03<00:00, 10.60it/s]\n100%|██████████| 40/40 [00:03<00:00, 10.41it/s]", "metrics": { "predict_time": 12.352687, "total_time": 12.393248 }, "output": "https://replicate.delivery/pbxt/1jrhB4jyqYKkNZuQxPGjVpOzYHJIRPcXwi5KpMaLJ1JkD8pE/out.png", "started_at": "2024-04-06T13:43:34.227561Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ns2nbybm5drgj0cepeka468chg", "cancel": "https://api.replicate.com/v1/predictions/ns2nbybm5drgj0cepeka468chg/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:06, 6.22it/s] 8%|▊ | 3/40 [00:00<00:04, 8.99it/s] 12%|█▎ | 5/40 [00:00<00:03, 9.75it/s] 18%|█▊ | 7/40 [00:00<00:03, 10.08it/s] 22%|██▎ | 9/40 [00:00<00:03, 10.26it/s] 28%|██▊ | 11/40 [00:01<00:02, 10.35it/s] 32%|███▎ | 13/40 [00:01<00:02, 10.41it/s] 38%|███▊ | 15/40 [00:01<00:02, 10.46it/s] 42%|████▎ | 17/40 [00:01<00:02, 10.49it/s] 48%|████▊ | 19/40 [00:01<00:01, 10.50it/s] 52%|█████▎ | 21/40 [00:02<00:01, 10.52it/s] 57%|█████▊ | 23/40 [00:02<00:01, 10.56it/s] 62%|██████▎ | 25/40 [00:02<00:01, 10.58it/s] 68%|██████▊ | 27/40 [00:02<00:01, 10.61it/s] 72%|███████▎ | 29/40 [00:02<00:01, 10.62it/s] 78%|███████▊ | 31/40 [00:02<00:00, 10.63it/s] 82%|████████▎ | 33/40 [00:03<00:00, 10.62it/s] 88%|████████▊ | 35/40 [00:03<00:00, 10.61it/s] 92%|█████████▎| 37/40 [00:03<00:00, 10.61it/s] 98%|█████████▊| 39/40 [00:03<00:00, 10.60it/s] 100%|██████████| 40/40 [00:03<00:00, 10.41it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38IDhcvpvpm3edrgp0cepeks6kfx0mStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- A home office that's a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", "prompt": "A home office that's a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", prompt: "A home office that's a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", "prompt": "A home office that's a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", "prompt": "A home office that\'s a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg"' \ -i $'prompt="A home office that\'s a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", "prompt": "A home office that\'s a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:44:53.446706Z", "created_at": "2024-04-06T13:44:43.635000Z", "data_removed": false, "error": null, "id": "hcvpvpm3edrgp0cepeks6kfx0m", "input": { "image": "https://replicate.delivery/pbxt/KhTU4ntkGwNQx76P8liQ82vVRAXnXcfZ3MMuuSrxhLAdgkqk/home_office_3.jpg", "prompt": "A home office that's a curated collection of the unique and the unusual where a vintage wooden desk serves as the centerpiece surrounded by a whimsical arrangement of mismatched ergonomic chairs. The floor is adorned with vibrant patterned rugs while the walls are a creative tapestry of eclectic wall art", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:05, 6.69it/s]\n 5%|▌ | 2/40 [00:00<00:04, 8.27it/s]\n 8%|▊ | 3/40 [00:00<00:04, 8.95it/s]\n 10%|█ | 4/40 [00:00<00:03, 9.29it/s]\n 12%|█▎ | 5/40 [00:00<00:03, 9.49it/s]\n 15%|█▌ | 6/40 [00:00<00:03, 9.61it/s]\n 18%|█▊ | 7/40 [00:00<00:03, 9.70it/s]\n 20%|██ | 8/40 [00:00<00:03, 9.74it/s]\n 22%|██▎ | 9/40 [00:00<00:03, 9.76it/s]\n 25%|██▌ | 10/40 [00:01<00:03, 9.78it/s]\n 28%|██▊ | 11/40 [00:01<00:02, 9.81it/s]\n 30%|███ | 12/40 [00:01<00:02, 9.83it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 9.83it/s]\n 35%|███▌ | 14/40 [00:01<00:02, 9.83it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 9.82it/s]\n 40%|████ | 16/40 [00:01<00:02, 9.83it/s]\n 42%|████▎ | 17/40 [00:01<00:02, 9.83it/s]\n 45%|████▌ | 18/40 [00:01<00:02, 9.80it/s]\n 48%|████▊ | 19/40 [00:01<00:02, 9.83it/s]\n 50%|█████ | 20/40 [00:02<00:02, 9.82it/s]\n 52%|█████▎ | 21/40 [00:02<00:01, 9.83it/s]\n 55%|█████▌ | 22/40 [00:02<00:01, 9.86it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 9.88it/s]\n 60%|██████ | 24/40 [00:02<00:01, 9.88it/s]\n 62%|██████▎ | 25/40 [00:02<00:01, 9.89it/s]\n 65%|██████▌ | 26/40 [00:02<00:01, 9.90it/s]\n 68%|██████▊ | 27/40 [00:02<00:01, 9.91it/s]\n 70%|███████ | 28/40 [00:02<00:01, 9.90it/s]\n 72%|███████▎ | 29/40 [00:02<00:01, 9.92it/s]\n 75%|███████▌ | 30/40 [00:03<00:01, 9.92it/s]\n 78%|███████▊ | 31/40 [00:03<00:00, 9.93it/s]\n 80%|████████ | 32/40 [00:03<00:00, 9.93it/s]\n 82%|████████▎ | 33/40 [00:03<00:00, 9.94it/s]\n 85%|████████▌ | 34/40 [00:03<00:00, 9.94it/s]\n 88%|████████▊ | 35/40 [00:03<00:00, 9.93it/s]\n 90%|█████████ | 36/40 [00:03<00:00, 9.94it/s]\n 92%|█████████▎| 37/40 [00:03<00:00, 9.92it/s]\n 95%|█████████▌| 38/40 [00:03<00:00, 9.92it/s]\n 98%|█████████▊| 39/40 [00:03<00:00, 9.93it/s]\n100%|██████████| 40/40 [00:04<00:00, 9.94it/s]\n100%|██████████| 40/40 [00:04<00:00, 9.77it/s]", "metrics": { "predict_time": 9.771, "total_time": 9.811706 }, "output": "https://replicate.delivery/pbxt/x308gM18yf0rdK40jCqfPbTcYUBtJQ2WecO2xNrwk0eS9AfUC/out.png", "started_at": "2024-04-06T13:44:43.675706Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hcvpvpm3edrgp0cepeks6kfx0m", "cancel": "https://api.replicate.com/v1/predictions/hcvpvpm3edrgp0cepeks6kfx0m/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:05, 6.69it/s] 5%|▌ | 2/40 [00:00<00:04, 8.27it/s] 8%|▊ | 3/40 [00:00<00:04, 8.95it/s] 10%|█ | 4/40 [00:00<00:03, 9.29it/s] 12%|█▎ | 5/40 [00:00<00:03, 9.49it/s] 15%|█▌ | 6/40 [00:00<00:03, 9.61it/s] 18%|█▊ | 7/40 [00:00<00:03, 9.70it/s] 20%|██ | 8/40 [00:00<00:03, 9.74it/s] 22%|██▎ | 9/40 [00:00<00:03, 9.76it/s] 25%|██▌ | 10/40 [00:01<00:03, 9.78it/s] 28%|██▊ | 11/40 [00:01<00:02, 9.81it/s] 30%|███ | 12/40 [00:01<00:02, 9.83it/s] 32%|███▎ | 13/40 [00:01<00:02, 9.83it/s] 35%|███▌ | 14/40 [00:01<00:02, 9.83it/s] 38%|███▊ | 15/40 [00:01<00:02, 9.82it/s] 40%|████ | 16/40 [00:01<00:02, 9.83it/s] 42%|████▎ | 17/40 [00:01<00:02, 9.83it/s] 45%|████▌ | 18/40 [00:01<00:02, 9.80it/s] 48%|████▊ | 19/40 [00:01<00:02, 9.83it/s] 50%|█████ | 20/40 [00:02<00:02, 9.82it/s] 52%|█████▎ | 21/40 [00:02<00:01, 9.83it/s] 55%|█████▌ | 22/40 [00:02<00:01, 9.86it/s] 57%|█████▊ | 23/40 [00:02<00:01, 9.88it/s] 60%|██████ | 24/40 [00:02<00:01, 9.88it/s] 62%|██████▎ | 25/40 [00:02<00:01, 9.89it/s] 65%|██████▌ | 26/40 [00:02<00:01, 9.90it/s] 68%|██████▊ | 27/40 [00:02<00:01, 9.91it/s] 70%|███████ | 28/40 [00:02<00:01, 9.90it/s] 72%|███████▎ | 29/40 [00:02<00:01, 9.92it/s] 75%|███████▌ | 30/40 [00:03<00:01, 9.92it/s] 78%|███████▊ | 31/40 [00:03<00:00, 9.93it/s] 80%|████████ | 32/40 [00:03<00:00, 9.93it/s] 82%|████████▎ | 33/40 [00:03<00:00, 9.94it/s] 85%|████████▌ | 34/40 [00:03<00:00, 9.94it/s] 88%|████████▊ | 35/40 [00:03<00:00, 9.93it/s] 90%|█████████ | 36/40 [00:03<00:00, 9.94it/s] 92%|█████████▎| 37/40 [00:03<00:00, 9.92it/s] 95%|█████████▌| 38/40 [00:03<00:00, 9.92it/s] 98%|█████████▊| 39/40 [00:03<00:00, 9.93it/s] 100%|██████████| 40/40 [00:04<00:00, 9.94it/s] 100%|██████████| 40/40 [00:04<00:00, 9.77it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38ID01am2a8wxsrgm0cepensd93av0StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space's openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", "prompt": "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space's openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", prompt: "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space's openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", "prompt": "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space's openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", "prompt": "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space\'s openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg"' \ -i $'prompt="A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space\'s openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", "prompt": "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space\'s openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:48:48.670800Z", "created_at": "2024-04-06T13:48:39.534000Z", "data_removed": false, "error": null, "id": "01am2a8wxsrgm0cepensd93av0", "input": { "image": "https://replicate.delivery/pbxt/KhTXnFfqXLqMP3r56QJLqhqcAzR2usRgcJNl9CUuG71Vsto1/kitchen_3.jpg", "prompt": "A bright and airy coastal-inspired kitchen with a refreshing blue and white color scheme that mirrors the sea and sky. Abundant natural light enhances the space's openness while rattan chairs and sea-themed decor elements bring the beach vibe indoors", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:04, 7.82it/s]\n 8%|▊ | 3/40 [00:00<00:03, 10.20it/s]\n 12%|█▎ | 5/40 [00:00<00:03, 10.78it/s]\n 18%|█▊ | 7/40 [00:00<00:02, 11.03it/s]\n 22%|██▎ | 9/40 [00:00<00:02, 11.16it/s]\n 28%|██▊ | 11/40 [00:01<00:02, 11.21it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 11.27it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 11.30it/s]\n 42%|████▎ | 17/40 [00:01<00:02, 11.34it/s]\n 48%|████▊ | 19/40 [00:01<00:01, 11.36it/s]\n 52%|█████▎ | 21/40 [00:01<00:01, 11.35it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 11.34it/s]\n 62%|██████▎ | 25/40 [00:02<00:01, 11.35it/s]\n 68%|██████▊ | 27/40 [00:02<00:01, 11.37it/s]\n 72%|███████▎ | 29/40 [00:02<00:00, 11.36it/s]\n 78%|███████▊ | 31/40 [00:02<00:00, 11.34it/s]\n 82%|████████▎ | 33/40 [00:02<00:00, 11.35it/s]\n 88%|████████▊ | 35/40 [00:03<00:00, 11.34it/s]\n 92%|█████████▎| 37/40 [00:03<00:00, 11.34it/s]\n 98%|█████████▊| 39/40 [00:03<00:00, 11.33it/s]\n100%|██████████| 40/40 [00:03<00:00, 11.23it/s]", "metrics": { "predict_time": 9.096792, "total_time": 9.1368 }, "output": "https://replicate.delivery/pbxt/eYoOj1js2jRNOyLzGf9103E4hL691nglVcUyq8KcnpmflgPlA/out.png", "started_at": "2024-04-06T13:48:39.574008Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/01am2a8wxsrgm0cepensd93av0", "cancel": "https://api.replicate.com/v1/predictions/01am2a8wxsrgm0cepensd93av0/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:04, 7.82it/s] 8%|▊ | 3/40 [00:00<00:03, 10.20it/s] 12%|█▎ | 5/40 [00:00<00:03, 10.78it/s] 18%|█▊ | 7/40 [00:00<00:02, 11.03it/s] 22%|██▎ | 9/40 [00:00<00:02, 11.16it/s] 28%|██▊ | 11/40 [00:01<00:02, 11.21it/s] 32%|███▎ | 13/40 [00:01<00:02, 11.27it/s] 38%|███▊ | 15/40 [00:01<00:02, 11.30it/s] 42%|████▎ | 17/40 [00:01<00:02, 11.34it/s] 48%|████▊ | 19/40 [00:01<00:01, 11.36it/s] 52%|█████▎ | 21/40 [00:01<00:01, 11.35it/s] 57%|█████▊ | 23/40 [00:02<00:01, 11.34it/s] 62%|██████▎ | 25/40 [00:02<00:01, 11.35it/s] 68%|██████▊ | 27/40 [00:02<00:01, 11.37it/s] 72%|███████▎ | 29/40 [00:02<00:00, 11.36it/s] 78%|███████▊ | 31/40 [00:02<00:00, 11.34it/s] 82%|████████▎ | 33/40 [00:02<00:00, 11.35it/s] 88%|████████▊ | 35/40 [00:03<00:00, 11.34it/s] 92%|█████████▎| 37/40 [00:03<00:00, 11.34it/s] 98%|█████████▊| 39/40 [00:03<00:00, 11.33it/s] 100%|██████████| 40/40 [00:03<00:00, 11.23it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38IDja56frjtk5rgj0cepep8wga7brStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", "prompt": "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", prompt: "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", "prompt": "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", "prompt": "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg"' \ -i 'prompt="A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", "prompt": "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:50:13.546111Z", "created_at": "2024-04-06T13:50:00.857000Z", "data_removed": false, "error": null, "id": "ja56frjtk5rgj0cepep8wga7br", "input": { "image": "https://replicate.delivery/pbxt/KhTZ4ZlP4XKNlifDpjKsBICq9UPosqkRzYfjKrALGGHOnE5s/living_room_1.jpg", "prompt": "A stylish living room embracing mid-century modern aesthetics featuring a vintage teak coffee table at its center complemented by a classic sunburst clock on the wall and a cozy shag rug underfoot creating a warm and inviting atmosphere", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:09, 4.21it/s]\n 5%|▌ | 2/40 [00:00<00:07, 5.30it/s]\n 8%|▊ | 3/40 [00:00<00:06, 5.76it/s]\n 10%|█ | 4/40 [00:00<00:05, 6.02it/s]\n 12%|█▎ | 5/40 [00:00<00:05, 6.16it/s]\n 15%|█▌ | 6/40 [00:01<00:05, 6.24it/s]\n 18%|█▊ | 7/40 [00:01<00:05, 6.30it/s]\n 20%|██ | 8/40 [00:01<00:05, 6.34it/s]\n 22%|██▎ | 9/40 [00:01<00:04, 6.37it/s]\n 25%|██▌ | 10/40 [00:01<00:04, 6.39it/s]\n 28%|██▊ | 11/40 [00:01<00:04, 6.41it/s]\n 30%|███ | 12/40 [00:01<00:04, 6.42it/s]\n 32%|███▎ | 13/40 [00:02<00:04, 6.41it/s]\n 35%|███▌ | 14/40 [00:02<00:04, 6.41it/s]\n 38%|███▊ | 15/40 [00:02<00:03, 6.40it/s]\n 40%|████ | 16/40 [00:02<00:03, 6.42it/s]\n 42%|████▎ | 17/40 [00:02<00:03, 6.42it/s]\n 45%|████▌ | 18/40 [00:02<00:03, 6.42it/s]\n 48%|████▊ | 19/40 [00:03<00:03, 6.41it/s]\n 50%|█████ | 20/40 [00:03<00:03, 6.40it/s]\n 52%|█████▎ | 21/40 [00:03<00:02, 6.41it/s]\n 55%|█████▌ | 22/40 [00:03<00:02, 6.41it/s]\n 57%|█████▊ | 23/40 [00:03<00:02, 6.41it/s]\n 60%|██████ | 24/40 [00:03<00:02, 6.41it/s]\n 62%|██████▎ | 25/40 [00:03<00:02, 6.41it/s]\n 65%|██████▌ | 26/40 [00:04<00:02, 6.40it/s]\n 68%|██████▊ | 27/40 [00:04<00:02, 6.40it/s]\n 70%|███████ | 28/40 [00:04<00:01, 6.40it/s]\n 72%|███████▎ | 29/40 [00:04<00:01, 6.40it/s]\n 75%|███████▌ | 30/40 [00:04<00:01, 6.40it/s]\n 78%|███████▊ | 31/40 [00:04<00:01, 6.40it/s]\n 80%|████████ | 32/40 [00:05<00:01, 6.40it/s]\n 82%|████████▎ | 33/40 [00:05<00:01, 6.40it/s]\n 85%|████████▌ | 34/40 [00:05<00:00, 6.40it/s]\n 88%|████████▊ | 35/40 [00:05<00:00, 6.39it/s]\n 90%|█████████ | 36/40 [00:05<00:00, 6.39it/s]\n 92%|█████████▎| 37/40 [00:05<00:00, 6.39it/s]\n 95%|█████████▌| 38/40 [00:06<00:00, 6.40it/s]\n 98%|█████████▊| 39/40 [00:06<00:00, 6.40it/s]\n100%|██████████| 40/40 [00:06<00:00, 6.41it/s]\n100%|██████████| 40/40 [00:06<00:00, 6.33it/s]", "metrics": { "predict_time": 12.649448, "total_time": 12.689111 }, "output": "https://replicate.delivery/pbxt/zK2dXEDtAAIkKJfjExl6JAONYi6E0IdtvmHa6eX1LyEUUwnSA/out.png", "started_at": "2024-04-06T13:50:00.896663Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ja56frjtk5rgj0cepep8wga7br", "cancel": "https://api.replicate.com/v1/predictions/ja56frjtk5rgj0cepep8wga7br/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:09, 4.21it/s] 5%|▌ | 2/40 [00:00<00:07, 5.30it/s] 8%|▊ | 3/40 [00:00<00:06, 5.76it/s] 10%|█ | 4/40 [00:00<00:05, 6.02it/s] 12%|█▎ | 5/40 [00:00<00:05, 6.16it/s] 15%|█▌ | 6/40 [00:01<00:05, 6.24it/s] 18%|█▊ | 7/40 [00:01<00:05, 6.30it/s] 20%|██ | 8/40 [00:01<00:05, 6.34it/s] 22%|██▎ | 9/40 [00:01<00:04, 6.37it/s] 25%|██▌ | 10/40 [00:01<00:04, 6.39it/s] 28%|██▊ | 11/40 [00:01<00:04, 6.41it/s] 30%|███ | 12/40 [00:01<00:04, 6.42it/s] 32%|███▎ | 13/40 [00:02<00:04, 6.41it/s] 35%|███▌ | 14/40 [00:02<00:04, 6.41it/s] 38%|███▊ | 15/40 [00:02<00:03, 6.40it/s] 40%|████ | 16/40 [00:02<00:03, 6.42it/s] 42%|████▎ | 17/40 [00:02<00:03, 6.42it/s] 45%|████▌ | 18/40 [00:02<00:03, 6.42it/s] 48%|████▊ | 19/40 [00:03<00:03, 6.41it/s] 50%|█████ | 20/40 [00:03<00:03, 6.40it/s] 52%|█████▎ | 21/40 [00:03<00:02, 6.41it/s] 55%|█████▌ | 22/40 [00:03<00:02, 6.41it/s] 57%|█████▊ | 23/40 [00:03<00:02, 6.41it/s] 60%|██████ | 24/40 [00:03<00:02, 6.41it/s] 62%|██████▎ | 25/40 [00:03<00:02, 6.41it/s] 65%|██████▌ | 26/40 [00:04<00:02, 6.40it/s] 68%|██████▊ | 27/40 [00:04<00:02, 6.40it/s] 70%|███████ | 28/40 [00:04<00:01, 6.40it/s] 72%|███████▎ | 29/40 [00:04<00:01, 6.40it/s] 75%|███████▌ | 30/40 [00:04<00:01, 6.40it/s] 78%|███████▊ | 31/40 [00:04<00:01, 6.40it/s] 80%|████████ | 32/40 [00:05<00:01, 6.40it/s] 82%|████████▎ | 33/40 [00:05<00:01, 6.40it/s] 85%|████████▌ | 34/40 [00:05<00:00, 6.40it/s] 88%|████████▊ | 35/40 [00:05<00:00, 6.39it/s] 90%|█████████ | 36/40 [00:05<00:00, 6.39it/s] 92%|█████████▎| 37/40 [00:05<00:00, 6.39it/s] 95%|█████████▌| 38/40 [00:06<00:00, 6.40it/s] 98%|█████████▊| 39/40 [00:06<00:00, 6.40it/s] 100%|██████████| 40/40 [00:06<00:00, 6.41it/s] 100%|██████████| 40/40 [00:06<00:00, 6.33it/s]
Prediction
adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38ID48g9gcgvvxrgj0cepepta5hgywStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light
- guidance_scale
- 15
- negative_prompt
- lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "image": "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", "prompt": "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }
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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", { input: { image: "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", prompt: "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", guidance_scale: 15, negative_prompt: "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", prompt_strength: 0.8, num_inference_steps: 50 } } ); // 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 adirik/interior-design using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", input={ "image": "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", "prompt": "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run adirik/interior-design 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": "adirik/interior-design:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38", "input": { "image": "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", "prompt": "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ 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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38 \ -i 'image="https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg"' \ -i 'prompt="A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light"' \ -i 'guidance_scale=15' \ -i 'negative_prompt="lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic"' \ -i 'prompt_strength=0.8' \ -i 'num_inference_steps=50'
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/adirik/interior-design@sha256:76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", "prompt": "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2024-04-06T13:51:02.777935Z", "created_at": "2024-04-06T13:50:50.335000Z", "data_removed": false, "error": null, "id": "48g9gcgvvxrgj0cepepta5hgyw", "input": { "image": "https://replicate.delivery/pbxt/KhTZoayqtX2fH2sWBF64G1X2MwBbAkTBRnENw17pUOOfoqe3/living_room_2.jpg", "prompt": "A breezy coastal-inspired living room with a comfy white slipcovered sofa inviting relaxation. The natural textures of a jute rug and driftwood decor pieces echo the seaside vibe while sea glass accents add a splash of color and light", "guidance_scale": 15, "negative_prompt": "lowres, watermark, banner, logo, watermark, contactinfo, text, deformed, blurry, blur, out of focus, out of frame, surreal, extra, ugly, upholstered walls, fabric walls, plush walls, mirror, mirrored, functional, realistic", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "0%| | 0/40 [00:00<?, ?it/s]\n 2%|▎ | 1/40 [00:00<00:05, 7.21it/s]\n 8%|▊ | 3/40 [00:00<00:03, 9.43it/s]\n 12%|█▎ | 5/40 [00:00<00:03, 9.98it/s]\n 18%|█▊ | 7/40 [00:00<00:03, 10.21it/s]\n 22%|██▎ | 9/40 [00:00<00:02, 10.36it/s]\n 28%|██▊ | 11/40 [00:01<00:02, 10.42it/s]\n 32%|███▎ | 13/40 [00:01<00:02, 10.49it/s]\n 38%|███▊ | 15/40 [00:01<00:02, 10.52it/s]\n 42%|████▎ | 17/40 [00:01<00:02, 10.55it/s]\n 48%|████▊ | 19/40 [00:01<00:01, 10.55it/s]\n 52%|█████▎ | 21/40 [00:02<00:01, 10.54it/s]\n 57%|█████▊ | 23/40 [00:02<00:01, 10.55it/s]\n 62%|██████▎ | 25/40 [00:02<00:01, 10.56it/s]\n 68%|██████▊ | 27/40 [00:02<00:01, 10.57it/s]\n 72%|███████▎ | 29/40 [00:02<00:01, 10.58it/s]\n 78%|███████▊ | 31/40 [00:02<00:00, 10.56it/s]\n 82%|████████▎ | 33/40 [00:03<00:00, 10.56it/s]\n 88%|████████▊ | 35/40 [00:03<00:00, 10.56it/s]\n 92%|█████████▎| 37/40 [00:03<00:00, 10.56it/s]\n 98%|█████████▊| 39/40 [00:03<00:00, 10.57it/s]\n100%|██████████| 40/40 [00:03<00:00, 10.45it/s]", "metrics": { "predict_time": 12.402832, "total_time": 12.442935 }, "output": "https://replicate.delivery/pbxt/xAXXfu10bMzyJ6yLy7R7QRUtzuKS8JmIFJUWbupgDMmiK4TJA/out.png", "started_at": "2024-04-06T13:50:50.375103Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/48g9gcgvvxrgj0cepepta5hgyw", "cancel": "https://api.replicate.com/v1/predictions/48g9gcgvvxrgj0cepepta5hgyw/cancel" }, "version": "76604baddc85b1b4616e1c6475eca080da339c8875bd4996705440484a6eac38" }
Generated in0%| | 0/40 [00:00<?, ?it/s] 2%|▎ | 1/40 [00:00<00:05, 7.21it/s] 8%|▊ | 3/40 [00:00<00:03, 9.43it/s] 12%|█▎ | 5/40 [00:00<00:03, 9.98it/s] 18%|█▊ | 7/40 [00:00<00:03, 10.21it/s] 22%|██▎ | 9/40 [00:00<00:02, 10.36it/s] 28%|██▊ | 11/40 [00:01<00:02, 10.42it/s] 32%|███▎ | 13/40 [00:01<00:02, 10.49it/s] 38%|███▊ | 15/40 [00:01<00:02, 10.52it/s] 42%|████▎ | 17/40 [00:01<00:02, 10.55it/s] 48%|████▊ | 19/40 [00:01<00:01, 10.55it/s] 52%|█████▎ | 21/40 [00:02<00:01, 10.54it/s] 57%|█████▊ | 23/40 [00:02<00:01, 10.55it/s] 62%|██████▎ | 25/40 [00:02<00:01, 10.56it/s] 68%|██████▊ | 27/40 [00:02<00:01, 10.57it/s] 72%|███████▎ | 29/40 [00:02<00:01, 10.58it/s] 78%|███████▊ | 31/40 [00:02<00:00, 10.56it/s] 82%|████████▎ | 33/40 [00:03<00:00, 10.56it/s] 88%|████████▊ | 35/40 [00:03<00:00, 10.56it/s] 92%|█████████▎| 37/40 [00:03<00:00, 10.56it/s] 98%|█████████▊| 39/40 [00:03<00:00, 10.57it/s] 100%|██████████| 40/40 [00:03<00:00, 10.45it/s]
Want to make some of these yourself?
Run this model