Face Generator MCP Server logo

Face Generator MCP Server

by dasheck0

The Face Generator MCP Server generates human face images using data from thispersondoesnotexist.com. It can be used as a Model Context Protocol (MCP) server to create realistic faces.

View on GitHub

Last updated: N/A

What is Face Generator MCP Server?

This is a Model Context Protocol (MCP) server that generates realistic human face images using the thispersondoesnotexist.com website. It allows users to generate faces with configurable shapes, dimensions, and batch sizes.

How to use Face Generator MCP Server?

To use the server, first install it using npm install @dasheck0/face-generator. Then, start the server with npx face-generator. Finally, use an MCP client to send requests to the generate_face tool with the desired parameters, such as output directory, file name, count, width, height, shape, and border radius.

Key features of Face Generator MCP Server

  • Generate human face images

  • Multiple output shapes (square, circle, rounded rectangle)

  • Configurable image dimensions

  • Transparent backgrounds for non-square shapes

  • Batch generation of multiple images

Use cases of Face Generator MCP Server

  • Generating avatars for applications

  • Creating synthetic datasets for machine learning

  • Populating virtual worlds with diverse characters

  • Generating placeholder images for design mockups

FAQ from Face Generator MCP Server

What is the default image shape?

The default image shape is square.

What is the default number of images generated?

The default number of images generated is 1.

What are the required parameters?

The only required parameter is outputDir, which specifies the directory to save the generated images.

Can I specify the file name for the generated images?

Yes, you can use the fileName parameter to specify the file name. If not provided, a timestamp will be used as the default file name.

What license is this project under?

This project is licensed under the MIT License.