Skip to main content
Glama

人脸生成器 MCP 服务器

使用https://thispersondoesnotexist.com生成人脸图像的模型上下文协议 (MCP) 服务器。

特征

  • 生成人脸图像

  • 多种输出形状:正方形、圆形、圆角矩形

  • 可配置图像尺寸

  • 非方形的透明背景

  • 批量生成多幅图像

Related MCP server: Gemini MCP Image Generation Server

安装

npm install @dasheck0/face-generator

用法

作为 MCP 服务器

  1. 启动服务器:

npx face-generator
  1. 通过 MCP 客户端使用generate_face工具。

工具参数

  • outputDir :(必需)保存图像的目录

  • fileName :可选文件名(默认为时间戳)

  • count :要生成的图像数量(默认值:1)

  • width :图像宽度(以像素为单位)(默认值:256)

  • height :图像高度(以像素为单位)(默认值:256)

  • shape :图像形状(方形|圆形|圆形,默认:方形)

  • borderRadius :圆角的边框半径(默认值:32)

例子

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

执照

麻省理工学院

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dasheck0/face-generator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server