Retro Diffusion Pixel Art

v1.1.0
ai.retrodiffusion/pixel-art Checked 4 days ago Published 4 months ago

Generate authentic pixel art - sprites, animations, and tilesets - from any MCP client

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

authenticate Authenticate

Authenticate this MCP session with a RetroDiffusion public API key.

ParameterTypeDescription
api_key *stringRetroDiffusion API key (rdpk-...), created free at https://retrodiffusion.ai/app/devtools.

logout Log Out

Clear the authenticated RetroDiffusion API key for this MCP session.

create_user_style Create Custom Style

Create a user style from the public RD Pro template using /v2/styles. Use `style_reference_images` and `style_reference_caption` for style-level references. These are baked into the custom style and are not the same as per-inference `reference_images`.

ParameterTypeDescription
name *stringDisplay name for the custom style.
apply_prompt_fixerLet the API tidy prompts automatically for this style (default true).
descriptionShort description of the custom style.
expanded_llm_instructionsExtended instructions for the prompt-expansion LLM.
force_bg_removalAlways remove backgrounds for this style.
force_paletteAlways apply palette constraining for this style.
llm_instructionsInstructions for the prompt-expansion LLM when this style is used.
min_heightForce a fixed height (96-256); must be provided together with min_width.
min_widthForce a fixed width (96-256); must be provided together with min_height.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_captionAlias for style_reference_caption on this tool; prefer style_reference_caption and never provide both.
reference_imagesAlias for style_reference_images on this tool; prefer style_reference_images and never provide both.
style_iconIcon name for the style (e.g. 'sparkles').
style_reference_captionCaption describing the style reference image(s).
style_reference_imagesStyle-level reference image(s), base64, baked into the custom style (max 1 via the public API).
user_prompt_templatePrompt template for the style; must contain the {prompt} token.

update_user_style Update Custom Style

Update a public RD Pro user style using /v2/styles/{style_id}. Use `style_reference_images` and `style_reference_caption` for style-level references. These are baked into the custom style and are not the same as per-inference `reference_images`.

ParameterTypeDescription
style_id *stringStyle id — the internal id or the prompt_style/public id (e.g. user__mystyle_ab12).
apply_prompt_fixerLet the API tidy prompts automatically for this style (default true).
descriptionShort description of the custom style.
expanded_llm_instructionsExtended instructions for the prompt-expansion LLM.
force_bg_removalAlways remove backgrounds for this style.
force_paletteAlways apply palette constraining for this style.
llm_instructionsInstructions for the prompt-expansion LLM when this style is used.
min_heightForce a fixed height (96-256); must be provided together with min_width.
min_widthForce a fixed width (96-256); must be provided together with min_height.
nameNew display name for the custom style.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_captionAlias for style_reference_caption on this tool; prefer style_reference_caption and never provide both.
reference_imagesAlias for style_reference_images on this tool; prefer style_reference_images and never provide both.
reset_forced_dimensionsbooleanClear previously forced dimensions; do not combine with min_width/min_height.
style_iconIcon name for the style (e.g. 'sparkles').
style_reference_captionCaption describing the style reference image(s).
style_reference_imagesStyle-level reference image(s), base64, baked into the custom style (max 1 via the public API).
user_prompt_templatePrompt template for the style; must contain the {prompt} token.

delete_user_style Delete Custom Style

Delete a user style using /v2/styles/{style_id}. style_id can be either internal id or prompt_style/public_id.

ParameterTypeDescription
style_id *stringStyle id — the internal id or the prompt_style/public id (e.g. user__mystyle_ab12).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

list_available_styles List Styles

List publicly available styles from /v2/styles/selector. Use this to discover valid prompt_style values plus style metadata such as require_input_image and supports_reference_images.

ParameterTypeDescription
modelFilter styles by model: rd_lite, rd_core, rd_pro, rd_fast (API only), rd_plus (API only), or rd_mini.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
tabFilter styles by tab: tab:image, tab:animation, tab:advanced-animation, or tab:tileset.

list_available_models List Models

Return unique public model identifiers available in /v2/styles/selector.

ParameterTypeDescription
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

get_style_usage Get Style Usage

Explain how to use a public prompt_style from the RetroDiffusion API. Use this before create_inference if you are unsure whether a style expects `input_image`, supports per-inference `reference_images`, or whether you meant style-level `style_reference_images`.

ParameterTypeDescription
prompt_style *stringStyle id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

get_balance Get Balance

Get your balance, plan usage left (%) and API job slots in use. Reads /v2/inferences/credits plus the account usage (GET /usage). On a plan, 2 API jobs run at once on plan usage; usage.api_job_slots shows how many are busy.

ParameterTypeDescription
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

estimate_inference_cost Estimate Cost (Free)

Estimate generation cost using the public /v2/inferences endpoint with check_cost=true. Use `input_image` for the main source image, `reference_images` for extra per-inference guidance, and `style_reference_images` only on create_user_style/update_user_style.

ParameterTypeDescription
height *integerOutput height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage.
prompt *stringDescribe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — t…
prompt_style *stringStyle id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style).
width *integerOutput width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48…
bypass_prompt_expansionLeave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the use…
extra_input_imageSecond base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced).
extra_promptSecondary prompt for styles that use one (e.g. the transition texture in advanced tilesets).
frames_durationAnimation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ig…
include_downloadable_dataInclude extra structured assets when available (e.g. tileset atlas JSON, animation frame data).
input_imageBase64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled d…
input_paletteBase64 image of a color palette; output colors are constrained to it.
num_imagesintegerHow many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/gr…
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagesExtra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles.
return_non_bg_removedAlso return the render from before background removal was applied.
return_pre_paletteAlso return the render from before palette constraints were applied.
return_spritesheetFor animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center).
strengthHow strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original.
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
upscale_output_factorInteger upscale factor for the output image; 1 returns the native pixel size.

create_inference Generate Pixel Art

Generate images using the public /v2/inferences endpoint. For still images default to RD Lite styles (rd_lite__*, $0.05/image at any size, about 6 s, 12-512 px, one reference image); use RD Core styles (rd_core__*, same style names, $0.10, up to 9 reference_images) for complex scenes, several references and image to image (send the source as input_image on an rd_core__* style). To change an existing image use run_edit_tool (image_edit, inpainting, outpainting, seam_tiling — RD Core), not this tool. Use RD Pro (rd_pro__*) only when the user asks for the highest quality or needs tile_x/tile_y…

ParameterTypeDescription
height *integerOutput height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage.
prompt *stringDescribe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — t…
prompt_style *stringStyle id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style).
width *integerOutput width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48…
bypass_prompt_expansionLeave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the use…
extra_input_imageSecond base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced).
extra_promptSecondary prompt for styles that use one (e.g. the transition texture in advanced tilesets).
frames_durationAnimation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ig…
include_downloadable_dataInclude extra structured assets when available (e.g. tileset atlas JSON, animation frame data).
input_imageBase64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled d…
input_paletteBase64 image of a color palette; output colors are constrained to it.
num_imagesintegerHow many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/gr…
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagesExtra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles.
remove_bgbooleanRemove the background for transparent output. Use true for standalone assets and pair it with a stated contrasting background in the prompt ('on a plain white background') — removal works best on fl…
return_non_bg_removedAlso return the render from before background removal was applied.
return_pre_paletteAlso return the render from before palette constraints were applied.
return_spritesheetFor animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center).
seedSeed for reproducible results; reuse the same seed to iterate on one composition.
strengthHow strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original.
tile_xbooleanMake the result tile seamlessly on the horizontal axis.
tile_ybooleanMake the result tile seamlessly on the vertical axis.
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
upload_outputsbooleanHost outputs and return URLs in output_urls (recommended for MCP clients) instead of only base64 payloads.
upscale_output_factorInteger upscale factor for the output image; 1 returns the native pixel size.

list_edit_tools List Edit Tools

List the enabled canvas edit tools from /v2/edit/tools with their fields, costs, and limits. Edit tools are the recommended way to post-process generated pixel art: background removal, palette conversion, color reduction, pixel correction, rotation, inpainting, outpainting, seam tiling, and prompt-driven edits.

ParameterTypeDescription
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

fix_pixel_art Fix Pixel Art

Recover the native pixel grid from enlarged, softened, AI-rendered, or compressed pixel art. Standard uses the native Rust detector. Neural uses the neural reconstruction engine and accepts optional target width and height values. This repairs existing art—it does not generate a new image. Standard costs $0.002 per call and neural $0.005, charged before running and refunded automatically if the call fails. Both engines share a limit of 10 requests per minute per API token. Provide exactly one source as base64 input_image or a public HTTPS image_url. URL input avoids the ALB request-body lim…

ParameterTypeDescription
enginestringFixer engine. Standard uses the native Rust detector; neural uses the neural reconstruction engine.
heightOptional neural target dimension in pixels. Accepted only with engine='neural'.
image_urlPublic HTTPS PNG or JPEG URL to reconstruct. Provide this or input_image, not both. URL downloads may contain up to 20 MB and bypass the API request-body limit.
input_imageBase64 PNG or JPEG to reconstruct at its native pixel grid. Raw base64 or a data URL; provide this or image_url, not both. Decoded input may contain up to 16 megapixels, and complete base64 request JS…
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
widthOptional neural target dimension in pixels. Accepted only with engine='neural'.

run_edit_tool Run Edit Tool

Run a canvas edit tool on an image via /v2/edit/tools/{tool_id}. $0.001 tools (per frame for animated inputs): color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate. $0.01 tools: background_remover, color_style_transfer. $0.12 tools (RD Core, in the picture's own style): image_edit, inpainting, outpainting, seam_tiling. Use estimate_edit_tool_cost first for anything that charges — estimation is free. The edited image is returned in base64_images.

ParameterTypeDescription
input_image *stringBase64 PNG of the image to edit (raw base64 or a data URL). Required by every edit tool.
tool_id *stringEdit tool id. One of: image_edit, inpainting, outpainting, seam_tiling, background_remover, color_style_transfer, color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate. Use…
color_countcolor_reducer: target number of colors.
dither_modecolor_reducer/palette_converter: dithering mode.
dither_strengthcolor_reducer/palette_converter: dithering strength, 0-10 (0 disables, default 5).
expand_bottomOutpainting: pixels to add on the bottom edge.
expand_leftOutpainting: pixels to add on the left edge.
expand_rightOutpainting: pixels to add on the right edge.
expand_topOutpainting: pixels to add on the top edge.
extra_input_imageSecond base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced).
force_solid_pixelsbackground_remover: force fully solid or fully transparent pixels (tool default applies when omitted).
heightk_centroid_downscale: target height in pixels (required for that tool).
input_paletteBase64 image of a color palette; output colors are constrained to it.
mask_imageBase64 mask for inpainting: white pixels are regenerated, black pixels are kept.
promptWhat to generate or change (required by image_edit and inpainting; optional for outpainting).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
repair_window_sizeseam_tiling: size of the repair window.
rotation_degreesrotate: rotation angle in degrees (clean-edge pixel rotation).
seam_widthseam_tiling: width in pixels of the seam band to repair.
seedSeed for reproducible results; reuse the same seed to iterate on one composition.
soft_inpaintInpainting/outpainting: blend edits softly with the surrounding pixels.
tile_xseam_tiling: repair the horizontal seam (tool default applies when omitted).
tile_yseam_tiling: repair the vertical seam (tool default applies when omitted).
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
transparency_thresholdbackground_remover: alpha threshold for treating pixels as transparent.
widthk_centroid_downscale: target width in pixels (required for that tool).

estimate_edit_tool_cost Estimate Edit Cost (Free)

Validate an edit-tool request and estimate its cost and duration without running it. Always free.

ParameterTypeDescription
input_image *stringBase64 PNG of the image to edit (raw base64 or a data URL). Required by every edit tool.
tool_id *stringEdit tool id. One of: image_edit, inpainting, outpainting, seam_tiling, background_remover, color_style_transfer, color_reducer, palette_converter, pixel_correction, k_centroid_downscale, rotate. Use…
color_countcolor_reducer: target number of colors.
dither_modecolor_reducer/palette_converter: dithering mode.
dither_strengthcolor_reducer/palette_converter: dithering strength, 0-10 (0 disables, default 5).
expand_bottomOutpainting: pixels to add on the bottom edge.
expand_leftOutpainting: pixels to add on the left edge.
expand_rightOutpainting: pixels to add on the right edge.
expand_topOutpainting: pixels to add on the top edge.
extra_input_imageSecond base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced).
force_solid_pixelsbackground_remover: force fully solid or fully transparent pixels (tool default applies when omitted).
heightk_centroid_downscale: target height in pixels (required for that tool).
input_paletteBase64 image of a color palette; output colors are constrained to it.
mask_imageBase64 mask for inpainting: white pixels are regenerated, black pixels are kept.
promptWhat to generate or change (required by image_edit and inpainting; optional for outpainting).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
repair_window_sizeseam_tiling: size of the repair window.
rotation_degreesrotate: rotation angle in degrees (clean-edge pixel rotation).
seam_widthseam_tiling: width in pixels of the seam band to repair.
soft_inpaintInpainting/outpainting: blend edits softly with the surrounding pixels.
tile_xseam_tiling: repair the horizontal seam (tool default applies when omitted).
tile_yseam_tiling: repair the vertical seam (tool default applies when omitted).
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
transparency_thresholdbackground_remover: alpha threshold for treating pixels as transparent.
widthk_centroid_downscale: target width in pixels (required for that tool).

get_inference_result Get Generated Outputs

Retrieve retained outputs for a synchronous generation. Use the request_id returned by create_inference to recover or refresh signed output URLs. This lookup is read-only; never repeat a paid create_inference call just because delivery URLs are temporarily missing.

ParameterTypeDescription
request_id *stringInference request id returned by create_inference.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

start_inference_job Start Async Generation

Start a generation as an async job (POST /v2/inferences with async=true) and return a task_id. Recommended for advanced animations (rd_advanced_animation__*), other animation styles, and batches — they run for tens of seconds and can outlive a synchronous MCP call. Poll the returned task_id with get_inference_job roughly every 2-5 seconds.

ParameterTypeDescription
height *integerOutput height in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage.
prompt *stringDescribe the SUBJECT only, richly and concretely ('a squat round flask of glowing crimson liquid, cork stopper, bright highlight on the upper-left rim' beats 'a potion'). Never write 'pixel art' — t…
prompt_style *stringStyle id from list_available_styles (e.g. 'rd_core__default', 'rd_pro__isometric', or a custom 'user__...' style).
width *integerOutput width in pixels. Each style enforces its own limits; check list_available_styles or get_style_usage. Genre-native sizes per item: Minecraft 16; items/icons/props 32-64; character sprites 16-48…
bypass_prompt_expansionLeave unset. Skips the prompt writer that turns the request into the captions each style was trained on, so results get clearly worse (off-style art, stray text in the image). Set it only when the use…
extra_input_imageSecond base64 input image for styles that use one (e.g. the second texture in rd_tile__tileset_advanced).
extra_promptSecondary prompt for styles that use one (e.g. the transition texture in advanced tilesets).
frames_durationAnimation frame count for animation styles: 4, 6, 8, 10, 12, or 16. Pick deliberately: 8 is the sweet spot for loops (walking, idle), 6 for a snappy single action, 10-12 for flowing ambient motion. Ig…
include_downloadable_dataInclude extra structured assets when available (e.g. tileset atlas JSON, animation frame data).
input_imageBase64 PNG used as the main source image for edits, variations, tilesets, animations, or styles that require a starting frame. Raw base64 or a data URL. Send the NATIVE-resolution image: an upscaled d…
input_paletteBase64 image of a color palette; output colors are constrained to it.
num_imagesintegerHow many images to generate in one batch; a batch produces varied takes of one prompt (the right way to get N distinct items as individually usable images — never pack N items into a single sheet/gr…
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagesExtra per-inference guidance images (base64), only for styles where supports_reference_images is true. Not for defining custom styles.
remove_bgbooleanRemove the background for transparent output. Use true for standalone assets and pair it with a stated contrasting background in the prompt ('on a plain white background') — removal works best on fl…
return_non_bg_removedAlso return the render from before background removal was applied.
return_pre_paletteAlso return the render from before palette constraints were applied.
return_spritesheetFor animation styles: return a PNG sprite sheet instead of a GIF (for rd_advanced_animation__rotate, the 3x3 direction sheet whose views face the center).
seedSeed for reproducible results; reuse the same seed to iterate on one composition.
strengthHow strongly to change input_image, 0-1 (default 0.75). Lower values keep more of the original.
tile_xbooleanMake the result tile seamlessly on the horizontal axis.
tile_ybooleanMake the result tile seamlessly on the vertical axis.
timeout_secondsRead-timeout override in seconds for this call; increase for animations or large batches.
upload_outputsbooleanHost outputs and return URLs in output_urls (recommended for MCP clients) instead of only base64 payloads.
upscale_output_factorInteger upscale factor for the output image; 1 returns the native pixel size.

get_inference_job Check Async Job

Check the status of an async generation started with start_inference_job. Statuses: pending, running, succeeded, failed. On success the result carries hosted output_urls (raw base64 payloads are excluded to keep MCP outputs compact).

ParameterTypeDescription
task_id *stringAsync job id returned by start_inference_job.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

list_inference_jobs List Async Jobs

List your most recent async jobs, newest first (GET /v2/inferences/tasks). Recovery path: if a submission response was lost (timeout, disconnect) before the task_id arrived, the job was still accepted — find it here instead of re-submitting and being charged twice. Then poll it with get_inference_job.

ParameterTypeDescription
limitintegerMaximum number of recent jobs to return (1-100, default 20).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
statusOptional: only return jobs with this status.

get_service_status Service Status

Check RetroDiffusion subsystem health (/v2/status, no auth). Useful before bulk generation runs.

get_lowpoly_pricing Low-Poly Pricing

Low-Poly (3D) sizes, prices per operation (generate / revise / animate), styles, limits and export targets. Free.

ParameterTypeDescription
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

estimate_lowpoly_cost Estimate Low-Poly Job

Price a Low-Poly job without starting it (free). For generate with size auto, returns the size auto would pick. style prices a generate in that style (Lite styles cost less); other operations use the model's own style.

ParameterTypeDescription
asset_idRequired for revise, animate, split and rerig.
operationstringgenerate, revise, animate, split or rerig.
promptWhat to build or change, up to 250 characters.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
sizeCube size in texels: "16", "32", "64", "128", "256", or "auto" (default). Auto reads the prompt; reference-image-only requests default to 64. Bigger sizes cost more (see get_lowpoly_pricing).
styleLow-Poly style id: rd_lowpoly__detailed (default, free-form shapes), rd_lowpoly__blocky (boxes only, tilted where needed, Minecraft-like), their Lite versions rd_lowpoly__detailed_lite / rd_lowpoly__b…

start_lowpoly_generate Start Low-Poly 3D Model

Start building a low-poly 3D model with pixel-art textures from a prompt and/or reference images (paid). reference_models puts your existing models (by asset_id) into it exactly, e.g. "a tavern with my table". Optional input_palette (a palette image, as for create_inference): the model uses only its colors, and revisions and animations keep them. Returns task_id and asset_id immediately; poll get_lowpoly_job(task_id) until it succeeds (usually 1-5 minutes). Then use export_lowpoly_model for .glb/.bbmodel/Minecraft/OBJ files, start_lowpoly_revise to change it, or start_lowpoly_animate to add m…

ParameterTypeDescription
idempotency_keyOptional retry key: repeating a start call with the same key returns the same job instead of charging again.
input_paletteBase64 image of a color palette; output colors are constrained to it.
promptWhat to build or change, up to 250 characters.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagesUp to 4 base64 reference images (PNG/JPEG/WEBP) of the object, e.g. front and side views.
reference_modelsasset_ids of your own finished Low-Poly models to build in: each is placed exactly (same shapes and textures) where the prompt puts it, or adapted. Images and models together: at most 4.
sizeCube size in texels: "16", "32", "64", "128", "256", or "auto" (default). Auto reads the prompt; reference-image-only requests default to 64. Bigger sizes cost more (see get_lowpoly_pricing).
styleLow-Poly style id: rd_lowpoly__detailed (default, free-form shapes), rd_lowpoly__blocky (boxes only, tilted where needed, Minecraft-like), their Lite versions rd_lowpoly__detailed_lite / rd_lowpoly__b…

start_lowpoly_revise Start Low-Poly Revision

Change an existing Low-Poly model (paid, priced by its size). The result is saved as a new version. Poll get_lowpoly_job(task_id). One job per model at a time.

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
prompt *stringWhat should change, up to 250 characters.
idempotency_keyOptional retry key: repeating a start call with the same key returns the same job instead of charging again.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagesUp to 4 base64 reference images (PNG/JPEG/WEBP) of the object, e.g. front and side views.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

start_lowpoly_animate Start Low-Poly Animation

Add an animation to a Low-Poly model version, or change an existing one by passing its name as animation (paid, priced by size). The first animation rigs the model for free. Animations attach to the version; they do not create a new version. Poll get_lowpoly_job(task_id).

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
prompt *stringThe motion, e.g. 'a bouncy walk cycle' or 'swing the sword overhead'. With animation: what should change about it.
animationName of an existing animation on the version to change instead of adding a new one (it keeps its name). Omit to add a new animation.
idempotency_keyOptional retry key: repeating a start call with the same key returns the same job instead of charging again.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

start_lowpoly_split Split Low-Poly Model

Break a Low-Poly model into separate models (paid, priced by its size): a desk scene becomes the desk, a candle, each book, and so on. Each piece is a new model (and history item) facing the front, with its own textures, rig and animations; the original is unchanged. Poll get_lowpoly_job(task_id); its pieces list the new models.

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
idempotency_keyOptional retry key: repeating a start call with the same key returns the same job instead of charging again.
promptHow to split, e.g. 'only the books' or 'each drawer too' (up to 250 characters). Omit to split off every separate object that makes sense.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

start_lowpoly_rerig Re-rig Low-Poly Model

Rebuild the skeleton of a rigged Low-Poly model version (paid, priced by size), e.g. to move a pivot or add bones. The version is updated in place; animations whose bones the new rig still has are kept. Versions without a rig are rigged for free by their first animation instead. Poll get_lowpoly_job(task_id).

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
idempotency_keyOptional retry key: repeating a start call with the same key returns the same job instead of charging again.
promptWhat to change about the rig, e.g. 'give the tail three bones' (up to 250 characters). Omit for a fresh rig.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

get_lowpoly_job Check Low-Poly Job

Status of a Low-Poly job: pending, running, succeeded or failed. On success, the model with its versions, render URLs and animations. Poll every 10-20 seconds; jobs take minutes.

ParameterTypeDescription
task_id *stringAsync job id returned by start_inference_job.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

get_lowpoly_model Get Low-Poly Model

A Low-Poly model: status, versions (render URLs, animations) and any running job.

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

list_lowpoly_models List Low-Poly Models

The account's Low-Poly models, newest first.

ParameterTypeDescription
limitintegerHow many models to return (newest first).
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.

export_lowpoly_model Export Low-Poly Model

Export a Low-Poly model for an engine or tool and return a hosted download URL (free). Engines (Godot, Unity, Unreal, three.js) and Blender get .glb; Blockbench gets .bbmodel; Minecraft gets a resource pack; .glb and .bbmodel include every animation. Animated GIFs, sprite sheets and MP4 videos need an animation name from the model.

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
target *stringgodot, unity, unreal, web, blender (all .glb), blockbench (.bbmodel), obj (zip), minecraft (resource pack zip), atlas (png), turntable (png), axis_views (zip of 6 pixel-exact PNGs, one per axis direct…
animationAnimation name for the gif, sheet and mp4 targets. Omit it for gif or sheet to get every animation in one zip.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

recolor_lowpoly_model Recolor Low-Poly Model

Recolor a Low-Poly model's textures with the image color tools and save the result as a new version (returns the model). Color Reducer and Palette Converter cost $0.001; Color Style Transfer costs $0.01. Later revisions and animations keep the new colors.

ParameterTypeDescription
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
tool *stringcolor_reducer (limit the colors), palette_converter (convert to a palette image) or color_style_transfer (take a reference image's color style).
color_countcolor_reducer: how many colors, 2-256 (omit for automatic).
dither_modenone | bayer_2x2 | bayer_4x4 | bayer_8x8 (color_reducer, palette_converter).
dither_strengthDithering strength, 0-10 (default 5).
palette_imageBase64 image of a color palette; output colors are constrained to it.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.
reference_imagecolor_style_transfer: base64 reference image.
versionVersion number to work on (default: the newest). Revisions create versions; animations do not.

delete_lowpoly_animation Delete Low-Poly Animation

Delete one animation from a Low-Poly model's version (free) and return the model. The rig stays, so animating again needs no new rig. This cannot be undone.

ParameterTypeDescription
animation *stringThe animation's name, as listed on the version.
asset_id *stringasset_id returned by start_lowpoly_generate or get_lowpoly_job.
version *integerThe version the animation belongs to.
rd_api_keyRetroDiffusion API key (rdpk-...) for this call only; overrides session or header auth.