Socket
Book a DemoInstallSign in
Socket

@dasheck0/face-generator

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dasheck0/face-generator

MCP server for generating human face images with various shapes and sizes

1.0.1
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source

Face Generator MCP Server

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

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

  • Start the server:
npx face-generator
  • 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

Keywords

mcp

FAQs

Package last updated on 28 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.