Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

face-generator

MCP.Pizza Chef: dasheck0

The Face Generator MCP server creates realistic human face images using the AI-powered source https://thispersondoesnotexist.com. It supports multiple output shapes including square, circle, and rounded rectangle, with configurable image dimensions and transparent backgrounds for non-square shapes. The server enables batch generation of images, making it ideal for AI applications requiring diverse human face visuals. Easily installed via npm and started with a simple command, it integrates seamlessly with MCP clients through the `generate_face` tool, allowing users to specify output directory, file naming, image count, and size parameters.

Use This MCP server To

Generate realistic human face images for AI training Create avatars with customizable shapes and sizes Batch produce diverse face images for datasets Generate transparent background faces for UI design Automate face image creation in AI workflows

README

Face Generator MCP Server

A Model Context Protocol (MCP) server for generating human face images using https://thispersondoesnotexist.com.

Face Generator Server MCP server

Features

  • 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

Installation

npm install @dasheck0/face-generator

Usage

As an MCP Server

  1. Start the server:
npx face-generator
  1. Use the generate_face tool through an MCP client.

Tool Parameters

  • outputDir: (required) Directory to save the images
  • fileName: Optional file name (defaults to timestamp)
  • count: Number of images to generate (default: 1)
  • width: Image width in pixels (default: 256)
  • height: Image height in pixels (default: 256)
  • shape: Image shape (square|circle|rounded, default: square)
  • borderRadius: Border radius for rounded shape (default: 32)

Example

{
  "outputDir": "./output",
  "count": 3,
  "width": 512,
  "height": 512,
  "shape": "circle"
}

License

MIT

face-generator FAQ

How do I install the Face Generator MCP server?
Install it via npm using `npm install @dasheck0/face-generator`.
How do I start the Face Generator server?
Run `npx face-generator` to start the MCP server.
How can I specify the number of face images to generate?
Use the `count` parameter in the `generate_face` tool to set the number of images.
Can I customize the image dimensions?
Yes, specify `width` and `height` parameters to set image size.
Does the server support different image shapes?
Yes, it supports square, circle, and rounded rectangle shapes.
Can I generate images with transparent backgrounds?
Yes, transparent backgrounds are available for non-square shapes.
How do I save generated images to a specific folder?
Use the `outputDir` parameter to specify the directory for saving images.
Is batch generation supported?
Yes, you can generate multiple images in one batch using the `count` parameter.
Can I specify custom file names for generated images?
Yes, the `fileName` parameter allows custom naming; otherwise, timestamps are used.
What AI source does the Face Generator use?
It uses images generated from https://thispersondoesnotexist.com.