Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itGenerate game assets with AI: sprites, animations, 3D models with rigging, video, music, SFX, voices
One address for any MCP client. No sign-in needed on this server.
11 read23 act16 other
Grouped by tool name. At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Generate game assets using AI through the Model Context Protocol (MCP).
| Category | Capabilities |
|---|---|
| Images | Sprites, icons, screenshots, backgrounds, UI assets, textures, background removal, upscaling, pixel-art conversion, normal maps |
| 3D Models | Character 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 Sprites | Render 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 |
| Animation | Animated 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 |
| Video | Generate short videos from images or reference images (5-15 seconds on Griffin, 3-10 on Ignis, with audio), prompt-driven video editing, 2x upscaling |
| Audio | Sound effects, background music, character voices, TTS |
| Jobs & History | Async 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 |
| Account | Credit 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 |
| Documentation | Search or read Ludo's own feature guidance before generating: animation modes, model choice, margins, known limitations |
| Feedback | Report a limitation, bug or missing capability straight to the Ludo team |
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.
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 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.
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.)
Add to ~/.codex/config.toml:
[mcp_servers.ludo]
url = "https://mcp.ludo.ai/mcp"
[mcp_servers.ludo.http_headers]
Authorization = "ApiKey YOUR_API_KEY"
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"ludo": {
"url": "https://mcp.ludo.ai/mcp",
"headers": {
"Authorization": "ApiKey YOUR_API_KEY"
}
}
}
}
Add to .vscode/mcp.json, then use Copilot Chat in Agent mode. VS Code asks for the key once and stores it securely:
{
"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 mcp add -s user --transport http --header "Authorization: ApiKey YOUR_API_KEY" ludo https://mcp.ludo.ai/mcp
Bridge with mcp-remote (needs Node.js). Keep the header argument free of spaces and pass the key through env:
{
"mcpServers": {
"ludo": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.ludo.ai/mcp", "--header", "Authorization:${LUDO_AUTH}"],
"env": { "LUDO_AUTH": "ApiKey YOUR_API_KEY" }
}
}
}
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.
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.
| Model | Used for | Notes |
|---|---|---|
hydra | Sprite 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 editing | Highest resolution and best image fidelity. Flat 10 credits per animation; up to 5s |
ignis | Sprite animation, keyframes and motion transfer | Cheapest 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-pixel | Sprite animation, keyframes and motion transfer | Same sprite pricing as ignis; for low-res pixel-art sprites |
ignis | Video 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.
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.
| Parameter | Required | Description |
|---|---|---|
query | Yes | What you want to know, in plain language (up to 500 characters), e.g. "how do I keep a sprite animation's colors consistent" |
n | No | Maximum 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 returnedmessage: Present only when results is empty, which means the documentation does not cover the question. Rephrase it, or browse with getDocsIf the search backend is briefly unavailable the tool returns 503; fall back to getDocs rather than retrying in a loop.
Credits: Free
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.
| Parameter | Required | Description |
|---|---|---|
doc | No | Document 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 |
sections | No | Section 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 contentsunmatched_sections / available_sections: Present only when some, but not all, requested titles matched: the titles that matched nothing, and every valid title of docAn 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
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.
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | Detailed description of the image |
image_type | Yes | 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 |
art_style | No | Micro 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. |
perspective | No | Side-Scroll, Top-Down, Isometric, First-Person, Third-Person, 2.5D |
aspect_ratio | No | default, ar_1_1, ar_4_3, ar_16_9, ar_19_9, ar_3_4, ar_9_16, ar_9_19 |
n | No | Number of variations (1-8, default: 1) |
augment_prompt | No | Augment the prompt behind the scenes (default: true) |
save_normals | No | Also make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free |
request_id | No | Client-provided ID to retrieve results later |
Credits: 0.5 per image
editImage)Modify an existing image using text instructions (smart editing).
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded image to edit |
prompt | No* | 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_image | No | URL or base64 reference image for style/content guidance. Not used with mask_mode erase |
mask | No | URL 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_mode | No | Only with mask. replace (default) redraws the masked area from prompt; erase removes what is in the masked area and takes no prompt |
image_type | No | What 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 |
n | No | Number of variations (1-4, default: 1) |
save_normals | No | Also make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free |
request_id | No | Client-provided ID to retrieve results later |
Credits: 0.5 per image; 1 per image with a mask
generateWithStyle)Generate new content while maintaining the visual style of a reference image.
| Parameter | Required | Description |
|---|---|---|
style_image | Yes | URL or base64-encoded reference image for style matching |
prompt | Yes | Description of what to generate (e.g., "a warrior character", "a treasure chest") |
image_type | No | sprite (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_ratio | No | default, 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 |
n | No | Number of variations (1-4, default: 1) |
augment_prompt | No | Augment the prompt behind the scenes (default: true) |
save_normals | No | Also make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free |
request_id | No | Client-provided ID to retrieve results later |
Credits: 0.5 per image
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded sprite image |
pose | Yes | Target 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) |
description | No | Additional instructions to guide pose generation |
n | No | Number of variations (1-4, default: 1) |
save_normals | No | Also make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free |
request_id | No | Client-provided ID to retrieve results later |
Returns: url, pose, motion_prompt
Example workflow:
generatePosemotion_prompt directly in animateSprite for optimal animation resultsCredits: 0.5 per image
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded sprite image |
camera_rotation | Yes | Camera 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_elevation | No | Camera tilt in degrees: 0 (eye-level), 30 (elevated), 60 (high-angle). Omit to keep the sprite's current elevation. |
n | No | Number of variations (1-4, default: 1) |
save_normals | No | Also make a normal map of each image, for 2.5D lighting, returned as normal_map_url (default: false). Free |
request_id | No | Client-provided ID to retrieve results later |
Returns: url, camera_rotation, camera_elevation
Credits: 0.5 per image
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded image |
crop | No | Trim the result to the subject's bounding box (default: false) |
creative_edit | No | Higher-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_id | No | Client-provided ID to retrieve results later |
Returns: a single result with url (transparent PNG)
Credits: 0.5 per 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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded image, below 2048px on its longest side |
request_id | No | Client-provided ID to retrieve results later |
Returns: a single result with url
Credits: 0.5 per image
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded image, up to 15MB |
pixel_size | No | Size 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_size | No | At most this many colours (2-256); omit to keep the colours |
request_id | No | Client-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)
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL 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_id | No | Optional 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)
create3DModel)Convert a 2D image to a 3D GLB model with textures, optionally rigged in the same call.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded image, taken as the front view |
model | No | prop (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_image | No | The 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_type | No | pbr (default), simple, none |
texture_size | No | 1024, 2048 (default) |
target_num_faces | No | Triangle count 1,000-200,000 (default: 50,000). low-poly caps it at 10,000 |
rig | No | Also 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_naming | No | With rig: the bone naming convention, as in rigModel (default: smpl) |
request_id | No | Client-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
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.
| Parameter | Required | Description |
|---|---|---|
prompt | One of the two | Without 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 |
image | One of the two | URL or base64-encoded image of your own, redrawn as a 3D render |
request_id | No | Client-provided ID to retrieve results later |
Returns: a single result with url, to pass as create3DModel's image
Credits: 0.5 per image
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.
| Parameter | Required | Description |
|---|---|---|
model | Yes | URL or base64-encoded GLB to rig |
rig_type | No | Skeleton 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_naming | No | Bone 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_id | No | Optional 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
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.
| Parameter | Required | Description |
|---|---|---|
model | Yes | URL or base64-encoded rigged GLB to animate (rig it first with rigModel) |
prompt | Yes | Desired motion (e.g., "walking", "swinging an axe", "waving hello") |
mode | No | Animation 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_variants | No | Number of candidate animations to generate (1-8, default: 4) |
loop | No | Return 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_prompt | No | Rewrite the prompt into a detailed motion caption behind the scenes (default: true) |
request_id | No | Optional 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
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.
| Parameter | Required | Description |
|---|---|---|
prompt | Yes | The 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_variants | No | How 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 |
seed | No | Seed 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 |
duration | No | Length in seconds (0.67-10). Omit to let it be picked from the prompt; required when augment_prompt is false |
loop | No | A 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_idle | No | Start / 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_hand | No | That 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_facing | No | Keep 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_prompt | No | Rewrite 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_id | No | Client-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
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.
| Parameter | Required | Description |
|---|---|---|
limit | No | How many animations to return, newest first (1-200, default: 50) |
before | No | Only 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
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.
| Parameter | Required | Description |
|---|---|---|
model | Yes | URL or base64-encoded rigged GLB (any rig type) |
preset_id | No | id of a preset from listAnimationPresets; any preset id from that list works. Exactly one of preset_id and animation_id |
animation_id | No | id 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 |
mirror | No | Play 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_place | No | Remove 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_id | No | Optional 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
export3DModel)Export a GLB to another file format, or write a rigged model's animation clips into one file. Free.
| Parameter | Required | Description |
|---|---|---|
model | Yes | URL or base64-encoded GLB to export (up to 30MB) |
format | Yes | fbx: 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) |
animations | No | glb 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_id | No | Client-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)
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:
create3DModelImage from a prompt, or your own image redrawn as a 3D render.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.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.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.listDirectionalSpriteStyles: pick a look.previewDirectionalSprites: check it, free.createDirectionalSprites for animated spritesheets, or createDirectionalStills for still images.fitDirectionalAccessoryFit 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.
| Parameter | Required | Description |
|---|---|---|
model | Yes | The rigged model (create3DModel with rig: true, or rigModel), URL or base64 GLB, up to 30MB |
item | Yes | The item, any 3D model (create3DModel without rig), URL or base64 GLB, up to 30MB |
name | No | What the item is, in words ("rusty sword"); used to guess kind when it is omitted |
kind | No | blade, gun, staff, bow, shield, helmet, hat, back, ...: decides how it is first held |
point / bone | No | Where it goes: an attach point (the response lists the ones this skeleton has), or a bone by name. Default: where its kind goes |
size | No | % of the automatic fit's size (100 = as fitted) |
move | No | {forward, up, out} in % of the character's height, e.g. {"up": 3} |
turn | No | {forward, up, out} in degrees |
flip | No | Hold it by its other end |
grip | No | Close the hand round it (skeletons with finger bones) |
preview | No | false returns only the fit and its checks |
preview_preset_id | No | The 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)
attachDirectionalAccessoriesPut 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.
| Parameter | Required | Description |
|---|---|---|
model | Yes | The rigged model, URL or base64 GLB, up to 30MB. The URL of one of your 3D models also saves the items on it |
items | Yes | Every item the model holds: item (URL or base64 GLB, as sent to the fit), name, and placement or the adjustments above |
save_on_model | No | false only builds the GLB, without saving the items on your model |
keep_saved | No | When 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)
listDirectionalSpriteStylesFree. 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.
previewDirectionalSpritesA 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| Parameter | Required | Description |
|---|---|---|
model | Yes | URL or base64-encoded GLB (rigged, to animate it) |
animation_url | No | An animation made for this model: the glb_url from animate3DModel or animate3DModelPreset (URL or base64) |
preset_id | No | A 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_id | No | One of your animations (from createAnimation or listMyAnimations), retargeted onto the model like a preset. An animation that is not on your account returns 404 |
mirror | No | With 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_animation | No | The name of an animation the GLB itself carries |
perspective | No | horizon, low, isometric (default), high, top |
directions | No | Up to 8 of S, SW, W, NW, N, NE, E, SE (default: ["SW"]) |
style_id | No | A style from listDirectionalSpriteStyles (default: render_3d) |
style_params | No | The style's settings to change, by name |
style_version | No | Pin a style version, e.g. the one a previous render_3d reports |
target_frame_size | No | Sprite size in pixels, 32-640 (default: 640) |
num_frames | No | Frames per sheet, 4-100 (default: 36) |
loop | No | Sample the animation as a seamless loop; omit to follow the animation |
keep_horizontal_travel / keep_vertical_travel | No | Keep the animation's ground travel (default: off) / its vertical motion (default: on) |
gif / individual_frames | No | Also return each sheet as a GIF / its frames as separate images |
save_normals | No | Also 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_id | No | Client-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
createDirectionalStillsThe 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
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.
| Parameter | Required | Description |
|---|---|---|
initial_image | Yes | URL or base64 of the starting frame |
motion_prompt | Yes | Animation description (e.g., "walking", "idle breathing", "attack slash", "casting a fireball with both hands"). See Writing the motion prompt |
image_type | No | sprite (default), sprite-vfx, item-icon, ui_asset, logo, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, parallax_layer, tile, texture, portrait, card-art |
frames | No | 4, 9, 16, 25, 36 (default), 49, 64 |
frame_size | No | 0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384, -1 (AI 1.5× upscale), -9 (match input frame) |
loop | No | Seamless loop (default: true) |
crop | No | Crop frames to fit content (default: true); smaller spritesheets but inconsistent frame sizes across animations |
margin_ratio_horizontal | No | Horizontal 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_vertical | No | Vertical 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_ratio | No | Deprecated - 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_mode | No | auto (default), manual, none |
augment_prompt | No | Augment the motion prompt behind the scenes (default: true) |
model | No | hydra (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) |
duration | No | Default 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_image | No | Ending frame for interpolation |
gif | No | Generate an animated GIF (default: false) |
individual_frames | No | Extract individual frame images (default: false) |
spritesheet_with_background | No | Also return the spritesheet with background intact, before background removal (default: false) |
use_pixel_grid | No | Use 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_normals | No | Also 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_id | No | Client-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
Applies to animateSprite and animateSpriteKeyframes.
frames and duration.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.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.
| Parameter | Required | Description |
|---|---|---|
initial_image | Yes | URL or base64 of the first keyframe; the animation starts from it |
middle_image | No | URL or base64 of the middle keyframe the animation passes through |
final_image | No | URL or base64 of the final keyframe |
motion_prompt | No | Optional animation description (e.g., "attack slash"); without it the keyframes drive the motion. See Writing the motion prompt |
image_type | No | sprite (default), sprite-vfx, item-icon, ui_asset, logo, sprite-tiling-horizontal, sprite-tiling-vertical, scatter-pattern, parallax_layer, tile, texture, portrait, card-art |
model | No | hydra (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 |
frames | No | 4, 9, 16, 25, 36 (default), 49, 64 |
frame_size | No | 0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384, -1 (AI 1.5× upscale), -9 (match input frame) |
loop | No | Seamless loop (default: true) |
crop | No | Crop frames to fit content (default: true); smaller spritesheets but inconsistent frame sizes |
margin_ratio_horizontal | No | Horizontal padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual) |
margin_ratio_vertical | No | Vertical padding around the sprite as a ratio 0.0–1.0 (only used when margin_ratio_mode is manual) |
margin_ratio | No | Deprecated - uniform padding on both axes; cannot be combined with the per-axis params (fails with 400) |
margin_ratio_mode | No | auto (default), manual, none |
augment_prompt | No | Augment the motion prompt behind the scenes (default: true) |
duration | No | Default 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 |
gif | No | Generate an animated GIF (default: false) |
individual_frames | No | Extract individual frame images (default: false) |
spritesheet_with_background | No | Also return the spritesheet with background intact, before background removal (default: false) |
use_pixel_grid | No | Use 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_normals | No | Also 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_id | No | Client-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
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_idperspectives: 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
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.
| Parameter | Required | Description |
|---|---|---|
image | Yes | URL or base64-encoded sprite image |
video | No | URL 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_id | No | ID 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_id | No | One 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 |
mirror | No | With 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) |
direction | No | Where 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 |
perspective | No | Camera 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 |
frames | No | 4, 9, 16, 25, 36 (default), 49, 64 |
frame_size | No | 0 (default, max resolution), 32, 64, 96, 128, 192, 256, 384 |
loop | No | Trim animation for a seamless loop (default: true) |
crop | No | Crop frames to fit content (default: true) |
margin_ratio_horizontal | No | Horizontal padding around the sprite (0.0–1.0). Useful for animations that extend sideways, e.g. sword slashes or punches |
margin_ratio_vertical | No | Vertical padding around the sprite (0.0–1.0). Useful for animations that extend up or down, e.g. jumps |
margin_ratio | No | Deprecated - 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_mode | No | manual (default), none |
gif | No | Generate an animated GIF (default: false) |
individual_frames | No | Extract individual frame images (default: false) |
spritesheet_with_background | No | Also return the spritesheet with background intact, before background removal (default: false) |
use_pixel_grid | No | Use 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 |
model | No | hydra (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 |
duration | No | Animation 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 |
prompt | No | Optional extra instructions for the motion transfer (e.g. "keep the cape still") |
save_normals | No | Also 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_id | No | Client-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
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.
| Parameter | Required | Description |
|---|---|---|
spritesheet_url | Yes | URL of a spritesheet you generated in the last 7 days |
edit_mode | No | prompt (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 |
prompt | No | Edit instruction. Required for prompt mode, optional for outpaint, not accepted for fix_loop or improve |
images | No | Up to 5 reference images (URL or base64) to guide the edit |
duration | No | Output 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 |
model | No | hydra (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 |
crop | No | Crop frames to fit content. Omit to keep the source's setting |
loop | No | Trim animation for seamless loop (default: true) |
frames | No | Frames in the output spritesheet: 4, 9, 16, 25, 36, 49, 64. Defaults to the source's frame count |
frame_size | No | Frame size in pixels: 32–384, or 0 for max resolution. Defaults to the source's frame size |
gif | No | Generate an animated GIF (default: false) |
individual_frames | No | Extract individual frame images (default: false) |
spritesheet_with_background | No | Also return the spritesheet with background intact (default: false) |
use_pixel_grid | No | false 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_normals | No | Also 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_id | No | Client-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)
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.
| Parameter | Required | Description |
|---|---|---|
spritesheet_url | Yes | URL of a spritesheet you generated in the last 7 days |
image | Yes | The 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_image | No | Exact last frame (URL or base64). Defaults to |