generate_image_from_text
Create images from text descriptions using Google's Gemini AI model. Provide a text prompt to generate visual content through the MCP protocol.
Instructions
Generate an image based on the given text prompt using Google's Gemini model.
Args:
prompt: User's text prompt describing the desired image to generate
Returns:
Path to the generated image file using Gemini's image generation capabilities
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>"
},
"name": "generate_image_from_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes |