Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RECRAFT_API_KEYYesYour Recraft AI API key.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
recraft_check_creditsA

Check your Recraft account info and remaining API credits

recraft_generate_imageA

Generate images from text prompt. Supports all Recraft models (V4, V4 Vector/SVG, V4 Pro, V3, V2), 70+ styles, color palette control, text layout, and multiple sizes. V4 Vector models produce SVG output.

recraft_image_to_imageB

Transform an existing image with a text prompt. Adjustable strength controls how much the original is preserved. V3/V3 Vector models only.

recraft_inpaintA

Edit specific regions of an image using a mask. White mask areas are regenerated, black areas are preserved. V3/V3 Vector only.

recraft_replace_backgroundA

Replace the background of an image with AI-generated content. Keeps the subject, changes the scene. V3/V3 Vector only.

recraft_generate_backgroundA

Fill masked background areas within an image's existing canvas (same size in, same size out). White mask = fill area, black = preserve. For expanding the canvas beyond the original image bounds, use recraft_outpaint instead. V3/V3 Vector only.

recraft_variate_imageC

Generate variations of an existing image. Produces similar but different versions.

recraft_remove_backgroundA

Remove the background from an image, producing a transparent PNG.

recraft_vectorizeA

Convert a raster image (PNG/JPG/WEBP) to SVG vector format.

recraft_crisp_upscaleA

Upscale an image with sharp, clean enhancement. Best for graphics, icons, illustrations.

recraft_creative_upscaleA

Upscale an image with AI-generated detail enhancement and face refinement. Best for photos and realistic images.

recraft_erase_regionB

Content-aware removal of a region in an image using a mask. White mask areas are erased and filled naturally.

recraft_create_styleA

Create a custom style from 1-5 reference images. Returns a style_id for use in generation tools. V3/V3 Vector only.

recraft_download_imageA

Download an image from a URL and save it to a local file. Useful for saving generated images.

recraft_generate_assetA

Full asset pipeline: generate image → download → optionally remove background → save to file. Perfect for game assets, icons, and UI elements.

recraft_batch_generateA

Generate multiple assets in sequence with full pipeline (generate → bg remove → save). Each asset failure does not stop others. Includes 300ms rate limit delay between assets.

recraft_generate_themed_setA

Generate a complete themed asset set for game design. Creates a hero asset, builds a custom style from it, then generates all remaining symbols with visual consistency. Optionally generates background and outputs a Pixi.js-compatible asset manifest.

recraft_generate_sizedA

Generate an image at any target size (including small sizes like 64x64, 128x128, 256x256). Generates at API-compatible size, then resizes with Lanczos3 downsampling. Perfect for game sprites, icons, and UI elements.

recraft_compare_stylesA

Generate the same prompt in multiple styles for side-by-side comparison. Creates individual images and an optional comparison grid. Great for choosing the best style for your project.

recraft_texture_swapA

Replace a specific region of an image with AI-generated content. Generates new content matching the region aspect ratio, resizes it, and composites it onto the original. Perfect for Spine atlas texture swaps and spritesheet updates.

recraft_outpaintA

Extend an image beyond its original boundaries with AI-generated content (canvas expansion). Different from recraft_generate_background, which only fills masked areas within the existing canvas. Specify a target size, per-side expand amounts, and/or a zoom-out percentage. V3/V3 Vector only.

recraft_exploreA

Generate a set of images for visual exploration and discovery — diverse results from a prompt, no fine-grained style/color control. Returns image IDs usable with recraft_explore_similar.

recraft_explore_similarA

Generate images visually similar to a source image previously created with recraft_explore. similarity controls how closely results resemble the source (1=slightly, 5=extremely similar).

recraft_enhance_promptA

Expand a short prompt into a richer, more detailed description with added visual context, style cues, and composition details. Use the result with any generation tool for more vivid output.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/muhammetali/recraft-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server