portrait_image
Generate portrait AI images (1024x1536) from text prompts using customizable models and quality settings.
Instructions
Generate a portrait AI image (1024x1536) - shortcut for generate_ai_image
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"output_dir": "<output_dir>"
},
"name": "portrait_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | The text prompt for image generation | |
| model | No | AI model to use for generation (optional) | |
| output | No | Output file path (optional) | |
| output_dir | Yes | Absolute path direcotry where to save the image (use current folder root by default) | |
| quality | No | Image quality (low, medium, high, auto) - OpenAI only | high |
| uselibincli | No | Use library imports instead of CLI (default: false) |