i didn’t know how google search works well, but when i type text i got related images.
same search case i will try to build using AI transformers model.
it involves finding text and image embeddings and find cosine similarity, better score close to 1 leads to result.
lets have fun building  
Sample -