Skip to main content
Glama

generate_image

Create images from text prompts using AI models like Imagen-4 and Flux. Specify size, quality, and style to generate custom visuals for projects.

Instructions

Generate a single image from a text prompt.

Args: prompt: Text description of the image to generate. model: Model to use (imagen-4, imagen-4-fast, imagen-4-ultra, flux-1.1-pro, gpt-image-1). size: Image size (256x256, 512x512, 1024x1024, 1792x1024, 1024x1792). quality: Image quality (standard, hd). style: Image style (vivid, natural).

Returns: Dictionary with success status, file path, and metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
modelNoimagen-4
sizeNo1024x1024
qualityNostandard
styleNovivid

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/adamryczkowski/Imagen-MCP'

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