# Have an agent build a Space

Your agent builds this canvas in Spacelab for you. Connect Sloosh to your agent, describe the Space, and read what it built.

Web page: https://sloosh.ai/docs/learn/tutorials/agent-build

Advanced · 6 min · Shape: Edit a photo

**Bring**: Sloosh connected to your agent

## Steps

1. **Start a new canvas**: Open Spacelab to get an empty canvas. You will add 5 nodes and 4 wires.
2. **Add Image Input: Photo**: One image.
3. **Add Prompt**: Text you write on the node, passed on to a model.

   > Keep the building exactly the same. Blue hour sky, warm lights in the windows.
4. **Add Image Model: Edit**: Makes an image from a prompt and, optionally, reference images. Wire Photo and Prompt into it.
5. **Add Image Resize**: Resizes an image to exact pixels. Wire Edit into it.
6. **Add Download**: Wire images and videos into it and it gives you a download button on the canvas. Wire Image Resize into it.
7. **Press Run**: Press Run. Each node waits for its inputs, then runs and shows its status.
8. **Check the result**: Your agent builds this canvas in Spacelab for you. Connect Sloosh to your agent, describe the Space, and read what it built.
9. **Your turn**: Run it again, move the nodes around and try a wrong wire: the canvas only connects ports that fit. It is your canvas now.

## Try next

- [Day to dusk listing photos](https://sloosh.ai/docs/learn/tutorials/day-to-dusk.md): A blue hour version of one listing photo, resized for the listing. Start from a single daylight photo and build the Space in Spacelab.
- [Tidy room photos](https://sloosh.ai/docs/learn/tutorials/clean-room.md): The same room with the clutter gone and every fixture kept. Run room photos through one Space that tidies them and keeps the layout.

[All tutorials](https://sloosh.ai/docs/learn.md)
