Vexillologist: wikipedia
No AI involved. We get the description of a flag by fetching
https://en.wikipedia.org/api/rest_v1/page/html/Flag_of_${name}
and doing some parsing magic to convert it to markdown. Then we find out the flag SVG url by fetchinghttps://en.wikipedia.org/api/rest_v1/page/media-list/Flag_of_${name}
andhttps://commons.wikimedia.org/w/api.php?action=query&format=json&prop=imageinfo&titles=${fileName}&redirects=1&formatversion=2&iiprop=url
, before we downlad the SVG.