Skip to Content

Image Generation

Image Generation MCP lets Agent Chat generate images from text prompts or edit existing images.

Basic Information

Authentication

No authentication required. QueryPie AIP automatically handles the image generation model and file storage.

Availability

Image Generation MCP is available only in Agent Chat MCP. It cannot be used in MCP Presets for regular Chat. Tools that access image generation and editing are not Presets; they are a regular Chat feature. In regular Chat, use the image generation feature provided in chat.

Key Features

  • Generate new images from text descriptions
  • Edit existing images based on prompts
  • Composite editing with multiple images
  • View generated or edited images directly in chat
  • Use image inputs with aip-chat://, aip-drive://, and aip-temp:// URIs

Supported MCP Tools

generate_image

Generates a new image from a text prompt. More specific prompts about subject, style, colors, and composition generally produce better results.

Input Parameters:

  • prompt (required): Detailed description of the image to generate

edit_image

Modifies, enhances, or combines existing images based on a text prompt.

Input Parameters:

  • prompt (required): Description of the edits to apply
  • image_uris (required): List of source image URIs to edit. Supports aip-chat://, aip-drive://, and aip-temp:// schemes, with up to 5 images.

Usage Examples

  • A user enters “Create a banner image for a product introduction” in Agent Chat.
  • The LLM calls the generate_image tool via MCP to create the image.
  • The generated image is displayed in chat.

Other usage examples:

  • “Make this image brighter and more minimal”
  • “Combine these two images into a cover image for a presentation”
  • “Generate an app icon with a blue background”

Notes

  • This MCP is available only in Agent Chat. It cannot be used in MCP Presets for regular Chat.
  • To use image generation and editing in regular Chat, use the image generation feature provided in chat, not an MCP Preset.
  • edit_image supports up to 5 source images; additional images may be ignored.
  • Generated or edited images are stored as internal file URIs and rendered as images by the client.
Last updated on