text_to_image
Convert text prompts into images using specified models and aspect ratios. Save generated visuals to designated directories for easy access and integration.
Instructions
Generate images based on text prompts.
Note: This tool calls MiniMax API and may incur costs. Use only when explicitly requested by the user.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aspectRatio | No | Image aspect ratio, values: ["1:1", "16:9","4:3", "3:2", "2:3", "3:4", "9:16", "21:9"] | 1:1 |
model | No | Model to use | image-01 |
n | No | Number of images to generate | |
outputDirectory | No | The directory to save the output file. `outputDirectory` is relative to `MINIMAX_MCP_BASE_PATH` (or `basePath` in config). The final save path is `${basePath}/${outputDirectory}`. For example, if `MINIMAX_MCP_BASE_PATH=~/Desktop` and `outputDirectory=workspace`, the output will be saved to `~/Desktop/workspace/` | |
outputFile | No | Path to save the generated image file, automatically generated if not provided | |
prompt | Yes | Text prompt for image generation | |
promptOptimizer | No | Whether to optimize the prompt |