Skip to main content

Image Generation MCP

In one line: Let your UnleashX agent create original images from a written description and return ready-to-use image links.
CategoryAI & Media
AuthenticationPlatform-managed
Setup time~1 minute
DifficultyEasy
Best forMarketing visuals, social posts, mockups, and illustrations from a prompt

1. Overview

Image Generation turns a text prompt into a brand-new picture using Google’s Imagen models via the Gemini API. Describe what you want — a style, a subject, a mood — and it produces one or more images. Once connected, your agent can generate images from a prompt, request several at once, and choose an aspect ratio. Generated images are uploaded to UnleashX media storage and returned as links you can drop into a post, a doc, or a campaign. Connecting Image Generation to UnleashX means your agents can produce visuals on demand — no stock library, no design tool, no manual export.

2. What you’ll need

Image Generation is built into UnleashX. There is no Google or Gemini account for you to create and no API key for you to manage.
  • An active UnleashX account.
  • The image-generation feature enabled on your workspace/plan.
  • A clear text prompt describing the image you want.
  • Permission to edit the agent (admin or editor role). Without it, ask a workspace admin to enable the feature.

3. Get your credentials

There are no credentials to create. Image Generation is platform-managed — UnleashX provisions and rotates the underlying Gemini key and handles media storage. You never see or handle an API key.
If you are a workspace admin, optional platform-side configuration includes the image model (with automatic fallbacks) and the default aspect ratio. UnleashX ships sensible defaults (an Imagen 4 model, square 1:1); most teams never change them.
Platform-managed settingPlain-English reason it exists
Image model (+ fallbacks)Controls image quality and auto-retries if a model is unavailable.
Default aspect ratioSets the default image shape (e.g. 1:1 square).
Gemini API key & media storageProvisioned and rotated by UnleashX so images generate and save automatically.

4. Connect on UnleashX

1

Open your agent

Go to https://www.tryunleashx.com and open the agent that should generate images.
2

Open Data Connectors

In the agent, click Data Connectors.
3

Find Image Generation and add it

Locate Image Generation and click Connect / Add. It’s platform-managed — no key to paste, it activates immediately.
4

Confirm it's connected

The Image Generation tool should now show a Connected badge.

5. Available tools

01 image tools
ToolWhat it doesChanges data?
Image CreatedGenerate one or more images from a text prompt✏️ Yes
Generate ImageGenerate images with Imagen via the Gemini API✏️ Yes
Get InfoReport Image MCP configuration and readinessNo
The generate tools are marked ✏️ Yes because they create new image files and save them to UnleashX media storage. They do not modify or delete existing data. Image Created and Generate Image are equivalent entry points for the same generation flow.

6. Example usage

“Create a square image of a friendly robot waving, flat-illustration style.” → Runs Generate Image (or Image Created) with that prompt and a 1:1 aspect ratio, returning an image URL. “Give me three banner options for a summer sale, wide format.” → Runs the generation tool with number_of_images = 3 and a wide aspect ratio.

7. Permissions & data access

UnleashX can:
  • Send your prompt to the image model and generate images.
  • Save the generated images to UnleashX media storage and return links.
UnleashX cannot:
  • Generate images from content you don’t provide.
  • Edit or delete images created elsewhere.
  • Access your device or cloud storage on its own.
To disconnect: Open the agent → Data ConnectorsImage GenerationDisconnect. Access is revoked immediately.

8. Troubleshooting

ProblemWhat it meansHow to fix it
”prompt is required”No text prompt was suppliedProvide a descriptive prompt
”number_of_images must be greater than 0”Asked for zero imagesRequest at least one image
”did not return any generated images”The model returned nothing (e.g. safety filtering)Adjust the prompt and retry
401 / credential errorThe platform-managed Gemini key is unavailablePlatform-side — contact cs@unleashx.ai
403 / feature not enabledImage generation isn’t enabled on your planAsk a workspace admin or contact support
For general connector issues, see /mcp/integrations.

9. Frequently asked questions

Are my images stored? Yes — generated images are uploaded to UnleashX media storage so you can use the returned link. Your prompt is used to generate them and isn’t retained as part of the integration. Do I need a Google or Gemini account? No. Image Generation is platform-managed — UnleashX provides and rotates the key. Can I generate more than one image at a time? Yes. Set number_of_images to request a batch. What aspect ratios are supported? Common shapes including square (1:1), portrait, and landscape. The default is square.

10. References