Skip to main content
Glama

start_image_batch

Generate multiple AI images from a text prompt, returning the first image immediately while processing the rest in the background for later retrieval.

Instructions

Start generating multiple images and return the first one.

This tool starts generating multiple images in the background. It blocks until the first image is ready, then returns it along with a session ID for retrieving the remaining images.

Args: prompt: Text description of the image to generate. count: Number of images to generate (2-10). model: Model to use for generation. size: Image size. quality: Image quality (standard, hd). style: Image style (vivid, natural).

Returns: Dictionary with session_id, first_image_path, and pending_count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
countNo
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