Here is the village
You create a super flat world and leave "Generate Structures" on.
Go flat-world and structure generate on
What is a super flat world
Very easily. At least when you play the Java edition. You create a flat world under world settings when creating the map, but leave structures spawn on.
Create game → Customize
There you will find the settings for the world type.
You create a new world - and go to "More World Options":
Then you select super flat, enter a special seed (if the village is to be nearby, other seeds see the Internet) and make sure that the structures (villages, temples, etc.) are ON.
Then you create the new world and you will see a little way away is a village in a flat world:
Then you click on the star above my answer if it worked (because I really put a lot of effort into it) - if it didn't work, write a comment and I'll try to help you.
Flat land
And on bedrock edition
Just go to Create New World on World Type Flat
Uhh. So to create a Flatworld in general I recommend the Blocktopograph app. There are two versions, one from the Playstore and one from the manufacturers, you just have to google them. In one version there's a + in the bottom right, you can create flatworlds. I recommend the app to everyone anyway, because you can analyze your world really well by clicking on the world. With villages there's no way I think, you just have to google. I don't know.