Skip to main content
Glama

Rd Generate

rd_generate

Generate pixel-art images from text prompts using Retro Diffusion, with controls for size, quality, lighting, palette, and background removal. Supports presets for reusable configurations.

Instructions

Text to Image with the local Retro Diffusion pixel-art model.

Output pixels = width//pixel_size (or a size_preset like 64x64/160x144, swap=True transposes). Internally normalized onto RD's 8px latent grid so small sprites never degrade. quality ~1.6-6 drives steps; cfg_scale is the prompt scale; adherence 0-5 trades ELLA/CLIP guidance. Modifiers: comp_* (hue/tint/brightness/saturation/contrast/outline sliders), light_* (directional lighting leco). Rendering options: pixelvae (fast pixel decoder), rembg, post_process (auto reduce colors), tile_x/tile_y. Display: save_grid composes one grid PNG; save_progress stores intermediate previews. preset + overrides replays a saved preset (other args ignored).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNo
swapNo
lorasNo
modelNomodel.pxlm
rembgNo
widthNo
heightNo
presetNo
promptNo
tile_xNo
tile_yNo
light_xNo
light_yNo
light_zNo
qualityNo
comp_hueNo
negativeNo
pixelvaeNo
use_ellaNo
adherenceNo
cfg_scaleNo
comp_tintNo
overridesNo
save_gridNo
pixel_sizeNo
generationsNo
light_applyNo
size_presetNo
comp_outlineNo
post_processNo
return_imageNo
add_to_promptNo
comp_contrastNo
prompt_tuningNo
save_progressNo
comp_brightnessNo
comp_saturationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses substantial behavior: the pixel output formula, 8px latent grid normalization, quality→steps mapping, cfg_scale/adherence semantics, and the 'other args ignored' preset override behavior. It is dense but genuinely informative; some jargon ('leco', 'ELLA/CLIP') is opaque.

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?

Every sentence carries technical payload and the content is clustered by topic (formula, sampling, modifiers, rendering, display, preset). It is a dense single paragraph with no visual breaks and heavy jargon, so readability is sacrificed, but no sentence is filler.

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

Completeness3/5

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

Given 37 parameters, zero annotations, zero schema descriptions, and no output schema, the description covers parameter behavior well but leaves the return contract unspecified (no output schema means the agent must infer what the tool returns; return_image is never explained) and omits backend prerequisites (rd_start_backend is a sibling). Significant, but the dense parameter coverage lifts it above minimal.

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 0%, so the description must compensate, and it does: it maps meaning onto quality, cfg_scale, adherence, use_ella, size_preset, swap, pixel_size, comp_*, light_*, pixelvae, rembg, post_process, tile_x/tile_y, save_grid, save_progress, preset and overrides. A few parameters (loras, return_image, prompt_tuning) remain unexplained, but the bulk of the 37-parameter surface gets semantics.

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

Purpose4/5

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

Begins with a specific verb-resource pair ('Text to Image with the local Retro Diffusion pixel-art model'). The 'local' qualifier separates it from rd_api_txt2img, but it does not explicitly name sibling alternatives, leaving the boundary with rd_cn_txt2img and rd_img2img to inference.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus the many generation siblings (rd_api_txt2img, rd_img2img, rd_cn_txt2img, rd_texture_gen). The word 'local' implies an offline preference, but there are no explicit when/when-not conditions or alternative names.

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