doobls-ai/interor-2
interor-2
Prediction
doobls-ai/interor-2:91f2ef63c76a73d2ec4c67cf7b2a9672e074046cf4fde1d98e46a5829f7ea68bIDm0yeqsa6g9rmc0ckpqkr154220StatusSucceededSourceWebHardwareH100Total durationCreatedInput
- model
- dev
- prompt
- interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting. Within arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.
- go_fast
- lora_scale
- 1
- megapixels
- 1
- num_outputs
- 3
- aspect_ratio
- 1:1
- output_format
- webp
- guidance_scale
- 3
- output_quality
- 80
- prompt_strength
- 0.8
- extra_lora_scale
- 1
- num_inference_steps
- 28
{ "model": "dev", "prompt": "interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting.\n\nWithin arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }
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 doobls-ai/interor-2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "doobls-ai/interor-2:91f2ef63c76a73d2ec4c67cf7b2a9672e074046cf4fde1d98e46a5829f7ea68b", { input: { model: "dev", prompt: "interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting.\n\nWithin arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.", go_fast: false, lora_scale: 1, megapixels: "1", num_outputs: 3, aspect_ratio: "1:1", output_format: "webp", guidance_scale: 3, output_quality: 80, prompt_strength: 0.8, extra_lora_scale: 1, num_inference_steps: 28 } } ); // 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 doobls-ai/interor-2 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "doobls-ai/interor-2:91f2ef63c76a73d2ec4c67cf7b2a9672e074046cf4fde1d98e46a5829f7ea68b", input={ "model": "dev", "prompt": "interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting.\n\nWithin arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.", "go_fast": False, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } ) # 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 doobls-ai/interor-2 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": "doobls-ai/interor-2:91f2ef63c76a73d2ec4c67cf7b2a9672e074046cf4fde1d98e46a5829f7ea68b", "input": { "model": "dev", "prompt": "interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting.\\n\\nWithin arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-12-11T13:27:54.312124Z", "created_at": "2024-12-11T13:27:33.250000Z", "data_removed": false, "error": null, "id": "m0yeqsa6g9rmc0ckpqkr154220", "input": { "model": "dev", "prompt": "interior-2 Imagine a modern office room designed for productivity and comfort. A central desk faces the entrance, equipped with a computer setup: a monitor, keyboard, and mouse. To the right of the monitor, there’s a pen holder filled with writing tools and a notepad beside it. On the left, a framed photograph adds a personal touch, while a desk lamp in the far-left corner provides focused lighting.\n\nWithin arm’s reach on the right side stands a filing cabinet, while a nearby printer station includes a paper supply shelf. A cozy seating area with two chairs and a small coffee table is positioned in the opposite corner from the entrance. Against the left wall, a bookshelf displays books and decorative items. Behind the desk, a mounted whiteboard offers space for quick notes and brainstorming sessions.", "go_fast": false, "lora_scale": 1, "megapixels": "1", "num_outputs": 3, "aspect_ratio": "1:1", "output_format": "webp", "guidance_scale": 3, "output_quality": 80, "prompt_strength": 0.8, "extra_lora_scale": 1, "num_inference_steps": 28 }, "logs": "2024-12-11 13:27:33.282 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-11 13:27:33.282 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2819.83it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2693.95it/s]\n2024-12-11 13:27:33.395 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s\nfree=29030582161408\nDownloading weights\n2024-12-11T13:27:33Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_m0z9zh9/weights url=https://replicate.delivery/xezq/AF86GWRJlv7aIRYeAUIfANkEzDlJcihKI371On0siG2e7CznA/trained_model.tar\n2024-12-11T13:27:36Z | INFO | [ Complete ] dest=/tmp/tmp_m0z9zh9/weights size=\"172 MB\" total_elapsed=2.681s url=https://replicate.delivery/xezq/AF86GWRJlv7aIRYeAUIfANkEzDlJcihKI371On0siG2e7CznA/trained_model.tar\nDownloaded weights in 2.71s\n2024-12-11 13:27:36.104 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/02f533e00577f63e\n2024-12-11 13:27:36.178 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded\n2024-12-11 13:27:36.179 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys\n2024-12-11 13:27:36.179 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted\nApplying LoRA: 0%| | 0/304 [00:00<?, ?it/s]\nApplying LoRA: 93%|█████████▎| 283/304 [00:00<00:00, 2787.17it/s]\nApplying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2696.24it/s]\n2024-12-11 13:27:36.292 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s\nUsing seed: 63678\n0it [00:00, ?it/s]\n1it [00:00, 8.36it/s]\n2it [00:00, 5.86it/s]\n3it [00:00, 5.34it/s]\n4it [00:00, 5.13it/s]\n5it [00:00, 5.02it/s]\n6it [00:01, 4.95it/s]\n7it [00:01, 4.91it/s]\n8it [00:01, 4.88it/s]\n9it [00:01, 4.86it/s]\n10it [00:01, 4.85it/s]\n11it [00:02, 4.85it/s]\n12it [00:02, 4.84it/s]\n13it [00:02, 4.84it/s]\n14it [00:02, 4.83it/s]\n15it [00:03, 4.83it/s]\n16it [00:03, 4.83it/s]\n17it [00:03, 4.83it/s]\n18it [00:03, 4.83it/s]\n19it [00:03, 4.83it/s]\n20it [00:04, 4.83it/s]\n21it [00:04, 4.83it/s]\n22it [00:04, 4.83it/s]\n23it [00:04, 4.83it/s]\n24it [00:04, 4.83it/s]\n25it [00:05, 4.82it/s]\n26it [00:05, 4.82it/s]\n27it [00:05, 4.82it/s]\n28it [00:05, 4.82it/s]\n28it [00:05, 4.90it/s]\n0it [00:00, ?it/s]\n1it [00:00, 4.87it/s]\n2it [00:00, 4.85it/s]\n3it [00:00, 4.83it/s]\n4it [00:00, 4.83it/s]\n5it [00:01, 4.83it/s]\n6it [00:01, 4.83it/s]\n7it [00:01, 4.83it/s]\n8it [00:01, 4.82it/s]\n9it [00:01, 4.82it/s]\n10it [00:02, 4.82it/s]\n11it [00:02, 4.81it/s]\n12it [00:02, 4.81it/s]\n13it [00:02, 4.82it/s]\n14it [00:02, 4.82it/s]\n15it [00:03, 4.82it/s]\n16it [00:03, 4.82it/s]\n17it [00:03, 4.82it/s]\n18it [00:03, 4.83it/s]\n19it [00:03, 4.82it/s]\n20it [00:04, 4.83it/s]\n21it [00:04, 4.83it/s]\n22it [00:04, 4.82it/s]\n23it [00:04, 4.82it/s]\n24it [00:04, 4.82it/s]\n25it [00:05, 4.82it/s]\n26it [00:05, 4.83it/s]\n27it [00:05, 4.82it/s]\n28it [00:05, 4.82it/s]\n28it [00:05, 4.82it/s]\n0it [00:00, ?it/s]\n1it [00:00, 4.89it/s]\n2it [00:00, 4.84it/s]\n3it [00:00, 4.83it/s]\n4it [00:00, 4.82it/s]\n5it [00:01, 4.82it/s]\n6it [00:01, 4.82it/s]\n7it [00:01, 4.82it/s]\n8it [00:01, 4.82it/s]\n9it [00:01, 4.81it/s]\n10it [00:02, 4.82it/s]\n11it [00:02, 4.81it/s]\n12it [00:02, 4.81it/s]\n13it [00:02, 4.81it/s]\n14it [00:02, 4.82it/s]\n15it [00:03, 4.82it/s]\n16it [00:03, 4.82it/s]\n17it [00:03, 4.82it/s]\n18it [00:03, 4.82it/s]\n19it [00:03, 4.82it/s]\n20it [00:04, 4.81it/s]\n21it [00:04, 4.81it/s]\n22it [00:04, 4.81it/s]\n23it [00:04, 4.81it/s]\n24it [00:04, 4.81it/s]\n25it [00:05, 4.80it/s]\n26it [00:05, 4.81it/s]\n27it [00:05, 4.81it/s]\n28it [00:05, 4.82it/s]\n28it [00:05, 4.82it/s]\nTotal safe images: 3 out of 3", "metrics": { "predict_time": 21.029729195, "total_time": 21.062124 }, "output": [ "https://replicate.delivery/xezq/2WRt1WGNgmosFZRfefFkGpeKj70uFTBOmeV0DanbFXfqWFdeJA/out-0.webp", "https://replicate.delivery/xezq/nIhSWBCnI5rdKlYNehEOdoCziT9CvGnzqGl2Q4DCcyHtK68JA/out-1.webp", "https://replicate.delivery/xezq/zY4R9OtwFNJvABnY7Hvq0IDfKj0XERAzQ8b7i6jhoODtK68JA/out-2.webp" ], "started_at": "2024-12-11T13:27:33.282395Z", "status": "succeeded", "urls": { "stream": "https://stream.replicate.com/v1/files/bcwr-ovjq65cygmknjobprt2nt4hrepbzijyok7lcv63id3ujujpoxrrq", "get": "https://api.replicate.com/v1/predictions/m0yeqsa6g9rmc0ckpqkr154220", "cancel": "https://api.replicate.com/v1/predictions/m0yeqsa6g9rmc0ckpqkr154220/cancel" }, "version": "91f2ef63c76a73d2ec4c67cf7b2a9672e074046cf4fde1d98e46a5829f7ea68b" }
Generated in2024-12-11 13:27:33.282 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-11 13:27:33.282 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 282/304 [00:00<00:00, 2819.83it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2693.95it/s] 2024-12-11 13:27:33.395 | SUCCESS | fp8.lora_loading:unload_loras:564 - LoRAs unloaded in 0.11s free=29030582161408 Downloading weights 2024-12-11T13:27:33Z | INFO | [ Initiating ] chunk_size=150M dest=/tmp/tmp_m0z9zh9/weights url=https://replicate.delivery/xezq/AF86GWRJlv7aIRYeAUIfANkEzDlJcihKI371On0siG2e7CznA/trained_model.tar 2024-12-11T13:27:36Z | INFO | [ Complete ] dest=/tmp/tmp_m0z9zh9/weights size="172 MB" total_elapsed=2.681s url=https://replicate.delivery/xezq/AF86GWRJlv7aIRYeAUIfANkEzDlJcihKI371On0siG2e7CznA/trained_model.tar Downloaded weights in 2.71s 2024-12-11 13:27:36.104 | INFO | fp8.lora_loading:convert_lora_weights:498 - Loading LoRA weights for /src/weights-cache/02f533e00577f63e 2024-12-11 13:27:36.178 | INFO | fp8.lora_loading:convert_lora_weights:519 - LoRA weights loaded 2024-12-11 13:27:36.179 | DEBUG | fp8.lora_loading:apply_lora_to_model:574 - Extracting keys 2024-12-11 13:27:36.179 | DEBUG | fp8.lora_loading:apply_lora_to_model:581 - Keys extracted Applying LoRA: 0%| | 0/304 [00:00<?, ?it/s] Applying LoRA: 93%|█████████▎| 283/304 [00:00<00:00, 2787.17it/s] Applying LoRA: 100%|██████████| 304/304 [00:00<00:00, 2696.24it/s] 2024-12-11 13:27:36.292 | SUCCESS | fp8.lora_loading:load_lora:539 - LoRA applied in 0.19s Using seed: 63678 0it [00:00, ?it/s] 1it [00:00, 8.36it/s] 2it [00:00, 5.86it/s] 3it [00:00, 5.34it/s] 4it [00:00, 5.13it/s] 5it [00:00, 5.02it/s] 6it [00:01, 4.95it/s] 7it [00:01, 4.91it/s] 8it [00:01, 4.88it/s] 9it [00:01, 4.86it/s] 10it [00:01, 4.85it/s] 11it [00:02, 4.85it/s] 12it [00:02, 4.84it/s] 13it [00:02, 4.84it/s] 14it [00:02, 4.83it/s] 15it [00:03, 4.83it/s] 16it [00:03, 4.83it/s] 17it [00:03, 4.83it/s] 18it [00:03, 4.83it/s] 19it [00:03, 4.83it/s] 20it [00:04, 4.83it/s] 21it [00:04, 4.83it/s] 22it [00:04, 4.83it/s] 23it [00:04, 4.83it/s] 24it [00:04, 4.83it/s] 25it [00:05, 4.82it/s] 26it [00:05, 4.82it/s] 27it [00:05, 4.82it/s] 28it [00:05, 4.82it/s] 28it [00:05, 4.90it/s] 0it [00:00, ?it/s] 1it [00:00, 4.87it/s] 2it [00:00, 4.85it/s] 3it [00:00, 4.83it/s] 4it [00:00, 4.83it/s] 5it [00:01, 4.83it/s] 6it [00:01, 4.83it/s] 7it [00:01, 4.83it/s] 8it [00:01, 4.82it/s] 9it [00:01, 4.82it/s] 10it [00:02, 4.82it/s] 11it [00:02, 4.81it/s] 12it [00:02, 4.81it/s] 13it [00:02, 4.82it/s] 14it [00:02, 4.82it/s] 15it [00:03, 4.82it/s] 16it [00:03, 4.82it/s] 17it [00:03, 4.82it/s] 18it [00:03, 4.83it/s] 19it [00:03, 4.82it/s] 20it [00:04, 4.83it/s] 21it [00:04, 4.83it/s] 22it [00:04, 4.82it/s] 23it [00:04, 4.82it/s] 24it [00:04, 4.82it/s] 25it [00:05, 4.82it/s] 26it [00:05, 4.83it/s] 27it [00:05, 4.82it/s] 28it [00:05, 4.82it/s] 28it [00:05, 4.82it/s] 0it [00:00, ?it/s] 1it [00:00, 4.89it/s] 2it [00:00, 4.84it/s] 3it [00:00, 4.83it/s] 4it [00:00, 4.82it/s] 5it [00:01, 4.82it/s] 6it [00:01, 4.82it/s] 7it [00:01, 4.82it/s] 8it [00:01, 4.82it/s] 9it [00:01, 4.81it/s] 10it [00:02, 4.82it/s] 11it [00:02, 4.81it/s] 12it [00:02, 4.81it/s] 13it [00:02, 4.81it/s] 14it [00:02, 4.82it/s] 15it [00:03, 4.82it/s] 16it [00:03, 4.82it/s] 17it [00:03, 4.82it/s] 18it [00:03, 4.82it/s] 19it [00:03, 4.82it/s] 20it [00:04, 4.81it/s] 21it [00:04, 4.81it/s] 22it [00:04, 4.81it/s] 23it [00:04, 4.81it/s] 24it [00:04, 4.81it/s] 25it [00:05, 4.80it/s] 26it [00:05, 4.81it/s] 27it [00:05, 4.81it/s] 28it [00:05, 4.82it/s] 28it [00:05, 4.82it/s] Total safe images: 3 out of 3
Want to make some of these yourself?
Run this model