Ludo AI Game Assets

v0.16.7
ai.ludo/game-assets Checked 4 days ago Published 9 days ago

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

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

validateApiKeyEndpoint Validate API key

Validates an API key. Returns 200 if valid, 403 if invalid.

createImage Create image

Generate game-art images from a text prompt alone, selecting an image_type (e.g. sprite) and optionally art_style, perspective, and aspect_ratio. The job result is an array of image results, each with a url; request n (1-8) to control how many variations come back. Because it generates purely from text it takes no source image, so there is no upload size limit to trip. Credits are held when the job is accepted and refunded if it fails or is cancelled; the charge scales with the number of images produced. Use createImage to make new images from scratch; use generateWithStyle to match a referenc…

ParameterTypeDescription
requestBody *objectPayload for generating an image from text prompt

generateWithStyle Create image in a reference style

Generate new images that match the visual style of a reference image: supply a style_image (URL or base64) plus a text prompt describing what to create and an optional image_type (defaults to sprite). The job result is an array of image results, each with a url; request n (1-4) to control the number of variations. The style_image is uploaded and validated, and an image larger than 15MB is rejected with HTTP 400. Credits are held when the job is accepted and refunded if it fails or is cancelled; the charge scales with the number of images produced. Use this instead of createImage when style con…

ParameterTypeDescription
requestBody *objectPayload for generating new content while maintaining the visual style of a reference image

editImage Edit image

Modify an existing image according to text instructions: supply a source image (URL or base64) and a prompt describing the changes (e.g. "add clouds", "warmer color scheme"), with an optional reference_image for extra style or content guidance. To change only one area, pass a mask (white = change, black = keep, the same size as the image): mask_mode "replace" (default) redraws that area from the prompt, "erase" removes what is there. Without a mask the whole image is re-rendered. Never ask for a transparent background in the prompt: it often comes back as a grey-and-white checkerboard painted…

ParameterTypeDescription
requestBody *objectPayload for editing an existing image based on text instructions

animateSprite Animate sprite

Animate a static sprite into a spritesheet driven by a motion text prompt (image-to-spritesheet): supply an initial_image (URL or base64) plus a motion_prompt like "walking" or "attack slash", and optionally a final_image to interpolate between a start and end frame. Describe the motion exactly and unambiguously, but do not over-describe it: an action the model already knows is one phrase, not a sequence of steps, and the character, art style, background and camera come from the image, not the prompt. For animations driven by up to three keyframes (including a middle frame), use animateSpriteK…

animateSpriteKeyframes Animate sprite from keyframes

Animate a sprite through up to three fixed keyframes - initial_image, middle_image and final_image (each a URL or base64) - producing a spritesheet that interpolates through the provided frames in order. initial_image is required: the animation starts from it, and middle_image and final_image add keyframes after it (either may be omitted). The motion_prompt is optional here - when omitted, the motion is derived purely from the keyframes. Runs on hydra (default; also returns `audio_url`), hydra-plus (hydra with finer detail, also returns `audio_url`), ignis, or ignis-pixel for pixel-art sprites…

generatePose Re-pose sprite

Re-pose an existing sprite into a new target pose while preserving the character, taking a source image (URL or base64), a pose name (or "Other" with a free-text description), and an optional n (1-4) for how many variations to produce. Only works with sprite image types (not icons, screenshots, etc.). The job result is an array of pose results, each containing the generated image url, the pose and description used, and a suggested motion_prompt tuned for that pose. Credits are held when the job is accepted and refunded if it fails or is cancelled; the charge scales with the number of images ge…

ParameterTypeDescription
requestBody *objectPayload for generating a new pose for an existing sprite

rotateSprite Rotate sprite to a new view

Re-render an existing sprite from a different camera viewpoint while keeping the same character and pose, taking a source image (URL or base64), a required camera_rotation azimuth (one of 0, 45, 90, 135, 180, -135, -90, -45 degrees), an optional camera_elevation (0, 30, or 60 degrees; omit to keep the current elevation), and an optional n (1-4) for the number of variations. Only works with sprite image types (not icons, screenshots, etc.). The job result is an array of rotate-sprite results, each with the generated image url and the camera_rotation and camera_elevation that were applied. Credi…

ParameterTypeDescription
requestBody *objectPayload for rotating the camera view of an existing sprite

transferMotion Transfer motion onto sprite

Transfer motion from a reference video, a named animation preset or one of the account's generated animations (an `animation_id` from createAnimation or listMyAnimations) onto a static sprite image, producing an animated spritesheet that mimics the reference movement. Provide the sprite as image (URL or base64) plus either a video (URL or base64) or a preset_id together with perspective and direction (all three from listAnimationPresets; if a video is sent with a preset_id or animation_id, the preset or animation is used and the video is ignored). The job result is the same sprite result as an…

getDocs Browse Ludo docs

Browse or read Ludo's own documentation in full - how to choose a sprite animation mode, when to use Generate Before / Generate After, how margins behave, which model suits a job, and each generator's known limitations. To answer a specific question, call searchDocs first: it returns just the sections that match. Use getDocs to see what documentation exists, or to read a whole document or named sections. This is the same documentation the Ludo web app shows its users, so it occasionally describes buttons rather than parameters; the substance applies to the API and MCP surfaces just the same. T…

ParameterTypeDescription
docstringWhich document to read, by id (the table of contents returned by the no-parameter call lists them). Omit to receive the table of contents.
sectionsarraySection titles to return from `doc`, copied from the table of contents (an array of titles; over plain REST, a comma-separated string, where a title that itself contains a comma is still matched whole…

searchDocs Search Ludo docs

Search Ludo's own documentation with a plain-language question and get back only the few sections that answer it - the fastest way to learn how a feature is meant to be used before you generate with it (how to pick a sprite animation mode or model, how margins behave, what something costs, known limitations). Start here rather than reading whole documents. Each result carries `doc` and `section`, which you can pass straight to getDocs to re-read that section, and the section's full markdown `content`. Results are best first; weak matches are left out, so an empty `results` list means the docum…

ParameterTypeDescription
query *stringWhat you want to know, in plain language, e.g. "how do I keep a sprite animation's colors consistent" or "what does a 3D model cost".
nintegerMaximum number of sections to return. Defaults to 3.

listAnimationPresets List animation presets

List the available animation presets along with their perspectives and the eight supported compass directions (N, NE, E, SE, S, SW, W, NW). Synchronous GET with no request body: it returns an animations array (each with id, name, category, description, duration, and preview_url), a deduplicated perspectives array, and the directions list. This is a free discovery endpoint and does not charge credits. Use it to obtain the preset_id, perspective, and direction values that transferMotion needs, and to find motion preset names you can reference when animating; pair it with transferMotion (to apply…

editSpritesheet Edit spritesheet

Edit a previously generated spritesheet: re-prompt its underlying animation (edit_mode "prompt"), extend the frame beyond its borders ("outpaint"), repair a bad loop ("fix_loop"), or re-render it with finer detail ("improve": the extra pass hydra-plus runs when it generates, on a spritesheet generated with hydra only - any other returns HTTP 400; a sheet generated on hydra-plus already has it). Pass the `spritesheet_url` you received from `animateSprite`, `animateSpriteKeyframes`, `transferMotion`, or an earlier edit - it must be a spritesheet you generated within the last 7 days; arbitrary ex…

ParameterTypeDescription
requestBody *objectPayload for editing a previously generated spritesheet. edit_mode selects the operation - prompt-driven edit (default), outpaint, loop fixing, or improve (finer detail, on hydra spritesheets only).

rotateSpritesheet Rotate spritesheet to a new view

Re-render a previously generated sprite animation 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 the `spritesheet_url` you received from `animateSprite`, `animateSpriteKeyframes`, `transferMotion`, `editSpritesheet` or an earlier call - it must be a spritesheet you generated within the last 7 days; arbitrary external images are not accepted - and, as `image` (URL or base64), the character exactly as it must appear in the new view: it becomes the first frame of the animation. To produce…

ParameterTypeDescription
requestBody *objectPayload for re-rendering a previously generated sprite animation from a new view.

adjustSpritesheet Adjust spritesheet export

Adjust Sprite Sheet: re-export a previously generated sprite animation with different sheet settings - frame count, frame size, loop trimming or whitespace cropping - without generating the animation again. Free (no credits). Pass the `spritesheet_url` you received from `animateSprite`, `animateSpriteKeyframes`, `transferMotion`, `editSpritesheet`, `rotateSpritesheet` or an earlier adjust - it must be a spritesheet you generated through the API within the last 7 days; arbitrary external images are not accepted. Omit a setting to keep the source's value. The animation itself is unchanged: this…

ParameterTypeDescription
requestBody *objectPayload for re-exporting a previously generated sprite animation with different sheet settings (Adjust Sprite Sheet in the web app).

createSpriteAudio Create sound for a spritesheet

Generate a sound effect for a previously generated spritesheet animation. Pass, as `spritesheet_video_url`, the `video_url` you received from `animateSprite`, `animateSpriteKeyframes`, `transferMotion`, or `editSpritesheet` - it must belong to a spritesheet you generated within the last 7 days; arbitrary external videos are not accepted. Spritesheets generated with the hydra or ignis models already come with `audio_url`, so only call this for a spritesheet that has none or to replace the generated sound. Optionally add a `prompt` describing the sound you want. The job result is only the URL of…

ParameterTypeDescription
requestBody *objectPayload for generating audio for a previously generated spritesheet animation.

listDirectionalSpriteStyles List directional sprite styles

List the styles Directional Sprites can render a 3D model in, with the perspectives (camera heights) and the eight directions they render from. Each style has an id (pass it as style_id), a label, a description, a family, whether it is pixel art, a thumbnail_url of the style at its defaults, its current version, and its settings: each setting has a name (the key in style_params), a kind (choice, bool or color - a color setting also takes any colour), its options ({label, value}) and its default. advanced_settings work the same way. Free discovery endpoint: it does not charge credits. Use it be…

previewDirectionalSprites Preview directional sprites

Preview Directional Sprites: a few frames of a 3D model in a style, from each direction asked for, to check a style before rendering. Takes the same model, animation, camera and style fields as createDirectionalSprites. The response (synchronous, not a job) has one preview per direction, in the order asked, each with `frame_urls` - the frames as images (4 for an animated model, 1 for a still one) - and `render_3d`, the style and settings as rendered, which createDirectionalSprites takes back as they are. Free (no credits), and nothing is saved to your generations; the frame images are kept for…

ParameterTypeDescription
requestBody *objectPayload for previewing directional sprite frames of a 3D model

createDirectionalSprites Create directional sprites

Directional Sprites: render a 3D model into one spritesheet per direction, in a style. Pass the GLB in `model` (URL or base64; rigged, to animate it - see create3DModel with rig, or rigModel) and at most one animation: `animation_url` (the `glb_url` of an animation from animate3DModel or animate3DModelPreset, made for this model), `preset_id` (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) or `model_animation` (the name of an animation the GLB itself ca…

ParameterTypeDescription
requestBody *objectPayload for rendering a 3D model as directional sprite sheets

createDirectionalStills Create directional stills

Directional Sprites stills: render a 3D model as it is (no animation) into one large image per direction, in a style, on a transparent background. Pass the GLB in `model` (URL or base64), the `directions` (up to 8, rendered together so they line up) and the style (listDirectionalSpriteStyles). Each still is a sprite image you can animate with animateSprite or edit with editImage. The job result is one image per direction, in the order asked. Credits are held for every direction when the job is accepted and charged for the images that come back; a failed or cancelled job is refunded. Pass an op…

ParameterTypeDescription
requestBody *objectPayload for rendering a 3D model as one still image per direction

fitDirectionalAccessory Fit an accessory to a 3D model

Fit an accessory to a rigged 3D model for Directional Sprites: an item GLB (a sword, a gun, a staff, a bow, a shield, a helmet, a hat, a backpack...) held by one bone of the model - a hand, the head, the back or the hips. Nothing is saved. 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 with `size` (% of it), `move` (% of the character's height along forward/up/out) and `turn` (degrees about thos…

ParameterTypeDescription
requestBody *Payload for fitting an accessory to a rigged 3D model

attachDirectionalAccessories Attach accessories to a 3D model

Put accessories on a rigged 3D model for Directional Sprites: up to 8 items, each at the `placement` fitDirectionalAccessory returned (or, without one, at the automatic fit plus the same size/move/turn adjustments). Returns `model_url`, one GLB of the model holding them all (kept 7 days): pass it as `model` to createDirectionalSprites, createDirectionalStills or previewDirectionalSprites. When `model` is the URL of one of your 3D models (as listGenerations or create3DModel returned it), the items are also saved on that model (`saved: true`; `save_on_model: false` skips it), so the Ludo web app…

ParameterTypeDescription
requestBody *Payload for putting accessories on a rigged 3D model

createVideo Create video

Generate a short video clip from a source image and a motion text prompt (image-to-video); a source `image` is required - to make a video from text alone, first createImage and animate that, or use createVideoFromReferences with reference images. Griffin (default, 768p) generates a soundtrack; no separate audio step is needed. The older 480p model (`griffin`) has been retired from this endpoint. The job result is the video URL and its actual duration in seconds. Optionally pass `final_image` to interpolate between a start and end frame. The chosen `model` and `duration` must be compatible (inc…

ParameterTypeDescription
requestBody *objectPayload for generating a video from a source image and motion prompt

createVideoFromReferences Create video from reference images

Generate a video from 1-5 reference images and a text prompt (references-to-video). Unlike createVideo, which animates a single source image, this composes a new scene that borrows characters, objects, and style from the reference images. Each image can be a URL or base64. Griffin (default, 768p) generates a soundtrack, at the same per-second rate as createVideo. The older 480p model (`griffin`) has been retired from this endpoint. The job result is the video URL and its actual duration in seconds. Choose the output shape with `aspect_ratio` ("default" lets the model decide). The chosen `model…

ParameterTypeDescription
requestBody *objectPayload for generating a video from 1-5 reference images and a text prompt.

editVideo Edit video

Edit a previously generated video with a text prompt and optional reference images (video-to-video); runs on griffin-hd (768p, with soundtrack) and the output keeps the source video's duration unless you pass one. Pass the video `url` you received from `createVideo`, `createVideoFromReferences`, or an earlier edit - it must be a video you generated within the last 7 days; arbitrary external videos are not accepted. Optionally add up to 5 reference `images` (URL or base64) to guide the edit. The job result is the new video URL and its actual duration in seconds. Credits are held when the job is…

ParameterTypeDescription
requestBody *objectPayload for editing a previously generated video with a text prompt and optional reference images.

upscaleVideo Upscale video

Upscale a previously generated video to twice its resolution (2x). Pass the video `url` you received from `createVideo`, `createVideoFromReferences`, or `editVideo` - it must be a video you generated within the last 7 days; arbitrary external videos are not accepted. Both dimensions of the source must be under 960 pixels: griffin-hd (768p) output qualifies only when square (768x768), not landscape (1344x768) or portrait (768x1344); output from the retired griffin (480p) does. A too-large source fails the job and the held credits are refunded. The job result is the new video URL (2x width and h…

ParameterTypeDescription
requestBody *objectPayload for upscaling a previously generated video to twice its resolution.

removeBackground Remove background

Remove the background from a single image, returning the subject isolated on a transparent background. Supply the source image (URL or base64); optionally set crop to trim the result to the content, and creative_edit (default true) for higher-quality output that may not match the input pixel-for-pixel - set it false when the subject must stay pixel-identical, e.g. an existing sprite you will animate. The job result is a single image result with a url (not an array). The image is uploaded and validated, and an image larger than 15MB is rejected with HTTP 400. Credits are held when the job is ac…

ParameterTypeDescription
requestBody *objectPayload for removing the background of an image

upscaleImage Upscale image

Upscale an image: the same picture at a higher resolution, up to 4x, with the result capped at about 3.1 megapixels (width x height) whatever its shape: a square image comes back 1776x1776 at most, and a wide or tall one can be longer than 2048px on its longest side. The source image (URL or base64) must be under 3 megapixels, for example 1700x1700 or 2000x1500, and under 2048px on its longest side, so a long, narrow image such as 2640x896 is refused although it is under 3 megapixels; a larger one is rejected with HTTP 400. A result that reached the cap is itself over 3 megapixels, or 2048px o…

ParameterTypeDescription
requestBody *objectPayload for upscaling an image

createNormalMap Make a normal map of an image

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. An image you generated on Ludo is read with its type and pixel grid; for any other image pixel art is detected. Free, and limited to 20 calls per 5 minutes, 120 an hour and 1000 a day (HTTP 429 beyond). To get maps with new image…

ParameterTypeDescription
requestBody *objectPayload for making the normal map of an image

convertToPixelArt Convert image to pixel art

Convert an image to pixel art: any art, broken AI pixel art or pixel art comes back as pixel art at about the input's own size. Free (no credits) and synchronous: the call answers with the result directly, with no job to poll. `pixel_size` is the size of one pixel-art pixel, in the input's pixels: larger values give coarser art. Omit it to use the image's own pixel size, which only works on an image that already has a pixel grid - when none can be detected the call fails with HTTP 400 asking for a pixel_size. On an input already on a pixel grid, a pixel_size you pass snaps to whole steps of th…

ParameterTypeDescription
requestBody *objectPayload for converting an image to pixel art

createTile Create seamless map tile

Make a seamless base tile for a 2D map from a text description: the first step of a tileset. Choose the map's grid (square for top-down, diamond for 2:1 isometric, diamond-true for true isometric) and what to make with image_type: texture (the default) is a ground that repeats with no seams, one per terrain (grass, sand, cobblestones, water); sprite-tiling-horizontal and sprite-tiling-vertical are a strip of a line that repeats along it (a road, a river, a fence, a wall) on a transparent background, and scatter-pattern the separate elements a line is made of (rocks, bushes, flowers). The look…

ParameterTypeDescription
requestBody *objectPayload for making a seamless base tile

createTileset Create 16-tile tileset

Build a 16-tile tileset from seamless base tiles: every arrangement a map needs, so the edges and corners fall into place when a map is painted with it. kind terrain (the default) blends terrain A (tile_a, required) into terrain B (tile_b; leave it out and the tiles are cut out there, transparent, for floors over a void or islands), with the boundary described in transition (e.g. white sea foam, a low stone curb): its 16 tiles cover every way the two terrains meet at a tile's four corners. kind lines lays a line (tile_b, required: a strip or scatter made by createTile, or a ground tile of the…

ParameterTypeDescription
requestBody *objectPayload for building a 16-tile tileset from seamless base tiles

editTileset Edit tileset

Change a whole tileset with one sentence: its look (cover the ground in snow, at sunset, another art style) or its boundary (replace the curb with a hedge). The set is one you made with createTileset or in the Ludo web app, given by its atlas_url; any other URL is rejected with HTTP 404 before credits are held. The result is a new tileset of the same grid and kind whose 16 tiles fit together the same way, so it drops into a map painted with the original; the original is kept. save_normals adds a normal map of the new atlas. The job result has the same shape as createTileset's. Credits are held…

ParameterTypeDescription
requestBody *objectPayload for editing a whole tileset

create3DModel Create 3D model

Convert a source image into a textured 3D model (image-to-3D). The job result is a downloadable GLB model_url plus an array of snapshot image URLs rendered from different angles (handy for previews). model picks the generator: prop (default) is low-cost and suits everyday props and environment pieces; hero is far more detailed and accurate, for close-up assets, but slower and more expensive; low-poly makes a clean, game-ready quad-based mesh with artist-style topology, of up to 10,000 faces. A GLB only stores triangles, so a low-poly model_url has each quad cut in two: export3DModel with forma…

ParameterTypeDescription
requestBody *objectPayload for generating a 3D model from an image

create3DModelImage Create image for a 3D model

Make a character image ready to turn into a 3D model, the first step of Directional Sprites on the web. Pass a prompt describing the character, your own image (URL or base64), or both. With an image, it is redrawn as a 3D render, and the prompt becomes the changes to make (e.g. "add a red cape and a sword"); leave the prompt out to keep the character as it is. A redraw is a new picture each time, so call again for another try. The job result is a single image result with a url (not an array): pass that url as create3DModel's image. create3DModel itself converts the image it is given as it is.…

ParameterTypeDescription
requestBody *objectPayload for making a character image ready for create3DModel. Pass a prompt, an image, or both.

rigModel Rig 3D model

Rig a 3D model: generate a skeleton and skin weights for an existing GLB so it can be animated. Accepts a URL or base64-encoded GLB in `model` (here `model` is the 3D asset file, not an AI model name - rigging has no model choice). The job result is a downloadable `model_url` for the rigged GLB. rig_type selects the skeleton prior - general (default, any asset), humanoid (anime-style characters), game (classic game-character rigs), or the pinned humanoid templates for two-armed, two-legged characters: humanoid_template (standard 22-joint skeleton with named joints) and humanoid_template_hands…

ParameterTypeDescription
requestBody *objectPayload for rigging a 3D model with a skeleton

export3DModel Export 3D model to another format

Export a 3D model to another file format, or bundle its animations into one file. Pass the GLB in `model` (URL or base64; the 3D asset file, not an AI model name) and a `format`. `fbx` answers a zip with the FBX (color and normal maps embedded; for a rigged model its skeleton, skin and animations) and the color, normal, roughness and metallic maps as images. `obj` answers a zip with the static OBJ, its MTL and those images. `fbx` and `obj` keep the quads of a low-poly model, which a GLB stores as triangles. `stl`, `ply` and `off` are the geometry alone. `glb` is for adding animations: pass the…

ParameterTypeDescription
requestBody *objectPayload for exporting a 3D model to another format, with or without its animations

animate3DModel Animate 3D model

Generate text-driven skeletal animations for an already-rigged 3D model. Pass the rigged GLB in `model` (URL or base64; the 3D asset file, not an AI model name) and a motion `prompt` (e.g. "walking", "swinging its axe"). The model must already have a skeleton - rig it first with rigModel if not. The job result is num_variants candidate animations (default 4), each a standalone animation-only GLB (skeleton + one clip, no mesh) in `glb_url` plus an mp4 `preview_url`, so you can pick the best one and fuse it with your model in a game engine or three.js. mode selects the representation - rot_trans…

ParameterTypeDescription
requestBody *objectPayload for animating a rigged 3D model from a text prompt

animate3DModelPreset Animate 3D model with a preset or your animation

Apply a curated animation preset, or one of the account's generated animations, to an already-rigged 3D model (retargeting). Pass the rigged GLB in `model` (URL or base64; the 3D asset file, not an AI model name) and exactly one of a `preset_id` from the animation presets list (from listAnimationPresets; any preset id works) and an `animation_id` (the id of an animation from createAnimation or listMyAnimations). Set `mirror` to play the move on the other side, left and right swapped (a left-handed slash from a right-handed one). Any rig type can take a preset or an animation, though retargetin…

ParameterTypeDescription
requestBody *objectPayload for animating a rigged 3D model with a preset animation or a generated animation

createAnimation Create reusable animation from a prompt

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 the account and can then be played by any rigged humanoid 3D model or transferred onto any sprite. No model or sprite is animated by this call; to animate one rigged model straight from a prompt, use animate3DModel. The job result is an `animations` array, one animation per num_variants (each with its own seed), each with an `id`, a `name`, the `caption` the motion model was given, its `d…

ParameterTypeDescription
requestBody *objectPayload for generating animations from a text prompt

listMyAnimations List your generated animations

List the account's own animations: the ones generated with createAnimation or in the web app's My Animations, newest first. (Ludo's ready-made ones are listAnimationPresets.) Synchronous GET with no request body: it returns an `animations` array, each with the `id` to pass as `animation_id`, its `name`, the `prompt` it was generated from, its `duration`, whether it loops, and a `preview_url` (an mp4 of the move on a mannequin). 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. Pass an animat…

ParameterTypeDescription
beforeintegerOnly animations created before this time (unix seconds) - the `created_at` of the last animation of the previous call.
limitintegerHow many animations to return, newest first. Default: 50.

createSoundEffect Create sound effect

Produce a short sound effect (SFX) from a text description, such as "laser gun firing" or "footsteps on gravel". The job result is a single audio result containing the URL of an MP3 or WAV file (the URL's extension, .mp3 or .wav, says which). The description field is required, duration is capped at 10 seconds (0 means auto-pick based on the description), and you may set loop to true for a seamlessly looping effect. Credits are held when the job is accepted and refunded if it fails or is cancelled. Use this for short, discrete sounds; use createAmbiance for a continuous looping background sound…

ParameterTypeDescription
requestBody *objectPayload for generating a sound effect from a text description

createAmbiance Create ambiance

Produce a looping background ambiance soundscape from a text description, such as "windy forest at dusk" or "busy tavern interior". The job result is a single audio result containing the URL of an MP3 or WAV file (the URL's extension, .mp3 or .wav, says which). The description field is required and duration is capped at 10 seconds (0 means auto-pick based on the description). Credits are held when the job is accepted and refunded if it fails or is cancelled. Use this for continuous, atmospheric background loops; use createSoundEffect for short discrete sound effects, createMusic for musical pi…

ParameterTypeDescription
requestBody *objectPayload for generating a seamless looping ambiance soundscape from a text description

createMusic Create music

Produce a piece of music from a text description, such as "epic orchestral battle theme" or "calm piano melody", with optional lyrics. The job result is a single audio result containing the URL of an MP3 or WAV file (the URL's extension, .mp3 or .wav, says which). The description field is required; duration must be one of the allowed values (0 means auto, otherwise multiples of 10 up to 180 seconds) and out-of-range values return HTTP 400. Set loop to true for a seamlessly looping piece. Credits are held when the job is accepted and refunded if it fails or is cancelled. Use this for songs and…

ParameterTypeDescription
requestBody *objectPayload for generating music from a text description

createAudioTransform Remix audio

Remix an existing audio sample (a sound effect, ambiance, or music clip) into a variation that keeps its length and shape, for example turning a track into an 80s synthwave or metal version. The sample is uploaded as a URL or base64 audio and must be at most 15MB or the call returns HTTP 400. The prompt describes the remix; a music sample may leave it out for a variation, but a sound effect or ambiance needs one. For a song, the optional lyrics replace the sample's own (left out, they are kept). A voice cannot be remixed (HTTP 400 when its type is known; use createAudioSameStyle to turn a voic…

ParameterTypeDescription
requestBody *objectPayload for remixing an audio sample (sound effect, ambiance or music) into a variation guided by a text prompt

createAudioExtend Extend audio

Continue an existing audio sample (a sound effect, ambiance, or music track) seamlessly to a longer total length. The sample is uploaded as a URL or base64 audio and must be at most 15MB or the call returns HTTP 400; its silent ending is cut first. duration is the total length of the extended audio in seconds, at most 180; 0 (the default) adds about 30 seconds. The optional prompt says how the audio continues; left out, it continues in the same vein. For a song, the optional lyrics are sung in the new part. A voice cannot be extended (HTTP 400 when its type is known; use createAudioSameStyle).…

ParameterTypeDescription
requestBody *objectPayload for continuing an audio sample to a longer total length

createAudioSameStyle Make audio in a sample's style

Make new music or sound in the style of an existing audio sample, or turn a voice into a singer: a voice as the sample gives a song sung in that voice. The sample is uploaded as a URL or base64 audio and must be at most 15MB or the call returns HTTP 400. The prompt is required and describes the new piece (for example "calm village theme" or "tense boss fight"), and the optional lyrics are sung in it. duration is the new piece's length in seconds, at most 180: at least 10 for music and voices (0, the default, gives 30); for a sound effect or ambiance, 0 gives the sample's length. modification_s…

ParameterTypeDescription
requestBody *objectPayload for making a new piece in the style of an audio sample

createVoice Design voice

Design a new voice from a character description (such as "deep-voiced warrior" or "cheerful young girl"), a character image, or both, and have it speak a short line of text, returning a sample of that newly created voice. text is required, plus voice_description or image (an image of the speaking character, given as a URL or base64, makes the description optional); the spoken text is limited to 100 characters or the call returns HTTP 400, and type selects "human" or "non-human" voices. The job result is a single audio result containing the URL of an MP3 or WAV file (the URL's extension, .mp3 o…

ParameterTypeDescription
requestBody *objectPayload for generating a voice sample from a character description and/or a character image

createSpeech Speak text in a cloned voice

Convert text to speech by cloning the voice from an audio sample you provide (voice-cloning text-to-speech). Both text and sample are required; the text is limited to 250 characters and the sample is supplied as a URL or base64 audio that must be at most 15MB, with violations returning HTTP 400. An optional delivery note (at most 50 characters, e.g. "angry, shouting") says how the line is said. The job result is a single audio result containing the URL of an MP3 or WAV file (the URL's extension, .mp3 or .wav, says which). Credits are held when the job is accepted and refunded if it fails or is…

ParameterTypeDescription
requestBody *objectPayload for text-to-speech generation using voice cloning

createSpeechPreset Speak text in a preset voice

Convert text to speech using a named built-in preset voice, with optional language and either an emotion or a delivery note, depending on the voice. Both text and voice_preset_id are required and the text is limited to 250 characters. The voices named by a first name (e.g. "Rachel") take a delivery note (at most 50 characters, e.g. "angry, shouting") and no emotion; the descriptive voices (e.g. "Serious woman") take an emotion and no delivery note. Invalid input, including an emotion or delivery note the voice does not take, returns HTTP 400. The job result is a single audio result containing…

ParameterTypeDescription
requestBody *objectPayload for text-to-speech generation using a voice preset

listGenerations List past generations

List your generation history across the API and the web app - filter by type, source (api|web|all), text search, and date range. Returns {items, page, page_size, has_more}; keep paging while has_more is true. API-originated results expire after 7 days - download anything you want to retain. For an in-flight job's status use getApiJob instead.

ParameterTypeDescription
type *stringWhich kind of generation to list
date_fromintegerOnly return items generated at or after this time (unix seconds)
date_tointegerOnly return items generated at or before this time (unix seconds)
page_numberinteger1-based page number Default: 1.
page_sizeintegerItems per page (1-100) Default: 20.
request_idstringOnly return items tagged with this request_id when you generated them
searchstringFree-text search. Every whitespace-separated term must match (case-insensitive substring) the item's tags or one of its text fields (prompt, hints, style, label, ...), so "dwarf axe" narrows to items…
sourcestringWhich surface the items were generated from: api (your API/MCP generations, last 7 days only), web (your Ludo web studio generations, no time limit), or all (default, both) Default: "all".

listApiJobs List jobs

List the generation jobs you started through the API or MCP, most recent first. Web-app jobs are not included. This is a free read-only lookup (no credits, no generation). Filter with a comma-separated status list; limit defaults to 50 and is capped at 100.

ParameterTypeDescription
limitintegerMaximum number of jobs to return. Defaults to 50, capped at 100.
statusstringComma-separated statuses to include (queued, running, succeeded, failed, canceled). Defaults to all.

getApiJob Get job status and results

Poll the status of a generation job started by any tool. Every generation tool returns `{id, status}`; call getApiJob with that id until status is `succeeded` (then read `result`, shaped exactly like the tool's documented output) or `failed` (read `error`). Poll every few seconds, or pass `wait: 30` to long-poll - the call is held up to 30 seconds (max 60) and returns as soon as the job finishes.

ParameterTypeDescription
id *stringThe job id returned by a generation call (its `id` in the 202 response).
waitintegerSeconds to long-poll for a terminal state (0-60). Defaults to 0 (return immediately).

cancelApiJob Cancel job

Cancel a queued job you started through the API or MCP; the credits held for it are refunded. Jobs that are already running cannot be canceled (409). Returns the canceled job. This is free (no credits).

ParameterTypeDescription
id *stringThe job id returned by a generation call (its `id` in the 202 response).

getPricing Get Ludo plans and pricing

What Ludo's paid service costs and includes, for an agent advising a user: every plan with its monthly and annual price, credits, seats, queue concurrency and what it includes or lacks; credit top-ups and their price brackets; what each API call costs; and the rules to know before telling a user to pay. The ones that matter most: the API, MCP and CLI need an active Pro or Studio plan (Free and Indie get 402 on every other call), and there every generation costs credits - "unlimited" on Pro and Studio is the web app only. Plans are changed in the web app (`links.billing`); extra credits can be…

getAccount Get credits and plan

Show your account's credit balance, plan and auto top-up settings. `credits.available` is what generations can spend right now (plan_credits + extra - used); `resets_at` is when the plan's monthly credits refill (unix seconds). When `team_pool` is true the balance is your team's shared pool, and `auto_topup` is null because the team owner manages it. Check this before an expensive generation instead of waiting for a 402. Auto top-up is changed in the web app at `billing_url`. This is a free read-only lookup (no credits, no generation).

getTopupQuote Price extra credits

The price of a credit top-up (extra credits that stay while the plan is active) on your plan, and the one-time Link (`link-cli`) spend request to pay it without a browser. `credits` goes in steps between min_credits and max_credits. Free, read-only. Buying: createTopupLink (a payment page for the user to pay), or payTopup with a Link token. Never buy credits the user did not ask for.

ParameterTypeDescription
credits *integer

payTopup Buy extra credits with a Link payment token

Buy extra credits with a one-time Link Shared Payment Token (spt_...) the user approved in Link for exactly the amount getTopupQuote gives; when it answers "completed" the credits are in the account ("paid": they are on their way). For agents that run Link's CLI; otherwise use createTopupLink. A token buys one top-up, and payment_token is required here. Only when the user asked for the credits and approved the payment.

ParameterTypeDescription
requestBody *object

submitApiFeedback Send feedback to Ludo

Report a problem with the Ludo API itself to the Ludo team. Use it ONLY for API bugs (an error, a failed or stuck job, a crash, a response that does not match this documentation) and API limitations (a parameter, operation or format you needed that the API does not support, and that you could not work around). NEVER use it to report model limitations or the quality of a result: an image, sprite, animation, 3D model, video or sound that looks wrong, ignores part of the prompt, has artifacts or is not what you wanted is not an API bug. Do not report those; retry with a different prompt, model or…

ParameterTypeDescription
requestBody *objectPayload for reporting a bug, limitation or missing capability to Ludo