Skip to main content
Glama

Image generation, generate image from a text prompt: create a picture from a description with an AI image model

image
Read-only

Text-to-image generation with FLUX.1 schnell. Send a prompt, get a 1024x1024 JPEG back as base64 in a few seconds. Use for illustrations, thumbnails, mockups, avatars and social media images. Optional steps parameter (1-8, default 4) trades speed for detail. Example: prompt=a lighthouse on a cliff at sunset, watercolor. Price $0.01/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
stepsNoDiffusion steps, 1-8 (default 4)
promptYesWhat the image should show (3-800 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond annotations: expected latency ('a few seconds'), output encoding (base64 JPEG), and a full pricing model ('$0.01/call via x402 USDC or a card key', failed calls free). The line 'each call is charged, so repeats are not free' correctly reinforces the idempotentHint=false annotation, and 'Reads or computes only and changes nothing' is consistent with readOnlyHint=true.

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 output format are front-loaded, and each sentence carries distinct information (format, use cases, steps, example, pricing, safety). It is dense rather than bloated, though the pricing clause and the final 'changes nothing' sentence could be trimmed slightly.

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?

With no output schema, the description correctly compensates by stating the return format, dimensions, latency, and cost. Nothing an agent needs in order to call this tool correctly and anticipate its behavior is missing.

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 coverage is 100%, so the baseline is 3, but the description earns an extra point by explaining the tradeoff behind `steps` ('trades speed for detail') and supplying a concrete example prompt that models the desired input style.

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?

States a specific verb and resource ('Text-to-image generation with FLUX.1 schnell') and immediately specifies the output ('1024x1024 JPEG back as base64 in a few seconds'). This clearly distinguishes it from every sibling, which are text/audio/embedding tools.

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?

Names concrete use cases (illustrations, thumbnails, mockups, avatars, social media images), giving an agent a clear sense of fit. It stops short of explicit when-not-to-use guidance or alternatives, but no sibling competes for this job.

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.