Skip to main content
Glama

Generate an image

generate_image

Generate images from text prompts with Stable Diffusion models, optionally set model and dimensions, and return the image; list available models and prices on request.

Instructions

Generate an image from a text prompt with Obscurify.ai's Stable Diffusion image models (SDXL, SD 1.5 and LCM checkpoints). Returns the image. Costs a fraction of a cent per image from the account balance. Pass list: true to see the available image models and prices instead.

Input Schema

NameRequiredDescriptionDefault
listNoList image models and prices instead of generating.
seedNoSeed for reproducible results.
modelNoImage model ID (default "realvis-xl-v4", photorealistic). Others include "juggernaut-xl-v10" and "animagine-xl-v-3-1" (anime). Use list: true for all.
widthNoWidth in pixels (default: the model's).
heightNoHeight in pixels (default: the model's).
promptNoWhat to draw. Required unless list is true.
negative_promptNoThings to keep out of the image.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare that this is a non-readonly, non-destructive, open-world, non-idempotent operation, so the safety profile is covered. The description adds useful operational context: it returns the image and incurs a small cost from the account balance, which is exactly the kind of behavioral detail annotations do not convey.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core purpose, followed by return/cost behavior and the alternative listing mode. Every sentence earns its place with no repetition or filler.

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

Completeness4/5

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

Given seven parameters, full schema coverage, and no output schema, the description supplies the important missing pieces: what is returned and that generation costs money. It could specify the image return format or link cost more explicitly, but overall an agent has enough to invoke it correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter is already well documented in the input schema. The description mentions prompt, `list: true`, and model families, but adds little parameter-level meaning beyond what the schema provides. Baseline 3 is appropriate.

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 description states a specific verb and resource: generate an image from a text prompt using named Stable Diffusion models. It also distinguishes the tool's listing mode and names the underlying provider, so an agent can immediately understand that this is image generation rather than chat or balance lookup.

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

Usage Guidelines4/5

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

It clearly explains when to use the tool for generation and when to pass `list: true` to inspect available image models and prices instead. It does not explicitly discuss when to prefer a sibling tool such as `list_models`, but the image-generation context is clear enough that this is a minor gap.

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

Deploy Server

Other Tools