cd /news/generative-ai/garden-visualizer-would-results-impr… · home topics generative-ai article
[ARTICLE · art-16001] src=dev.to pub= topic=generative-ai verified=true sentiment=↑ positive

Garden Visualizer - Would Results Improve Using Example Images? (Screenshots Included)

A developer building a garden visualizer for homeowners found that using example images as prompts produced more realistic results than text descriptions alone. By sending positive and negative reference images to GPT alongside layout constraints, the tool generated achievable garden designs rather than unrealistic fantasy scenes. The developer created a test script to easily experiment with different image combinations without modifying source code.

read1 min publishedMay 28, 2026

In creating a garden visualizer to help home owners with their landscape decisions, I assumed that I needed to "program" the text prompt perfectly in order to give good results. So spending time tweaking the text descriptions seems natural.

However, after a few days learning about context engineering, I realised I could just send example images and describe what I like or dislike about them. That makes it a lot easier!! Both for me and for GPT!

Could you give me an idea of how I could transform this area of the property to have a nicer garden?

Please don't change any of the layout and proportions nor points of view.

Please don't add extra buildings or structures either.

Result

Conclusion: it looks very nice, but quite unrealistic... home owners probably won't be able to know where to start to achieve it!

Positive example image

Use it as a style guide, eg the realism style, the lawns (restricted and tidy), the sunlight, the homeliness, and simple yet elegant furniture. Not expensive. And not gardening magazine fantasy.

Negative example image

Do not match its unrealistic look, expensive furniture, perfect edges, storybook-like texture.

With 2 images as part of the parameters, I got a more achievable, yet still inspiring image:

I think it has picked up from the positive example: lawns, lighting, realism, and the simple furniture. From the negative, it got rid of the large qualities of flowers, and exclude expensive furniture.

To easily test different variations, I have a test script

test-image-edit.mjs

// And run it like so:
npm run test:image-edit -- -i public/images/messy_garden2.png --positive public/images/positive.jpeg --negative public/images/too_perfect.jpg -o scripts/output/test_output

This enables me to add images as parameters, so in the future I can play with different variations easily, without changing the source code constantly!

── more in #generative-ai 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/garden-visualizer-wo…] indexed:0 read:1min 2026-05-28 ·