generate_face
Create realistic human face images with customizable dimensions, shapes, and batch options. Save or export images in user-specified formats for diverse applications.
Instructions
Generate and save a human face image
Input Schema
Name | Required | Description | Default |
---|---|---|---|
borderRadius | No | Border radius for rounded shape (default: 32) | |
count | No | Number of images to generate (default: 1) | |
fileName | No | Optional file name (defaults to timestamp) | 1755515512893.png |
height | No | Height of the image in pixels (default: 256) | |
outputDir | Yes | Directory to save the image | |
returnImageContent | No | Return image as base64 encoded content instead of file path (default: false) | |
shape | No | Image shape (square|circle|rounded, default: square) | square |
width | No | Width of the image in pixels (default: 256) |
Input Schema (JSON Schema)
{
"properties": {
"borderRadius": {
"default": 32,
"description": "Border radius for rounded shape (default: 32)",
"maximum": 512,
"minimum": 0,
"type": "number"
},
"count": {
"default": 1,
"description": "Number of images to generate (default: 1)",
"maximum": 10,
"minimum": 1,
"type": "number"
},
"fileName": {
"default": "1755515512893.png",
"description": "Optional file name (defaults to timestamp)",
"type": "string"
},
"height": {
"default": 256,
"description": "Height of the image in pixels (default: 256)",
"maximum": 1024,
"minimum": 64,
"type": "number"
},
"outputDir": {
"description": "Directory to save the image",
"type": "string"
},
"returnImageContent": {
"default": false,
"description": "Return image as base64 encoded content instead of file path (default: false)",
"type": "boolean"
},
"shape": {
"default": "square",
"description": "Image shape (square|circle|rounded, default: square)",
"enum": [
"square",
"circle",
"rounded"
],
"type": "string"
},
"width": {
"default": 256,
"description": "Width of the image in pixels (default: 256)",
"maximum": 1024,
"minimum": 64,
"type": "number"
}
},
"required": [
"outputDir"
],
"type": "object"
}