Listed from the MCP registry; nobody on Odel publishes it.

Is this yours? Claim it
MCP server: One MCP server.

Ludo AI Game Assets

@ludoRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Generate game assets with AI: sprites, animations, 3D models with rigging, video, music, SFX, voices

Freeno charge per call

One address for any MCP client. No sign-in needed on this server.

What it does

11 read23 act16 other

Grouped by tool name. At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Tools

50 · grouped by tool name · checked 22 Nov 2026

Read · 11Look things up

  • validateApiKeyEndpoint
  • getDocs
  • searchDocs
  • listAnimationPresets
  • listDirectionalSpriteStyles
  • previewDirectionalSprites
  • convertToPixelArt
  • listMyAnimations
  • listGenerations
  • listApiJobs
  • getApiJob

Act · 23Change something

  • createImage
  • editImage
  • transferMotion
  • editSpritesheet
  • createSpriteAudio
  • createDirectionalSprites
  • createDirectionalStills
  • createVideo
  • createVideoFromReferences
  • editVideo
  • removeBackground
  • createNormalMap
  • createTile
  • createTileset
  • editTileset
  • createAnimation
  • createSoundEffect
  • createAmbiance
  • createMusic
  • createAudioTransform
  • createVoice
  • createSpeech
  • createSpeechPreset

Other · 16Neither hinted nor named

  • generateWithStyle
  • animateSprite
  • animateSpriteKeyframes
  • generatePose
  • rotateSprite
  • rotateSpritesheet
  • adjustSpritesheet
  • fitDirectionalAccessory
  • attachDirectionalAccessories
  • upscaleVideo
  • upscaleImage
  • create3DModel
  • create3DModelImage
  • rigModel
  • animate3DModel
  • animate3DModelPreset
Try it in the Inspector
README52 min read

Ludo AI MCP Server

Generate game assets using AI through the Model Context Protocol (MCP).

Features

CategoryCapabilities
ImagesSprites, icons, screenshots, backgrounds, UI assets, textures, background removal, upscaling, pixel-art conversion, normal maps
3D ModelsCharacter images ready for a 3D model (from a prompt, or your own image redrawn as a 3D render), convert 2D images to GLB models with PBR textures (prop, the more detailed hero model or the quad-mesh low-poly model, with an optional back view, rigged in the same call if you like), export them as FBX, OBJ, STL, PLY or OFF, auto-rig models (skeleton + skin weights, engine-ready joint naming), text-driven skeletal animation, reusable animations generated from a text prompt and kept on your account, retarget curated animation presets or your own animations onto rigged models (mirrored if you like)
Directional SpritesRender a 3D model as styled sprites from up to 8 directions that line up, in looks from pixel art to painted to 3D render, animated with a preset, one of your generated animations or your own clip, holding fitted accessories (swords, shields, helmets...), previewed for free before you render
AnimationAnimated spritesheets from static sprites (4-64 frames), keyframe animation through up to three fixed frames, motion transfer from video, presets or your generated animations, spritesheet editing (re-prompt, outpaint, loop fixing, finer-detail re-render), the same animation re-rendered from a new view, free re-export with other sheet settings, sound effects for a spritesheet
VideoGenerate short videos from images or reference images (5-15 seconds on Griffin, 3-10 on Ignis, with audio), prompt-driven video editing, 2x upscaling
AudioSound effects, background music, character voices, TTS
Jobs & HistoryAsync job queue: submit, poll or long-poll, list and cancel jobs (queued jobs refund their credits), plus paginated generation history across the API and the web app
AccountCredit balance, plan and auto top-up settings, to check before an expensive generation; plans, prices and what each call costs; buy extra credits with a payment page or a Link token, the user approving each payment
DocumentationSearch or read Ludo's own feature guidance before generating: animation modes, model choice, margins, known limitations
FeedbackReport a limitation, bug or missing capability straight to the Ludo team

Quick Start

1. Get an API Key

API access comes with every paid plan. Create a key at app.ludo.ai/api-keys; it is shown only once.

Using a coding agent (Claude Code, Codex, Cursor)? The Ludo CLI is the better fit: the agent loads only the commands it needs, and files go in and out by path.

2. Configure Your MCP Client

The server speaks Streamable HTTP at https://mcp.ludo.ai/mcp. Every client sends the key in a header:

Authorization: ApiKey YOUR_API_KEY

Setups for eleven clients, including Windsurf, Cline, Zed and Kiro, are on ludo.ai/developers/mcp.

Claude Code

sh
claude mcp add --transport http ludo https://mcp.ludo.ai/mcp --header "Authorization: ApiKey YOUR_API_KEY"

Add -s user to use it in every project.

Claude Desktop and claude.ai

Open Customize > Connectors, click Add, then Add custom connector. Name it Ludo, use the URL https://mcp.ludo.ai/mcp, and under Request headers add Authorization: ApiKey YOUR_API_KEY. (claude_desktop_config.json only starts local servers; a remote server goes in as a connector.)

Codex

Add to ~/.codex/config.toml:

toml
[mcp_servers.ludo]
url = "https://mcp.ludo.ai/mcp"

[mcp_servers.ludo.http_headers]
Authorization = "ApiKey YOUR_API_KEY"

Cursor

Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

json
{
  "mcpServers": {
    "ludo": {
      "url": "https://mcp.ludo.ai/mcp",
      "headers": {
        "Authorization": "ApiKey YOUR_API_KEY"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json, then use Copilot Chat in Agent mode. VS Code asks for the key once and stores it securely:

json
{
  "inputs": [
    { "type": "promptString", "id": "ludo-api-key", "description": "Ludo.ai API key", "password": true }
  ],
  "servers": {
    "ludo": {
      "type": "http",
      "url": "https://mcp.ludo.ai/mcp",
      "headers": { "Authorization": "ApiKey ${input:ludo-api-key}" }
    }
  }
}

Gemini CLI

sh
gemini mcp add -s user --transport http --header "Authorization: ApiKey YOUR_API_KEY" ludo https://mcp.ludo.ai/mcp

Clients that only run local servers

Bridge with mcp-remote (needs Node.js). Keep the header argument free of spaces and pass the key through env:

json
{
  "mcpServers": {
    "ludo": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.ludo.ai/mcp", "--header", "Authorization:${LUDO_AUTH}"],
      "env": { "LUDO_AUTH": "ApiKey YOUR_API_KEY" }
    }
  }
}

Available Tools

Generation tools run on a job queue and return a job id immediately; the Returns field of each tool below describes the result you get back from getApiJob once the job succeeds. See How Generation Calls Work.

Models

Sprite animation, motion transfer, spritesheet editing and video generation take an optional model. Pick from the current models; the defaults are what the Ludo web app uses.

ModelUsed forNotes
hydraSprite animation, keyframes, motion transfer and spritesheet editing (the default for all four)Most capable all-around model; its spritesheets come with a generated sound effect (audio_url, an mp3). 3 credits/s, shortest animation 3s (9 credits minimum)
griffin-hd (Griffin)Sprite animation, keyframes and spritesheet editingHighest resolution and best image fidelity. Flat 10 credits per animation; up to 5s
ignisSprite animation, keyframes and motion transferCheapest model, for simple body shapes and simple actions; its spritesheets come with a generated sound effect (audio_url). On motion transfer it takes presets only (preset_id): a reference video fails. 1.5 credits/s on all three, 1s to 5s, no minimum charge
ignis-pixelSprite animation, keyframes and motion transferSame sprite pricing as ignis; for low-res pixel-art sprites
ignisVideo generation (createVideo)Budget videos with audio, 576p, for simple scenes and quick tests. 1 credit/s, 3s to 10s
griffin-hd (Griffin)Video generation, video from references and video editing (the default for all three)Cinematic video in any style with a soundtrack, 768p. 2 credits/s on all three, 5s to 15s. Landscape and portrait output is too large for upscaleVideo

forge and forge-pixel are legacy since 2026-11-16 and will be retired on 2026-12-16: use ignis and ignis-pixel instead. Until then they keep running sprite animation and keyframes (1.5 credits/s), motion transfer and spritesheet editing (2 credits/s).

griffin (480p) was retired from video generation and video from references on 2026-10-27. Requests that name it are rejected; use griffin-hd.

Legacy models - hydra-plus (since 2026-11-02), blitz, eagle, eagle-audio, tango (and the alias standard) - are still accepted so existing integrations keep working, but they are scheduled for removal. Do not use them for new work. The server marks them LEGACY in every tool description and lists them last.

Search Documentation (searchDocs)

Ask Ludo's own documentation a plain-language question and get back only the few sections that answer it: how to choose a sprite animation mode, when to use Generate Before / Generate After, how margins behave, which model suits a job, what something costs, and each generator's known limitations. This is the fastest way to learn how a feature is meant to be used before generating with it, so start here rather than reading whole documents.

ParameterRequiredDescription
queryYesWhat you want to know, in plain language (up to 500 characters), e.g. "how do I keep a sprite animation's colors consistent"
nNoMaximum number of sections to return (1-10, default: 3)

Returns:

  • results: Array of { doc, label, section, relevance, content }, best first. content is the section's full markdown; doc and section can be passed straight to getDocs to read it again. relevance is a 0-1 match score, and only results scoring 0.6 or higher are returned
  • message: Present only when results is empty, which means the documentation does not cover the question. Rephrase it, or browse with getDocs

If the search backend is briefly unavailable the tool returns 503; fall back to getDocs rather than retrying in a loop.

Credits: Free


Feature Documentation (getDocs)

Browse or read Ludo's documentation in full. This is the same documentation the Ludo web app shows its users, so it occasionally describes buttons rather than parameters; the substance applies here just the same. To answer a specific question, use searchDocs first.

Call it with no parameters to get a table of contents, then again with doc (and ideally sections) to read only what you need. The whole corpus is roughly 280,000 characters, so fetching a full document without naming sections can return tens of thousands of characters.

ParameterRequiredDescription
docNoDocument to read. Omit for the table of contents. One of assistant, game-ideator, image-generator, project, account, faq, 3d-generator, video-generator, sprite-generator, audio-generator, api-mcp, game-asset-generation, directional-sprites, asset-toolbox
sectionsNoSection titles to return from doc, matched ignoring case, spacing and punctuation. Only valid together with doc

Returns:

  • docs: Array of { id, label, sections }, where each section is { title, content }. content is markdown, and is omitted from the table of contents
  • unmatched_sections / available_sections: Present only when some, but not all, requested titles matched: the titles that matched nothing, and every valid title of doc

An unknown doc, or a request where no section title matches, returns 400 listing the valid values, so a wrong guess costs one extra call rather than a dead end.

The server also announces both documentation tools to MCP clients via its instructions field during the initialize handshake, so models connected through clients that surface server instructions are told to search the documentation before generating.

Credits: Free


Image Generation (createImage)

Generate sprites, icons, backgrounds, UI assets, and textures from a text prompt alone (no source image needed). To match the art style of an existing image use generateWithStyle, to modify an existing image use editImage, and to cut out a subject use removeBackground.

ParameterRequiredDescription
promptYesDetailed description of the image
image_typeYessprite, icon, screenshot, art, asset, sprite-vfx, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, logo, ui_asset, fixed_background, side_scrolling_background, vertical_scrolling_background, parallax_layer, texture, tile, item-icon, portrait, card-art, splash, 3d, generic
art_styleNoMicro Pixel, 8-Bit Pixel, 16-Bit Pixel, 32-Bit Pixel, Free Pixel, Low Poly, Stylized 3D, Voxel Art, Flat Design, Anime, Western Cartoon, Hand-Painted, Photorealistic 3D, Cel-Shaded, etc.
perspectiveNoSide-Scroll, Top-Down, Isometric, First-Person, Third-Person, 2.5D
aspect_ratioNodefault, ar_1_1, ar_4_3, ar_16_9, ar_19_9, ar_3_4, ar_9_16, ar_9_19
nNoNumber of variations (1-8, default: 1)
augment_promptNoAugment the prompt behind the scenes (default: true)
save_normalsNoAlso make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free
request_idNoClient-provided ID to retrieve results later

Credits: 0.5 per image


Edit Image (editImage)

Modify an existing image using text instructions (smart editing).

ParameterRequiredDescription
imageYesURL or base64-encoded image to edit
promptNo*Description of changes (e.g., "remove the background", "make it darker", "add clouds to the sky"). *Required, except with mask_mode erase. With a mask, describe what should fill the masked area
reference_imageNoURL or base64 reference image for style/content guidance. Not used with mask_mode erase
maskNoURL or base64-encoded PNG that limits the edit to one area of the image: white marks the area to change, black the area to keep. It must be exactly the same width and height as image, or the call returns 400. Without a mask the whole image is re-rendered. A masked edit costs more (see Credits)
mask_modeNoOnly with mask. replace (default) redraws the masked area from prompt; erase removes what is in the masked area and takes no prompt
image_typeNoWhat kind of image the source is: sprite, icon, screenshot, art, asset, sprite-vfx, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, logo, ui_asset, fixed_background, side_scrolling_background, vertical_scrolling_background, parallax_layer, texture, tile, item-icon, portrait, card-art, splash, 3d, generic. Not needed when image is the URL of an image you generated on Ludo in the last 30 days, which keeps its own type. Set it for an upload or a link from elsewhere, so a sprite is edited as a sprite and keeps its transparent background
nNoNumber of variations (1-4, default: 1)
save_normalsNoAlso make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free
request_idNoClient-provided ID to retrieve results later

Credits: 0.5 per image; 1 per image with a mask


Generate with Style (generateWithStyle)

Generate new content while maintaining the visual style of a reference image.

ParameterRequiredDescription
style_imageYesURL or base64-encoded reference image for style matching
promptYesDescription of what to generate (e.g., "a warrior character", "a treasure chest")
image_typeNosprite (default), icon, screenshot, art, asset, sprite-vfx, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, logo, ui_asset, fixed_background, side_scrolling_background, vertical_scrolling_background, parallax_layer, texture, tile, item-icon, portrait, card-art, splash, 3d, generic
aspect_ratioNodefault, ar_1_1, ar_4_3, ar_16_9, ar_19_9, ar_3_4, ar_9_16, ar_9_19. The shape of style_image is not carried over, so set this when the output needs a particular shape
nNoNumber of variations (1-4, default: 1)
augment_promptNoAugment the prompt behind the scenes (default: true)
save_normalsNoAlso make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free
request_idNoClient-provided ID to retrieve results later

Credits: 0.5 per image


Generate Pose (generatePose)

Generate a new pose for an existing sprite. Use this BEFORE animateSprite to get the best animation results - the starting pose should match your intended animation.

ParameterRequiredDescription
imageYesURL or base64-encoded sprite image
poseYesTarget pose: Idle (Front), Idle (Back), Idle (Left Facing), Idle (Right Facing), Walk (Left), Walk (Right), Run (Left), Run (Right), Crouching, Crawling, Sitting, Attack Ready, Jump Preparation, Defending / Blocking, Flying, Sleeping, or Other (with a free-text description)
descriptionNoAdditional instructions to guide pose generation
nNoNumber of variations (1-4, default: 1)
save_normalsNoAlso make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free
request_idNoClient-provided ID to retrieve results later

Returns: url, pose, motion_prompt

Example workflow:

  1. Generate a "Walk (Left)" pose with generatePose
  2. Use the returned motion_prompt directly in animateSprite for optimal animation results

Credits: 0.5 per image


Rotate Sprite (rotateSprite)

Rotate the camera view of an existing sprite to a new angle, keeping the same character and pose. Useful for generating turnaround / directional views of a sprite.

ParameterRequiredDescription
imageYesURL or base64-encoded sprite image
camera_rotationYesCamera azimuth in degrees: 0 (front), 45 (front-right), 90 (right side), 135 (back-right), 180 (back), -135 (back-left), -90 (left side), -45 (front-left)
camera_elevationNoCamera tilt in degrees: 0 (eye-level), 30 (elevated), 60 (high-angle). Omit to keep the sprite's current elevation.
nNoNumber of variations (1-4, default: 1)
save_normalsNoAlso make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free
request_idNoClient-provided ID to retrieve results later

Returns: url, camera_rotation, camera_elevation

Credits: 0.5 per image


Remove Background (removeBackground)

Remove the background from a single image, returning the subject isolated on a transparent background. For broader edits (not just cutting out the subject), use editImage instead.

ParameterRequiredDescription
imageYesURL or base64-encoded image
cropNoTrim the result to the subject's bounding box (default: false)
creative_editNoHigher-quality output that may not match the input pixel-for-pixel (default: true). Set false when the subject must stay pixel-identical, e.g. an existing sprite you will animate
request_idNoClient-provided ID to retrieve results later

Returns: a single result with url (transparent PNG)

Credits: 0.5 per image


Upscale Image (upscaleImage)

The same image at a higher resolution, up to 4x, with the result capped at 2048px on its longest side. The source must be below 2048px on its longest side; a larger one is rejected with HTTP 400 before anything is charged.

ParameterRequiredDescription
imageYesURL or base64-encoded image, below 2048px on its longest side
request_idNoClient-provided ID to retrieve results later

Returns: a single result with url

Credits: 0.5 per image

Convert to Pixel Art (convertToPixelArt)

Any art, broken AI pixel art or pixel art comes back as pixel art at about the input's own size. Synchronous: the call answers with the result directly, with no job to poll.

ParameterRequiredDescription
imageYesURL or base64-encoded image, up to 15MB
pixel_sizeNoSize of one pixel-art pixel in the input's pixels (at least 2); larger is coarser. Omit to use the image's own pixel grid, which must be detectable (otherwise HTTP 400 asks for a pixel_size). On an input already on a grid it snaps to whole steps of that grid
palette_sizeNoAt most this many colours (2-256); omit to keep the colours
request_idNoClient-provided ID to retrieve results later

Returns: url, pixel_size (yours, or the detected one, which can be fractional), and columns / rows, the art's size in pixel-art pixels: resize to columns x rows with nearest-neighbour for one image pixel per art pixel

Credits: Free (20 calls per 5 minutes, 120 an hour, 1,000 a day)

Normal Map (createNormalMap)

Make the normal map of an image, for 2.5D lighting: a lossless WebP of the same size and alpha as the image (transparent pixels are flat), in the OpenGL convention (red = right, green = up, blue = towards the viewer; Unity and Godot read it as is, Unreal expects green flipped). Pixel art gets one normal per art pixel, and the map of a seamless tile tiles the same way. To get maps with new images or spritesheets, pass save_normals: true to the generation instead.

ParameterRequiredDescription
imageYesURL or base64-encoded image, opaque or a cut-out, up to 15MB. An image you generated on Ludo in the last 30 days, given by its URL, is read with its type and pixel grid; for any other image pixel art is detected
request_idNoOptional client-provided identifier for this request

Returns: url (the image the map was made from) and normal_map_url

Credits: Free (20 calls per 5 minutes, 120 an hour, 1,000 a day)


3D Model Generation (create3DModel)

Convert a 2D image to a 3D GLB model with textures, optionally rigged in the same call.

ParameterRequiredDescription
imageYesURL or base64-encoded image, taken as the front view
modelNoprop (default): low-cost, for everyday props and environment pieces. hero: far more detailed and accurate, for close-up assets, but slower and more expensive. low-poly: clean, game-ready quad-based meshes with artist-style topology, up to 10,000 faces. A GLB only stores triangles, so a low-poly model_url has each quad cut in two: export3DModel with fbx or obj gives the file with its quads
back_imageNoThe same subject seen from directly behind (URL or base64), in the same pose, scale and style, so the back of the model follows it instead of being invented. Works with every model, at no extra cost
texture_typeNopbr (default), simple, none
texture_sizeNo1024, 2048 (default)
target_num_facesNoTriangle count 1,000-200,000 (default: 50,000). low-poly caps it at 10,000
rigNoAlso rig the model (skeleton + skin weights) in the same call (default: false). It gets the general rig, which suits any shape; there is no rig type to pick here (rigModel offers the others). Animation presets and Directional Sprites' preset_id retarget onto it, though not onto every model
joint_namingNoWith rig: the bone naming convention, as in rigModel (default: smpl)
request_idNoClient-provided ID to retrieve results later

Returns: model_url (GLB file), snapshot images from different angles, and rigged

Credits: 4 per model with prop, 15 with hero, 10 with low-poly; rig adds 1, charged only when the model comes back rigged Processing time: 60-120 seconds with prop; hero is slower


Image for a 3D Model (create3DModelImage)

A character image ready for create3DModel, the first step of Directional Sprites on the web. create3DModel converts the image it is given as it is; this makes one for it first. Pass a prompt, your own image, or both: an image is redrawn as a 3D render, and the prompt then says what to change. A redraw is a new picture each time, so call again for another try.

ParameterRequiredDescription
promptOne of the twoWithout an image: a description of the character (e.g. "a knight in green armour, full body, standing"). With an image: the changes to make (e.g. "add a red cape and a sword"), optional. Up to 1,000 characters
imageOne of the twoURL or base64-encoded image of your own, redrawn as a 3D render
request_idNoClient-provided ID to retrieve results later

Returns: a single result with url, to pass as create3DModel's image

Credits: 0.5 per image


Rig 3D Model (rigModel)

Generate a skeleton and skin weights for an existing 3D model so it can be animated. Non-destructive to the geometry: it returns a new rigged GLB. Rig a model before using animate3DModel.

ParameterRequiredDescription
modelYesURL or base64-encoded GLB to rig
rig_typeNoSkeleton style prior: general (default, works for any asset), humanoid (anime-style characters, densest skeleton), game (classic game-character rig), or the pinned humanoid templates with named joints: humanoid_template (22 joints) and humanoid_template_hands (52 joints, five fingers per hand). The templates only suit two-armed, two-legged characters. Animation presets (animate3DModelPreset) retarget onto any rig type, though not onto every model
joint_namingNoBone naming convention for the identified joints: smpl (default), mixamo (Unity's humanoid auto-mapper), humanik (unprefixed names for Maya/MotionBuilder/FBX), unreal (UE mannequin), godot (SkeletonProfileHumanoid), rigify (Blender) or vroid (VRM). Purely a relabel, the skeleton is identical
request_idNoOptional client-provided identifier for this request

Returns: model_url (rigged GLB, skeleton + skin weights baked in), rigged (true)

Credits: 1 per rig Processing time: 60-120 seconds


Animate 3D Model (animate3DModel)

Generate text-driven skeletal animations for an already-rigged 3D model (rig it first with rigModel). Animation quality is hit-or-miss, so several candidates are returned for you to choose from. Each candidate is a standalone animation-only GLB (skeleton + one clip, no mesh) plus an mp4 preview; pick the best one and fuse it onto your model in a game engine or three.js.

ParameterRequiredDescription
modelYesURL or base64-encoded rigged GLB to animate (rig it first with rigModel)
promptYesDesired motion (e.g., "walking", "swinging an axe", "waving hello")
modeNoAnimation representation: rot_trans (default, per-bone rotation + translation, most faithful) or rot_only (rotation + root translation only, for retargeting to other skeletons / engine pipelines that ignore bone translation)
num_variantsNoNumber of candidate animations to generate (1-8, default: 4)
loopNoReturn to the initial pose: each clip plays forward then mirrors back to the rest pose for a seamless loop (default: true). Best for one-way motions (crouch, punch, wave); reads oddly for cyclic gaits like walking
augment_promptNoRewrite the prompt into a detailed motion caption behind the scenes (default: true)
request_idNoOptional client-provided identifier for this request

Returns: animations, an array of candidates, each with clip_name, glb_url (animation-only GLB), preview_url (mp4), mode, seed, motion, fit_rmse

Credits: 0.5 per generation (one charge returns all variants; promotional price) Processing time: 60-120 seconds


Generate an Animation (createAnimation)

Generate a reusable animation from a text prompt (text-to-motion): the skeletal motion of a humanoid character, such as "overhead sword slash" or "zombie walk", made for no model in particular. It is saved to your account and does not expire, so generate a move once and reuse it on every character. No model or sprite is animated by this call: pass an animation's id as animation_id wherever an animation preset goes, to animate3DModelPreset (retarget it onto a rigged GLB, which gives the GLB), previewDirectionalSprites and createDirectionalSprites (render it on a 3D model from up to 8 directions) or transferMotion (onto a 2D sprite, seen from a perspective and a direction). To animate one rigged model straight from a prompt, use animate3DModel instead.

Look through listAnimationPresets first: a preset is curated and ready to use. Generate an animation when no preset covers the move.

ParameterRequiredDescription
promptYesThe move, in any language; a few words are enough (e.g., "overhead sword slash", "zombie walk", "jumps and lands in a crouch"). Describe only how the body moves: props, scenery, clothing and the camera are not part of an animation. Up to 1,000 characters
num_variantsNoHow many animations to generate from the prompt (1-4, default: 1), each with its own seed and each charged. Pick between them by their preview_url
seedNoSeed of the first variant (the next ones count up from it). Send an animation's seed with the same prompt and options to generate it again
durationNoLength in seconds (0.67-10). Omit to let it be picked from the prompt; required when augment_prompt is false
loopNoA seamless cycle (a walk, a run, an idle), 2 to 8 seconds long. Omit to let it be picked from the prompt
start_idle / end_idleNoStart / end on the relaxed standing pose, so the animation chains after / into an idle. Not with loop. Omit to let it be picked from the prompt
left_hand / right_handNoThat hand's pose for the whole animation: relaxed, fist, grip, open, flat, point, thumbs_up, pinch, v_sign or claw (grip for a held weapon, fist for a punch). Only these poses exist; hand shapes described in the prompt are not read. Omit to let it be picked from the prompt
keep_facingNoKeep the character facing the same way, with no turning, which fixed-direction sprites need. Omit to let it be picked from the prompt (on unless turning is the point of the move)
augment_promptNoRewrite the prompt for the motion model and infer every option left out (default: true). false sends the prompt as written, so write it in the model's own format: one plain English sentence of under 50 words that starts with "A person" and describes only how the body moves, e.g. "A person swings a sword overhead with the right arm and steps forward on the left foot". Use left_hand / right_hand for hand shapes, and set duration
request_idNoClient-provided ID to retrieve results later

Returns: animations, one per variant, each with id (pass it as animation_id), name, prompt, caption (the description the motion model was given), seed, duration, fps, loop, start_idle, end_idle, keep_facing, left_hand, right_hand, preview_url (an mp4 of the move on a mannequin, seen from the low camera facing SW; it does not expire) and created_at. There is no GLB yet: animate3DModelPreset with the animation_id makes one for your model

Credits: 0.5 per animation (one per num_variants). Credits are held for every variant asked; the final charge is for the animations that came back, and everything is refunded if the job fails or is cancelled


My Animations (listMyAnimations)

List your account's own animations, newest first: the ones generated with createAnimation or in the Ludo web app's My Animations. (Ludo's ready-made ones are in listAnimationPresets.) Animations do not expire, so call this before generating a move again: one made earlier, for another character or in the web app, can be reused as it is.

ParameterRequiredDescription
limitNoHow many animations to return, newest first (1-200, default: 50)
beforeNoOnly animations created before this time (unix seconds): the created_at of the last animation of the previous call

Returns: animations, each with the id to pass as animation_id, its name, the prompt it was generated from, duration, loop, preview_url (an mp4 of the move on a mannequin) and created_at, the same fields as createAnimation returns

Credits: Free


Animate 3D Model from Preset (animate3DModelPreset)

Apply a curated animation preset, or one of your generated animations, to an already-rigged 3D model (retargeting). Unlike animate3DModel, the motion comes from a professionally curated clip library (listAnimationPresets) or from an animation you made with createAnimation, so exactly one clip is returned. Any rig type can take a preset or an animation (rig the model first with rigModel, or create3DModel with rig: true), though retargeting does not succeed on every model; when it does not, the job returns an error. An animation that loops is trimmed to its seamless loop; a one-shot keeps its full arc.

ParameterRequiredDescription
modelYesURL or base64-encoded rigged GLB (any rig type)
preset_idNoid of a preset from listAnimationPresets; any preset id from that list works. Exactly one of preset_id and animation_id
animation_idNoid of one of your animations (from createAnimation or listMyAnimations), retargeted onto the model like a preset. Exactly one of preset_id and animation_id; an animation that is not on your account returns 404
mirrorNoPlay the move on the other side, left and right swapped (a slash with the left arm from one with the right). Works with a preset and with an animation (default: false)
in_placeNoRemove the animation's net travel so the character moves on the spot, the treadmill clip a game engine expects, with the engine driving locomotion. Omit to apply it to animations that loop: a cycle stays on the spot, a one-shot keeps its travel
request_idNoOptional client-provided identifier for this request

Returns: animations, the same envelope as animate3DModel, containing one clip with clip_name, preset_id (from a preset) or animation_id (from one of your animations), mirror (when mirrored), glb_url (animation-only GLB, joints named as on your model), preview_url (mp4), seed, motion, fit_rmse

Credits: 0.5 per retarget Processing time: 30-90 seconds


Export 3D Model (export3DModel)

Export a GLB to another file format, or write a rigged model's animation clips into one file. Free.

ParameterRequiredDescription
modelYesURL or base64-encoded GLB to export (up to 30MB)
formatYesfbx: a zip with the FBX and its color, normal, roughness and metallic maps; a rigged model keeps its skeleton, skin and animations. obj: a zip with the static OBJ, its MTL and the texture maps. stl, ply, off: geometry only. glb: the model with the given animations added (needs animations)
animationsNoglb and fbx only, for a rigged model: up to 30 clips to write into the file, each {animation_url, name} with the glb_url that animate3DModel or animate3DModelPreset made for this model. A clip made for another model, or for this one before it was rigged again, is refused
request_idNoClient-provided ID; re-sending it returns the existing job

fbx and obj keep the quads of a low-poly model, which a GLB stores as triangles.

Returns: file_url, format, file_type (zip for fbx and obj, else the format) and animations (how many clips were added)

Credits: Free (rate limited to 20 exports per 5 minutes, 120 an hour and 1,000 a day)


Directional Sprites

Render a 3D model as styled sprites seen from up to 8 directions (where the camera stands around a character facing S). Every direction asked for in one call is rendered together, on the same frame size, scale and floor, so the sprites line up. The usual flow:

  1. (Optional) A character image: create3DModelImage from a prompt, or your own image redrawn as a 3D render.
  2. A rigged model: create3DModel with that image and rig: true (or rigModel for a model you already have). Any rig type can take an animation preset, though retargeting does not succeed on every model.
  3. (Optional) An animation, at most one: a preset_id from listAnimationPresets, an animation_id from createAnimation or listMyAnimations, or an animation_url made for this model by animate3DModelPreset or animate3DModel. mirror plays a preset or an animation on the other side. With none, the sprites are a still pose.
  4. (Optional) Accessories: fitDirectionalAccessory for each item (a sword, a shield, a helmet...), adjusted until it looks right, then attachDirectionalAccessories for one model holding them all. Use its model_url as model from here on.
  5. listDirectionalSpriteStyles: pick a look.
  6. previewDirectionalSprites: check it, free.
  7. createDirectionalSprites for animated spritesheets, or createDirectionalStills for still images.

fitDirectionalAccessory

Fit one item GLB to a rigged model, held by one bone: a hand, the head, the back or the hips. The item is first placed automatically for its kind (a sword by its handle, a gun by its pistol grip, a shield on the forearm, a helmet over the head, a backpack on the back), and the hand closes round it. Adjust it relative to that automatic fit and call again until it looks right: each call starts from the automatic fit, so send the full adjustment every time. Nothing is saved. Free and synchronous (not a job): a few seconds with previews, about a second without.

ParameterRequiredDescription
modelYesThe rigged model (create3DModel with rig: true, or rigModel), URL or base64 GLB, up to 30MB
itemYesThe item, any 3D model (create3DModel without rig), URL or base64 GLB, up to 30MB
nameNoWhat the item is, in words ("rusty sword"); used to guess kind when it is omitted
kindNoblade, gun, staff, bow, shield, helmet, hat, back, ...: decides how it is first held
point / boneNoWhere it goes: an attach point (the response lists the ones this skeleton has), or a bone by name. Default: where its kind goes
sizeNo% of the automatic fit's size (100 = as fitted)
moveNo{forward, up, out} in % of the character's height, e.g. {"up": 3}
turnNo{forward, up, out} in degrees
flipNoHold it by its other end
gripNoClose the hand round it (skeletons with finger bones)
previewNofalse returns only the fit and its checks
preview_preset_idNoThe animation preset the previews show

Returns: the fit as applied (kind, point, bone, size, move, turn, flip, grip), the placement to pass to attachDirectionalAccessories, checks (how far the item sinks into the body, how far its grip is from the palm, how much of the head pokes through a helmet), points (this skeleton's attach points) and, unless preview is false, model_url (the model holding the item, kept 7 days) and previews (4 walking frames each from SW and SE). Previews share previewDirectionalSprites' one-at-a-time slot; when they could not be made, preview_error says why and the fit is still valid.

Credits: Free (30 calls per 5 minutes, 200 an hour, 1,000 a day)

attachDirectionalAccessories

Put up to 8 items on the model, each at the placement fitDirectionalAccessory returned (or, without one, at the automatic fit plus the same kind / point / bone / size / move / turn / flip / grip adjustments). At most one item closes each hand: the first one listed. Free and synchronous.

ParameterRequiredDescription
modelYesThe rigged model, URL or base64 GLB, up to 30MB. The URL of one of your 3D models also saves the items on it
itemsYesEvery item the model holds: item (URL or base64 GLB, as sent to the fit), name, and placement or the adjustments above
save_on_modelNofalse only builds the GLB, without saving the items on your model
keep_savedNoWhen the model is one of your 3D models, keep the items it already has saved, except those held by a bone one of these items takes, and put them in the GLB too (listed in kept) (default: true). false replaces them all with these items

Returns: model_url (one GLB of the model holding every item, kept 7 days: pass it as model to previewDirectionalSprites, createDirectionalSprites or createDirectionalStills), saved (whether the items were saved on your model, which replaces its previous items and shows them in the Ludo web app's Directional Sprites) and items

Credits: Free (20 calls per 5 minutes, 300 a day)

listDirectionalSpriteStyles

Free. Returns styles (each with id, label, description, family, pixel, thumbnail_url, version and its settings / advanced_settings: a name, kind of choice, bool or color, options and default), plus the perspectives and directions to choose from.

previewDirectionalSprites

A few frames of the model in a style, from each direction asked for, to check a look before rendering. Synchronous (not a job) and free; nothing is saved to your generations. Returns previews, one per direction: frame_urls (transparent images: 4 frames when animated, 1 for a still model), width, height, num_frames, fps and render_3d (the style and settings as rendered). An account runs one preview at a time: starting another cancels the one still running, which then answers with no body (HTTP 204). Takes the model, animation, camera and style parameters below, and target_frame_size (32-384, default 256).

createDirectionalSprites

ParameterRequiredDescription
modelYesURL or base64-encoded GLB (rigged, to animate it)
animation_urlNoAn animation made for this model: the glb_url from animate3DModel or animate3DModelPreset (URL or base64)
preset_idNoA preset from listAnimationPresets, retargeted onto the model (any rig type can take one, though retargeting does not succeed on every model, and when it does not the call returns an error)
animation_idNoOne of your animations (from createAnimation or listMyAnimations), retargeted onto the model like a preset. An animation that is not on your account returns 404
mirrorNoWith preset_id or animation_id: play the move on the other side, left and right swapped. With any other animation, or none, it returns 400 (default: false)
model_animationNoThe name of an animation the GLB itself carries
perspectiveNohorizon, low, isometric (default), high, top
directionsNoUp to 8 of S, SW, W, NW, N, NE, E, SE (default: ["SW"])
style_idNoA style from listDirectionalSpriteStyles (default: render_3d)
style_paramsNoThe style's settings to change, by name
style_versionNoPin a style version, e.g. the one a previous render_3d reports
target_frame_sizeNoSprite size in pixels, 32-640 (default: 640)
num_framesNoFrames per sheet, 4-100 (default: 36)
loopNoSample the animation as a seamless loop; omit to follow the animation
keep_horizontal_travel / keep_vertical_travelNoKeep the animation's ground travel (default: off) / its vertical motion (default: on)
gif / individual_framesNoAlso return each sheet as a GIF / its frames as separate images
save_normalsNoAlso make a normal map of each sheet, for 2.5D lighting, returned as its normal_map_url (default: false): the 3D model's own surface normals on the same pixels. 0.5 credits per map on top of the render; a map that could not be made is not charged
request_idNoClient-provided ID to retrieve results later

At most one of animation_url, preset_id, animation_id and model_animation; with none, each sheet is a single frame.

Returns: sheets, one per direction in the order asked, each with direction, spritesheet_url, video_url, num_frames, num_cols, num_rows, fps, render_3d, and gif_url / individual_frame_urls when asked

Credits: 1 per direction

createDirectionalStills

The model as it is, one large transparent sprite image per direction, ready for animateSprite or editImage. Takes model, perspective, directions, style_id, style_params, style_version, save_normals (free here) and request_id as above.

Returns: images, one per direction, each with direction, url, width, height and render_3d

Credits: 0.5 per direction


Sprite Animation (animateSprite)

Create animated spritesheets from static images. Use this when you can describe the motion in text; use transferMotion to copy an exact motion from a reference video or a named preset, and generatePose first when the source image is not yet in the pose the animation should start from.

ParameterRequiredDescription
initial_imageYesURL or base64 of the starting frame
motion_promptYesAnimation description (e.g., "walking", "idle breathing", "attack slash", "casting a fireball with both hands"). See Writing the motion prompt
image_typeNosprite (default), sprite-vfx, item-icon, ui_asset, logo, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, parallax_layer, tile, texture, portrait, card-art
framesNo4, 9, 16, 25, 36 (default), 49, 64
frame_sizeNo0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384, -1 (AI 1.5× upscale), -9 (match input frame)
loopNoSeamless loop (default: true)
cropNoCrop frames to fit content (default: true); smaller spritesheets but inconsistent frame sizes across animations
margin_ratio_horizontalNoHorizontal padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual). Useful for animations that extend sideways, e.g. sword slashes or punches
margin_ratio_verticalNoVertical padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual). Useful for animations that extend up or down, e.g. jumps
margin_ratioNoDeprecated - uniform padding on both axes, equivalent to setting both per-axis params to the same value. Cannot be combined with the per-axis params (fails with 400)
margin_ratio_modeNoauto (default), manual, none
augment_promptNoAugment the motion prompt behind the scenes (default: true)
modelNohydra (default; best motion and prompt adherence, generates audio), griffin-hd (Griffin: highest resolution and best image fidelity), ignis (cheapest, for simple body shapes and simple actions; generates audio), ignis-pixel (low-res pixel art). Legacy, avoid for new work: forge, forge-pixel, hydra-plus, blitz, eagle, eagle-audio (alias standard→blitz)
durationNoDefault 3s. Hydra / Hydra+: 3–5s in 0.5 steps; Griffin: 5s only; Ignis / Ignis Pixel: 1–5s in 0.5 steps. A model that does not offer the requested default falls back to its shortest
final_imageNoEnding frame for interpolation
gifNoGenerate an animated GIF (default: false)
individual_framesNoExtract individual frame images (default: false)
spritesheet_with_backgroundNoAlso return the spritesheet with background intact, before background removal (default: false)
use_pixel_gridNoUse the animation's pixel grid when one is detected (default: true). false always packs as ordinary art, for when the detected grid is wrong for the asset
save_normalsNoAlso make a normal map of the spritesheet, for 2.5D lighting, returned as normal_map_url (default: false). 0.5 credits per map on top of the generation; a map that could not be made is not charged
request_idNoClient-provided ID to retrieve results later

Returns: spritesheet_url (the sheet), video_url (an mp4 of the animation - pass it to transferMotion as video or to createSpriteAudio as spritesheet_video_url), audio_url (hydra, hydra-plus and ignis: URL of a generated sound effect (mp3), so there is no need to call createSpriteAudio), num_frames, num_cols, num_rows, duration (seconds, to play the sheet at its real speed), and when requested gif_url, individual_frame_urls, spritesheet_with_background_url, individual_frame_with_background_urls

Credits: rate × seconds - Hydra: 3/sec (shortest 3s, so 9 minimum; the default 3s = 9); Ignis and Ignis Pixel: 1.5/sec, no minimum (3s = 4.5). Griffin: flat 10 per animation. Legacy: Forge and Forge Pixel 1.5/sec, no minimum; Hydra+ 4/sec (shortest 3s, so 12 minimum); Blitz 1.9/sec, Eagle 2.6/sec, Eagle with Audio 3.1/sec, all with a 4-credit minimum. Processing time: 30-90 seconds

Writing the motion prompt

Applies to animateSprite and animateSpriteKeyframes.

  • Describe exactly and unambiguously what the character should do. Specific or complex actions are fine; there is no need to simplify them.
  • Don't over-describe: too much detail can harm the animation. Name an action the model already knows instead of breaking it into steps ("walking", never "move the left foot forward, then the right foot").
  • Don't restate what the image or keyframes already show (the character, its equipment, the art style, background, lighting, camera). Leave frame count and timing to frames and duration.
  • Negative phrasing ("no background", "do not move the camera", "without a weapon") works only on hydra and hydra-plus. On every other model state only what should happen: on the legacy models (forge and forge-pixel included) naming something you don't want makes it more likely to appear.

Keyframe Animation (animateSpriteKeyframes)

Animate a sprite through up to three fixed keyframes (initial_image, middle_image, final_image), producing a spritesheet that interpolates through the provided frames in order. Runs on hydra (default), griffin-hd, ignis or ignis-pixel (and the legacy forge, forge-pixel and hydra-plus) - the models that support a middle keyframe. The motion prompt is optional here: when omitted, the motion is derived purely from the keyframes. For just a start and end frame, animateSprite with final_image does the same job.

ParameterRequiredDescription
initial_imageYesURL or base64 of the first keyframe; the animation starts from it
middle_imageNoURL or base64 of the middle keyframe the animation passes through
final_imageNoURL or base64 of the final keyframe
motion_promptNoOptional animation description (e.g., "attack slash"); without it the keyframes drive the motion. See Writing the motion prompt
image_typeNosprite (default), sprite-vfx, item-icon, ui_asset, logo, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, parallax_layer, tile, texture, portrait, card-art
modelNohydra (default; generates audio), griffin-hd (Griffin: highest resolution and best image fidelity), ignis, or ignis-pixel for pixel-art sprites. Legacy: forge, forge-pixel, hydra-plus
framesNo4, 9, 16, 25, 36 (default), 49, 64
frame_sizeNo0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384, -1 (AI 1.5× upscale), -9 (match input frame)
loopNoSeamless loop (default: true)
cropNoCrop frames to fit content (default: true); smaller spritesheets but inconsistent frame sizes
margin_ratio_horizontalNoHorizontal padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual)
margin_ratio_verticalNoVertical padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual)
margin_ratioNoDeprecated - uniform padding on both axes; cannot be combined with the per-axis params (fails with 400)
margin_ratio_modeNoauto (default), manual, none
augment_promptNoAugment the motion prompt behind the scenes (default: true)
durationNoDefault 3s. Hydra / Hydra+: 3–5s; Griffin: 5s only; Ignis / Ignis Pixel: 1–5s in 0.5 steps. Three keyframes need the room: at 1s the opening transition is compressed away
gifNoGenerate an animated GIF (default: false)
individual_framesNoExtract individual frame images (default: false)
spritesheet_with_backgroundNoAlso return the spritesheet with background intact, before background removal (default: false)
use_pixel_gridNoUse the animation's pixel grid when one is detected (default: true). false always packs as ordinary art, for when the detected grid is wrong for the asset
save_normalsNoAlso make a normal map of the spritesheet, for 2.5D lighting, returned as normal_map_url (default: false). 0.5 credits per map on top of the generation; a map that could not be made is not charged
request_idNoClient-provided ID to retrieve results later

Returns: same shape as animateSprite (spritesheet_url, video_url, audio_url on hydra, hydra-plus and ignis, gif_url, num_frames, num_cols, num_rows, duration, ...)

Credits: same as animateSprite - Hydra 3/sec (3s = 9); Griffin flat 10; Ignis / Ignis Pixel 1.5/sec, no minimum (1s = 1.5, 3s = 4.5, 4s = 6); legacy Hydra+ 4/sec (3s = 12) Processing time: 30-90 seconds


Animation Presets (listAnimationPresets)

List available animation presets, used by transferMotion (onto a sprite) and animate3DModelPreset (onto a rigged 3D model). Returns preset animations, perspectives, and directions; no video URLs are exposed. When no preset covers a move, generate one with createAnimation; your own animations are in listMyAnimations.

Returns:

  • animations: Array of presets with id, name, category, description, duration and preview_url; any of them can be retargeted onto a rigged 3D model (animate3DModelPreset) or used as a Directional Sprites preset_id
  • perspectives: Array with id, name, description (all animations support all perspectives)
  • directions: ["N", "NE", "E", "SE", "S", "SW", "W", "NW"] (all animations support all directions)

Credits: Free


Motion Transfer (transferMotion)

Transfer motion from a video, an animation preset or one of your generated animations onto a static sprite, producing an animated spritesheet. Use it when you want an exact motion copied - a standard walk or attack cycle from listAnimationPresets, a move you made with createAnimation, or your own clip; use animateSprite to describe the motion in text instead.

ParameterRequiredDescription
imageYesURL or base64-encoded sprite image
videoNoURL of the video to use as motion source: the video_url of a spritesheet from animateSprite, or your own clip. Videos up to 4 seconds work best. One of video, preset_id and animation_id must be provided (the last two with perspective + direction); when a video is sent with one of them, the preset or animation is used
preset_idNoID of an animation preset to use instead of a video URL, from listAnimationPresets. When using a preset, perspective and direction are required. At most one of preset_id and animation_id
animation_idNoOne of your animations (from createAnimation or listMyAnimations) to use instead of a video or a preset. An animation can be seen from any view, so perspective and direction are required, as with a preset: pick the view the sprite is drawn from. An animation that is not on your account returns 404
mirrorNoWith preset_id or animation_id: play the move on the other side, left and right swapped (a slash with the left arm from one with the right). Not available with a video, where it returns 400 (default: false)
directionNoWhere the camera stands around the character for the preset or animation, as a compass point: N, NE, E, SE, S, SW, W, NW. Required with a preset or an animation
perspectiveNoCamera perspective the preset or animation is seen from, the same set for every preset: high (tactical, steep top-down), horizon (side view at eye level), isometric (diagonal top-down with depth), low (hero, low angle), top (directly overhead). Required with a preset or an animation
framesNo4, 9, 16, 25, 36 (default), 49, 64
frame_sizeNo0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384
loopNoTrim animation for a seamless loop (default: true)
cropNoCrop frames to fit content (default: true)
margin_ratio_horizontalNoHorizontal padding around the sprite (0.0–1.0). Useful for animations that extend sideways, e.g. sword slashes or punches
margin_ratio_verticalNoVertical padding around the sprite (0.0–1.0). Useful for animations that extend up or down, e.g. jumps
margin_ratioNoDeprecated - uniform padding on both axes (0.0–1.0, default 0.15 when no margin is given). Cannot be combined with the per-axis params (fails with 400)
margin_ratio_modeNomanual (default), none
gifNoGenerate an animated GIF (default: false)
individual_framesNoExtract individual frame images (default: false)
spritesheet_with_backgroundNoAlso return the spritesheet with background intact, before background removal (default: false)
use_pixel_gridNoUse the animation's pixel grid when one is detected (default: true). false always packs as ordinary art, for when the detected grid is wrong for the asset
modelNohydra (default; most capable, generates audio), ignis (cheapest; for simple motion, presets only - a reference video fails), ignis-pixel (pixel art). Legacy, avoid for new work: forge, forge-pixel, tango
durationNoAnimation length in seconds. Omitted, it is 1.5 where the model offers it and otherwise the model's shortest, so 3s on hydra (the default). Hydra: 3–5s in 0.5 steps; Ignis / Ignis Pixel: 1–5s. A longer reference clip or preset is compressed to fit, so pass the preset's own duration to keep its timing
promptNoOptional extra instructions for the motion transfer (e.g. "keep the cape still")
save_normalsNoAlso make a normal map of the spritesheet, for 2.5D lighting, returned as normal_map_url (default: false). 0.5 credits per map on top of the generation; a map that could not be made is not charged
request_idNoClient-provided ID to retrieve results later

Returns: same shape as animateSprite (spritesheet_url, video_url, audio_url on hydra, gif_url, individual_frame_urls, spritesheet_with_background_url, individual_frame_with_background_urls, num_frames, num_cols, num_rows, duration)

Credits: rate × seconds - Hydra (default): 3/sec (the default 3s = 9); Ignis / Ignis Pixel: 1.5/sec, no minimum (1.5s = 2.3, 3s = 4.5). Legacy: Forge / Forge Pixel 2/sec, no minimum; Tango 4/sec with a 4-credit minimum. The produced length follows the reference clip, and you are never charged for more than you requested


Edit Spritesheet (editSpritesheet)

Edit a spritesheet you previously generated: re-prompt its animation, outpaint beyond the frame (zoom out), repair a bad loop, or re-render a hydra sheet with finer detail (improve). Pass back the spritesheet_url you received from animateSprite, animateSpriteKeyframes, transferMotion, or an earlier edit; it must be a spritesheet you generated in the last 7 days (external URLs are not accepted). Omit duration, frames, frame_size, crop and model to keep the source spritesheet's values.

ParameterRequiredDescription
spritesheet_urlYesURL of a spritesheet you generated in the last 7 days
edit_modeNoprompt (default), re-prompt the animation; outpaint, extend beyond the frame; fix_loop, repair a bad loop: it regenerates only the seam (the other frames look the same but are not bit-identical), so run it only on a spritesheet whose result had bad_loop true, and keep the source if the new seam is worse; improve, re-render with finer detail (the extra pass hydra-plus runs when it generates). improve takes only a spritesheet generated with hydra: any other source returns 400, including an already improved sheet or a loop fix or outpaint of one
promptNoEdit instruction. Required for prompt mode, optional for outpaint, not accepted for fix_loop or improve
imagesNoUp to 5 reference images (URL or base64) to guide the edit
durationNoOutput length in seconds (per model, as on animateSprite). Omit to keep the source spritesheet's duration. It does not change the price of fix_loop, outpaint or improve, which bill the source spritesheet's video length
modelNohydra (default), griffin-hd (Griffin, up to 5s). Legacy: forge, forge-pixel. ignis and ignis-pixel do not edit. Omit to keep the source spritesheet's model. Only used by prompt mode; outpaint, fix_loop and improve run a fixed pipeline and ignore it
cropNoCrop frames to fit content. Omit to keep the source's setting
loopNoTrim animation for seamless loop (default: true)
framesNoFrames in the output spritesheet: 4, 9, 16, 25, 36, 49, 64. Defaults to the source's frame count
frame_sizeNoFrame size in pixels: 32–384, or 0 for max resolution. Defaults to the source's frame size
gifNoGenerate an animated GIF (default: false)
individual_framesNoExtract individual frame images (default: false)
spritesheet_with_backgroundNoAlso return the spritesheet with background intact (default: false)
use_pixel_gridNofalse always packs as ordinary art, for when the detected pixel grid is wrong for the asset. Omit to keep the source spritesheet's setting
save_normalsNoAlso make a normal map of the spritesheet, for 2.5D lighting, returned as normal_map_url (default: false). 0.5 credits per map on top of the generation; a map that could not be made is not charged
request_idNoClient-provided ID to retrieve results later

Returns: same shape as animateSprite (spritesheet_url, video_url, gif_url, num_frames, num_cols, num_rows, ...). New audio is generated only by prompt edits on hydra; fix_loop, outpaint and improve keep the source spritesheet's audio_url when it had one

Credits: fix_loop, outpaint and improve: flat 1 credit per second of output, held for and capped at the source spritesheet's video length, no minimum, model ignored (a 3s sheet = 3, whatever duration you pass). prompt edits: per model - Hydra 3/sec (3s = 9), Griffin flat 10, legacy Forge / Forge Pixel 2/sec, no minimum (3s = 6)

Rotate Spritesheet (rotateSpritesheet)

Re-render a spritesheet you previously generated from a new view: the same motion and timing, seen from a different angle (e.g. a front-facing walk cycle turned into the same walk seen from the back). Pass back the spritesheet_url you received from animateSprite, animateSpriteKeyframes, transferMotion, editSpritesheet or an earlier call; it must be a spritesheet you generated in the last 7 days (external URLs are not accepted). The animation covers the source's own length (up to 5 seconds; a longer source is sped up to fit), so omit duration unless you need to change that.

ParameterRequiredDescription
spritesheet_urlYesURL of a spritesheet you generated in the last 7 days
imageYesThe character exactly as it must appear in the new view (URL or base64). It becomes the first frame of the animation. rotateSprite on the animation's first frame (or any image of the character) produces one
final_imageNoExact last frame (URL or base64). Defaults to

Similar modules

Browse Game development