Skip to main content
Glama

Make an AI image

create_image
Destructive

Make AI images from the user's prompt with a chosen MakeViral Create model, from text or from the user's photos (edit a photo, put a person in a new scene, combine photos). It spends credits from the user's MakeViral account (a failed image gives them back) and usually returns the finished image link in this call. Before calling: 1) pick the model (get_model gives its sizes and prices), 2) tell the user the price in credits, 3) when photos are used, ask the user to confirm the people in them are them or agreed, and that no one is a child. Photos: pass the files the user attached in this chat as photos, or public image links as photoUrls. Never use photos of a public figure or of someone who did not agree. Calling again with the same input within 10 minutes returns the first result; pass a new requestId to make more.

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": {
      "model": "<model>",
      "prompt": "<prompt>"
    },
    "name": "create_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many images (each one is charged). Default 1.
modelYesImage model id (list_models). nano-banana-2 is a good default.
aspectNoShape. Default 9:16 (vertical, for TikTok and Reels).
photosNoThe user's photos attached in the chat (references to edit or follow)
promptYesWhat the image shows, in the user's words, made clear and specific
photoUrlsNoPublic https links to photos (JPEG, PNG or WebP)
requestIdNoOptional id (8-64 letters, digits, - or _). The same id never charges twice.
resolutionNoSize. Default: the model's smallest (1K).
photosConsentNoNeeded with photos: true only after the user confirmed everyone in them is the user or agreed, and no one is a child
transparentBackgroundNoGPT Image only, text only: a transparent background

Output Schema

NameRequiredDescriptionDefault
creationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "nano-banana-pro",
      -  "nano-banana-2-1",
      -  "nano-banana-2",
      -  "gpt-image-2-5",
      -  "seedream-5-pro",
      -  "flux-2-pro",
      -  "z-image"
      -]New value: +[
      +  "nano-banana-pro",
      +  "nano-banana-2-1",
      +  "nano-banana-2",
      +  "gpt-image-2-6",
      +  "gpt-image-2-5",
      +  "seedream-5-5",
      +  "seedream-5-pro",
      +  "flux-2-pro",
      +  "z-image"
      +]
    • changedInput schema / properties / photoUrls / maxItems
      Previous value: -10New value: +16
    • changedInput schema / properties / photos / maxItems
      Previous value: -10New value: +16
  2. Changed1 schema field changed
    • addedOutput schema / properties / creations / items / properties / saveUrl
      Added value: +{
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, it discloses credit spending, refunds for failed images, the usual synchronous image-link result, and the 10-minute repeated-input behavior. The instruction to use a new requestId for additional generations also clarifies when another call can produce and charge for more work.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and cost consequences come first, followed by a numbered pre-call checklist, photo routing and safety rules, and retry semantics. It is a dense single paragraph with some repetition of schema content, but its length is largely justified by the payment and consent requirements.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid, open-world generation tool with ten parameters, it covers the essential cross-parameter workflow, financial effects, consent prerequisites, prohibited inputs, and repeat-call behavior. The output schema and fully described input schema cover the remaining return-value and option-specific details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already does most of the parameter documentation. The description adds useful operational meaning for model selection, attached photos versus public URLs, and requestId-based retries, although several of these details repeat the schema and it does not explicitly instruct the agent to set photosConsent=true.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource: creating AI images with a selected MakeViral Create model. It also distinguishes text generation from photo-based editing, scene changes, and photo combinations, making the image scope clear relative to siblings such as create_video and get_model.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides an explicit pre-call workflow: select a model, use get_model for sizes and prices, disclose the credit price, and obtain photo consent. It also explains when to use photos versus photoUrls and gives clear prohibitions on public-figure or nonconsenting subjects.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources