Voidless
v1.10.0Game sprites, animations, tilesets, SFX, music, 3D.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_assets
List the user's Voidless assets, newest first, to find one to animate, rotate, edit or reuse. For one asset's frames, image keys and world height use get_asset with its id. Free and read-only. Returns one line per asset (id, type, prompt, tags, frame and animation counts) and the page count.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). The reply says how many pages there are |
pageSize | integer | Assets per page, 1-100 (default 25) |
tag | string | Only assets whose tags contain this text, e.g. 'player'. Omit for all |
type | string | Only this asset type. Omit for every type |
get_image_data
An asset's image as a data: URI to put straight into HTML (<img src=…> or a CSS background), for sandboxes that cannot load images from another site, such as Claude's HTML artifacts. For an animation or rotation frame it returns ONE horizontal sprite strip (all frames side by side, each size×size) plus a CSS snippet that plays it. Shrunk to fit a reply (small sizes are fine for sprites; scale them up in CSS with image-rendering: pixelated). Free.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
frameId | integer | Frame id from get_asset (an animation, rotation set or edit). Omit for the base image |
imageIndex | integer | Only this image of the frame (e.g. one facing of a rotation set) instead of the strip |
size | integer | Pixels per image (square). Lowered automatically if the result would be too long |
check_generation
Get the result of a generation that was still running when its tool returned (the tool said 'Still generating' and gave a job). Call it about a minute later; if it is still running, wait and call again. Never re-run the original tool instead: that makes and charges a second one. Free.
| Parameter | Type | Description |
|---|---|---|
job * | string | The job from the 'Still generating' message |
get_asset
Show one asset in full: type, prompt, tags, base image, and every frame (animations, 8-way rotations, edits, layers) with its id, name, facings and image keys. Use it after list_assets or a generation, before any tool that takes a frame id (frameIndex, items, frameId) or an image key (referenceFile, end_frame); keys download at full size from https://cdn.voidless.dev/<key>, or as a data URI via get_image_data. Free and read-only. Also returns the world height and each frame's sprite_scale: size the asset in a game from these, never by eye.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
frameId | integer | Show only this frame, with every image key (long clips otherwise list just their first and last). Omit for the whole asset |
preview | boolean | Include the base image (or the frame's still) inline (default true). false = text only |
get_animation_presets
List the animation-set presets (platformer-character, topdown-walk/run/dash/attack/idle) with the actions each one makes, and the current price of an animation set. Free.
list_styles
List the user's saved styles: the art styles Voidless saved from style images they generated with (in the app or with generate_image's styleImage), newest first. Pass a style's id as generate_image's styleId to draw in it again, as picking it in the app does (styles are Voidless+ only). Free and read-only.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1) |
pageSize | integer | Styles per page, 1-50 (default 20) |
tag_asset
Add, remove or replace the tags on one asset, so it can be found again with list_assets(tag). To tag a single clip or edit inside an asset use tag_frame instead. Free; only the tags change, but mode 'replace' or 'remove' drops existing tags, and repeating a call gives the same result. Returns the asset's full tag list after the change.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
tags * | array | Tags, e.g. ['player', 'level-1']. Case-insensitive duplicates are merged |
mode | string | add = keep existing tags and add these, remove = drop these, replace = set exactly these |
tag_frame
Add, remove or replace the tags on one frame of an image asset (an animation, edit or part), e.g. to mark which clip is 'idle' or 'final'. 8-way rotation frames cannot be tagged: their tags are the facings the animation presets rely on. Free.
| Parameter | Type | Description |
|---|---|---|
frameIndex * | integer | Frame id from get_asset |
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
tags * | array | Tags, e.g. ['player', 'level-1']. Case-insensitive duplicates are merged |
mode | string | add = keep existing tags and add these, remove = drop these, replace = set exactly these |
generate_image
Generate a game sprite/asset image. Infer every field from the request: art STYLE, colour PALETTE, asset TYPE, output SIZE and PERSPECTIVE; for characters also facing/pose/bodyType. Leave model out unless the user names one: the server then picks by size (flux2-klein, 1 credit, up to 64 px; gpt-image-2.5, 3 credits, from 96 px). Costs by model: flux2-klein 1, gpt-image-2.5 3, gpt-image-2.6 10 credits (a reference image makes it 2 and uses flux2-klein). ASSET SHEETS: type 'artwork' + model 'gpt-image-2.6' + size 2048 (20 credits) or '4k' (30 credits) draws one big picture holding a whole matchi…
edit_image
Change an existing image asset with a written instruction (recolour it, add a hat, fix a detail); the edit is added to that asset as a new frame and the original stays. For a new picture use generate_image; for a pixel version at another size use resize_sprite. 5 credits on every call (each call makes and bills another edit; refunded if it fails); a slow run returns a job for check_generation. Returns the new frame's id and image key, which referenceFile on rotate_sprite, animate_sprite or another edit_image call takes.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
prompt * | string | The change to make, as one instruction, e.g. 'make the cloak dark red' or 'give him a straw hat'. Unmentioned parts are kept |
frameId | integer | Optional: the frame the new frames hang under in the editor (usually the frame referenceFile came from). |
images | array | Optional extra reference images: image keys from any of your assets (get_asset lists them), or their cdn.voidless.dev URLs. Other links are refused: upload the picture first |
model | string | The edit model, as the app's Edits setting offers (same price, 5 credits): p-image (default, the app's editor), gpt-image-2.5 or flux2-klein. Only when the user names one |
referenceFile | string | Work from one image instead of the asset's base: an image key from any of your assets (as get_asset lists it), or its cdn.voidless.dev URL. Empty = the asset's current base image. |
remove_bg | boolean | Remove the background from the result, as the app's editor does. Set false for artwork or a scene that should keep its background |
make_normal_map
Make a normal map for an image asset, for 2D lights in a game engine: which way each pixel faces, so a moving light shades it. The shape comes from a depth model, the drawn detail from the picture. PNG at the picture's own size, OpenGL style (green = up: Godot and Unity read it as is; flip green for Unreal). Pass frameId (from get_asset) for an edit, or an animation (one map per frame); leave it out for the image itself. Free.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
frameId | integer | Optional: the frame (an edit or an animation, from get_asset) to make it for. Empty = the image itself. |
make_glow_map
Make a glow map from an edit that switched lights on (or made a night version with lights glowing): the light the edit added over the picture it came from, on transparency, for an additive or emissive layer in a game. Same size as the picture. Pass the edit's frameId (from get_asset). Free.
| Parameter | Type | Description |
|---|---|---|
frameId * | integer | The edit (a frame from get_asset) whose light to keep |
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
rotate_sprite
Turn a sprite into an 8-way set (front, back, sides and diagonals) in one pass. The result is a 'rotations - 8-way' frame whose facings line up with its images; pass those to generate_animation_set to animate each direction. Works best from a side-profile sprite. 20 credits.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
frameId | integer | Optional: the frame the new frames hang under in the editor (usually the frame referenceFile came from). |
referenceFile | string | Work from one image instead of the asset's base: an image key from any of your assets (as get_asset lists it), or its cdn.voidless.dev URL. Empty = the asset's current base image. |
extract_parts
Cut an image into its separate pieces. Two uses: (1) a sheet of game items (characters, props, trees...) into one NEW asset per item (the default, save_as 'assets'): each item at its own proportions, framed on a square at the sheet's size (1024 for a 2048/4k asset sheet from generate_image, cut from the full-resolution sheet) like a generated sprite (filling the frame), named after the item, a character or an object, in the sheet's projects and style. Those are generated images like any other: rotate_sprite, animate_sprite, generate_animation_set and resize_sprite all take them; (2) a characte…
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
asset_type | string | save_as 'assets' only: the new assets' type. auto = character when the item's name is one (hero, golem, slime, wolf...), else object |
frameId | integer | Optional: the frame the new frames hang under in the editor (usually the frame referenceFile came from). |
prompt | string | Optional: which parts to cut out. Empty = every separate item (assets) or the standard rig parts (frames) |
referenceFile | string | Work from one image instead of the asset's base: an image key from any of your assets (as get_asset lists it), or its cdn.voidless.dev URL. Empty = the asset's current base image. |
save_as | string | assets = each piece saved as its own new asset (default); frames = body-part layer frames on this asset, for rigging |
generate_asset_set
Make a whole matching game art set in the game's CAMERA VIEW: characters, props and tiles drawn on 2048 GPT-Image 2.6 sheets, cut into one asset per item, each tagged with the view's dimension and facing so rotate_sprite and the animation tools use the right angle. view: 'platformer' (side profile facing right, eye level), 'topdown' (classic RPG, ~45° camera, characters head-on and symmetrical), 'topdown-overhead' (straight down), 'isometric'. Items are planned onto sheets (about 3-4 characters, 4-6 objects or 3 tall props a sheet; the first sheet, or style_asset_id, is the style every later…
| Parameter | Type | Description |
|---|---|---|
items * | array | Everything the set needs, e.g. [{name:'knight'}, {name:'frost wolf', body:'quadruped'}] |
view * | string | The game's camera view |
estimate_only | boolean | true = only the sheet plan and the price; nothing is drawn or charged |
palette | string | Colour palette for every sheet. Named palettes (fixed colours, the same as Voidless Monarch's): pico8, gameboy, nes, endesga32, endesga64, sweetie16, resurrect64, aap64, apollo, pear36, lospec500, ste… |
style | string | Style preset (smooth styles: cartoon, cel-shading, flat, hand-drawn, anime, watercolor, comic-book, 3d-render, ...). Not pixel art: resize_sprite the pieces afterwards |
style_asset_id | integer | Optional: an existing sheet (or any image asset) whose style the whole set copies, at full resolution |
style_words | string | Optional extra style words for every sheet, e.g. 'muted colours, matte shading, medium outlines' |
add_to_asset_set
Add new pieces to an existing asset set from generate_asset_set, drawn in the same view, style preset, style words, palette and style sheet, or (redraw_failed) redraw the pieces that failed their view check or were not cut out. For a new set in another view or style use generate_asset_set; for one loose image, generate_image. Voidless+ only; 20 credits a sheet + 10 a cut on every call (estimate_only shows the plan and price free), and a long run returns a job for check_generation. Returns each new piece's asset ID, tags and world_height (in the set's reference-character heights: give `size` on…
| Parameter | Type | Description |
|---|---|---|
set_id * | integer | The set's id: generate_asset_set's set_id, which is its first sheet's asset id |
estimate_only | boolean | true = return only the sheet plan and the price; nothing is drawn or charged (default false) |
items | array | New items for the set, 0-24, same shape as generate_asset_set's items. May be empty when redraw_failed is true |
redraw_failed | boolean | true = also redraw, on a small sheet in the set's style, the pieces that failed the view check or went missing (default false) |
upload_image
Save an image the user already has (drawn, bought or made in another tool) as a new image asset in their Voidless library, so edit_image, rotate_sprite and animate_sprite can work on it. To clean up a messy sprite or a video on the way in use clean_up_sprite; for a 3D model, upload_3d_model. Free, but each call saves another copy. Pictures that are not a square of 32, 48, 64, 96, 128, 192, 256 or 384, 512, 768 or 1024 px are centred on the smallest that holds them with transparent padding (scaled down to 1024 if larger); returns the asset ID and says so.
| Parameter | Type | Description |
|---|---|---|
image | string | Base64 image instead of url (a data: prefix is stripped automatically). Give url or image, not both |
remove_bg | boolean | Remove the background on upload (default false). Set true for a sprite on a solid background |
type | string | What the picture is (default 'character'), with the same meanings as generate_image's type |
url | string | Public http(s) link to the image. Preferred: a long base64 string is easy to garble. Give url or image, not both |
pixelate_image
Convert an image to pixel art at a target size, with the colour count picked for that size. The PNG comes back inline and is NOT saved to the user's library, so it has no asset ID. For a messy sprite or a video use clean_up_sprite (saved, background removed); for a Voidless asset with its animations use resize_sprite (free). 1 credit on every call (each call bills again).
| Parameter | Type | Description |
|---|---|---|
image * | string | The source image: an image key from one of your assets (as get_asset lists it), a public http(s) link (a cdn.voidless.dev URL works), or base64 (a data: prefix is stripped automatically). Prefer a key… |
size | Output size in px (square, default 64): 32, 48, 64, 96, 128, 192, 256 or 384, or 512 and 1024, drawn on a real 4x grid (128 / 256 art pixels). Smaller sizes give chunkier pixels and fewer colours |
clean_up_sprite
Make a sprite or a short animation made ANYWHERE (another AI tool, an artist, a screen recording) game-ready with Voidless's own clean-up: background removed with stray pieces checked (sparks and dust kept, smudges removed); pixel art put on a real pixel grid with one palette and stray pixels fixed. A 1-5 s video comes back as 16 frames: kind 'loop' cuts the cleanest loop (walk, run, idle), 'once' keeps the whole move (attack, jump). Saved to the user's library. Give the file as a public URL (best for videos) or base64. 1 free run a day (10 on Voidless+), then 1 credit an image, 2 a video. For…
| Parameter | Type | Description |
|---|---|---|
file | string | Base64 file instead of url (a data: prefix is stripped automatically) |
kind | string | What the file is. Inferred from the url's extension when omitted |
motion | string | Video only: loop = find the cleanest loop; once = keep the whole clip |
size | Output size. Pixel: 32, 48, 64, 96, 128, 192, 256 or 384, 512 or 1024 (default 64); smooth: 512 (default), 768 or 1024 | |
style | string | pixel = pixel art at 32-1024; smooth = clean cut-out at 512, 768 or 1024 |
url | string | Public http(s) link to the image or video. Use this for videos |
animate_sprite
Animate one sprite into a single 16-frame clip from a description of the motion. Only for one clip: several facings of one character (its rotation views, one action in every direction) or several moves go through generate_animation_set, which decides room and size once for every facing so they come out one size; separate animate_sprite calls per facing do not match. 15 credits; 25 for a 1024 HD image (drawn at 1080P), 30 for a looping walk/run on a 1024 HD image (walk, stroll, march, sneak, tiptoe, patrol, run, jog, sprint, dash or a charge forward, ending on its start frame: a 2 s clip, playe…
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
prompt * | string | The motion, e.g. 'walk cycle', 'swings sword overhead' |
end_frame | string | Optional image for the clip to end on: an image key from any of your assets (get_asset lists them), or its cdn.voidless.dev URL, e.g. the start image to loop, or another sprite's pose. Empty = free en… |
frameId | integer | Optional: the frame the new frames hang under in the editor (usually the frame referenceFile came from). |
referenceFile | string | Work from one image instead of the asset's base: an image key from any of your assets (as get_asset lists it), or its cdn.voidless.dev URL. Empty = the asset's current base image. |
room | string | Room for big moves. auto: a big move (a kick, a special, a fall, a jump) on a character that fills its frame is drawn on a bigger canvas at the character's own size, so nothing is cut off. on: draw it… |
generate_animation_set
Generate several animations in one job, one clip per animation, all run in parallel. For several facings of one character (its rotation views) use this, not one animate_sprite call per facing: the set decides room and size once for every facing, so they come out one size. Ways to use it: 1. A PRESET on one or more sprites: platformer-character (idle, walk, run, jump, attack-1, death, hurt) or a top-down set (topdown-walk/run/dash/attack/idle: 8 directions; topdown-idle-4: the 4 cardinals only). Every sprite gets EVERY action of the preset: topdown-run on one image makes all 8 runs (8 clips), n…
| Parameter | Type | Description |
|---|---|---|
items * | array | Images to animate, in order |
autoFlip | boolean | After the run, mirror every right-side clip on the asset that has no left twin (animate only the right-facing turns, get all eight). Free |
expectedCost | integer | The total in credits the user confirmed from the plan. Omit to get the plan first (free) |
facings | string | 'rotation' with ONE item and a topdown-* preset: run it on that sprite's 8-way rotation (its newest, or the item's frameIndex), one clip per facing with the left side mirrored, as the app's Animation… |
flipFacings | boolean | On an 8-way rotation set, mirror the left-side clips from the right-side ones instead of animating them (mirrored clips are free). One-sided details swap sides, as on the rotation images |
holdFacing | boolean | End every clip on the frame it started from, even one-off clips such as a death (by default loops end on their start and one-offs don't) |
preset | string | Named set of actions (see get_animation_presets) |
prompt | string | Without a preset: the actions to make, as 'name: description' separated by semicolons. With one: optional extra direction for every clip |
room | string | Room for big moves, decided once per sprite for the whole set so it is one size in every clip. auto: if any clip is a big move (kick, special, fall, jump) and the character fills its frame, every clip… |
slotEnds | array | Optional end frame per item, in items' order: an image key from any of your assets (get_asset lists them) or its cdn.voidless.dev URL, or {frameIndex, imageIndex} / {base: true} on that item's own ass… |
ways | With facings 'rotation': 8 facings (default) or the 4 cardinals |
flip_left_side
Mirror every right, up-right and down-right animation on an asset that has no left twin into one (walk-right -> walk-left). The 8-way turns draw the left side as a mirror of the right, so animate the right-facing turns and flip for the rest. Free (no model call). One-sided details swap sides.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
reprocess_animation
Free. Re-cut an asset's animations from the videos Voidless stored when it made them, with the current pipeline: cut-out, seamless loop, 30 fps, one size across facings, steady idles. Replaces those frames in place (same ids and names; the old images are kept and can be restored). Only for animations made in an animation set (generate_animation_set) since Voidless started keeping their videos. frameIds: the animation frame ids to re-cut (omit for every re-cuttable animation on the asset).
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
frameIds | array | Animation frame ids; omit for all |
resize_sprite
Free. Only for images generated in Voidless (not uploads): pixel sprites of size 32, 48, 64, 96, 128, 192, 256 or 384, or HD (non-pixel, square 512/1024) images. Re-runs Voidless's pixel pass at a new size from the art it stored, so the base image, its rotations, edits and every animation come out at the new size on one palette and the character keeps its design (unlike generating it again smaller). On an HD image it makes a pixel version at `size`: generate HD, then resize to 64 and to 32 for pixel versions. Makes a NEW asset; the original is untouched.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Asset ID (from list_assets / get_asset or a previous result) |
size | New size in px: 32, 48, 64, 96, 128, 192, 256 or 384. Omit to keep the size (required for an HD image) |
match_palette
Free. Pixel images of size 32, 48, 64, 96, 128, 192, 256 or 384, generated in Voidless or uploaded (an HD image: resize_sprite it to a pixel size first). Puts 1-12 sprites on ONE shared palette so separately generated assets look like one scene. The palette is built from all of them as colour ramps, or given as hex colours, or led by one sprite's own colours; every frame of every sprite is remapped along the ramps so shading stays smooth. Each sprite gets a NEW asset (originals untouched).
| Parameter | Type | Description |
|---|---|---|
ids * | array | The image assets to put on one palette (1-12) |
colours | integer | Size of the SHARED palette all of them draw from (8-64, default 24). Each sprite keeps roughly its own colour count |
lead | integer | One of ids whose own colours are kept exactly; the others follow it |
palette | array | Use this palette instead, as hex colours like "#1a2b3c" |
generate_sfx
Generate one short sound effect (a coin pickup, sword hit, footstep, UI click): a 1-second MP3 saved as an sfx asset in the user's Voidless library. For background music or a looping track use generate_music instead. 5 credits on every call (each call makes and bills a new sound; refunded if it fails); a slow run returns a job for check_generation. Returns the asset ID, the MP3 link and the credits left. For a free sound made at once (114 kinds in 8-bit or high quality, up to 5 seconds, as WAV, with variations), use generate_sound.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | The one sound to make, with its source and character, e.g. 'retro 8-bit coin pickup, bright and short' or 'heavy sword hitting a metal shield'. One sound per call; the clip is always 1 second long |
generate_music
Generate an instrumental music track (no vocals) for a game: an MP3 of 30-120 seconds saved as a music asset in the user's Voidless library. For a single short sound (a hit, a pickup, a click) use generate_sfx instead. 10 credits on every call, whatever the length (each call makes and bills a new track; refunded if it fails); a slow run returns a job for check_generation. Returns the asset ID, the MP3 link and the credits left. For free game music made at once (ten styles, 8-bit or high quality, seamless loops and stingers, as WAV and MIDI), use compose_music.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | 10-300 characters naming the genre, mood, instruments and where it plays, e.g. 'upbeat chiptune with square-wave lead for a title screen'. Leave tempo and key to bpm and keyScale, which are added to t… |
bpm | integer | Tempo in beats per minute, 80-200 (default 100): about 80-100 for calm or exploration music, 120-160 for action or chases |
duration | integer | Track length in seconds, 30-120 (default 60). The price does not change with length |
keyScale | string | Musical key and scale, e.g. 'A minor', 'D major' (default 'C major'). Minor keys sound darker or tenser, major keys brighter |
generate_video
Generate a new MP4 video clip (a trailer shot, cutscene or animated background) from a prompt and 1-7 reference images, saved as a new video asset in the user's Voidless library. To continue an existing video use extend_video; to make a sprite move (a walk, an attack) as game frames use animate_sprite or generate_animation_set. 15 credits per second (60 for the default 4 s), charged on every call and refunded if it fails; a run usually takes minutes and returns a job for check_generation. Returns the asset ID, the MP4 link and a thumbnail; pass the asset ID to extend_video to make it longer.
| Parameter | Type | Description |
|---|---|---|
images * | array | 1-7 reference images for the characters, objects and style in the clip: image keys from get_asset, https URLs, or data: URIs |
prompt * | string | What happens in the clip: the action, camera movement and setting, e.g. 'slow push-in on the knight drawing his sword at dusk' |
aspect | string | The clip's shape: '16:9' landscape (864x496, default) or '9:16' portrait (496x864) |
duration | integer | Clip length in seconds, 4-15 (default 4). Cost is 15 credits per second |
extend_video
Make a new clip that continues an existing video asset from its last frame, added to that asset as an extension (the original clip is kept). For a brand-new clip use generate_video. 15 credits per second (60 for the default 4 s), charged on every call and refunded if it fails; a run usually takes minutes and returns a job for check_generation. Returns the new clip's MP4 link; call again to keep going, since an empty `video` continues from the latest extension.
| Parameter | Type | Description |
|---|---|---|
assetId * | integer | The video asset to continue (from generate_video, list_assets type 'video' or get_asset) |
prompt * | string | What happens next, starting from the clip's last frame, e.g. 'the knight charges toward the camera' |
aspect | string | The clip's shape, as the app's video editor offers: '16:9' (864x496, default) or '9:16' (496x864). Match the clip being continued |
duration | integer | Length of the new clip in seconds, 4-15 (default 4). Cost is 15 credits per second |
images | array | Reference images for the characters and style (image keys from get_asset or https URLs, up to 7). Default: the video's own references, as the app's editor sends them (its editor references, else the i… |
video | string | Which clip to continue: a file key from get_asset's 'Video extensions' line or the asset's own file. Empty (default) = the latest extension, or the original clip if it has none |
generate_3d_model
Generate a textured 3D model as a GLB file, from a text prompt or from one of the user's images (image_id: the app's Convert to 3D, the image and the model linked), saved as a new model asset in the user's Voidless library. For a model the user already has use upload_3d_model; for a 2D sprite use generate_image. 45 credits for mode 'game' or 15 for an 'lq' draft, charged on every call and refunded if it fails; a slow run returns a job for check_generation. Returns the asset ID, the GLB link, a thumbnail and the seed; a character goes on to rig_3d_model, then animate_3d_model. For a free voxel…
| Parameter | Type | Description |
|---|---|---|
bodyType | string | type 'character' only: the body plan (default humanoid; with image_id, the image's own). Ignored for objects |
image_id | integer | Build the model from one of your image assets instead of drawing a reference (its picture is cut out and used as it is). The model is linked to the image, so sprites rendered from it go back onto that… |
mode | string | game = game-ready, a light clean mesh of about 19k triangles (45 credits); lq = draft (15 credits). hq is an old name for game |
palette | string | Colour scheme of the model's texture, as the app's 3D generator offers (default none: the prompt's own colours). Named palettes (fixed colours, the same as Voidless Monarch's): pico8, gameboy, nes, en… |
prompt | string | The single model to make, with its shape, materials and colours, e.g. 'wooden treasure chest with iron bands'. Required without image_id; with one it is optional (default: the image's own prompt) |
seed | integer | RNG seed (0 = random, the default). The result reports the seed used |
source_file | string | With image_id: which picture of it, an image key of that asset as get_asset lists it (an edit, or one view of a rotation set). Default: the image itself |
style | string | 'low-poly' (default: faceted triangles, flat colours), 'blocky' (voxel art, built from cubes), 'claymation', 'origami', 'hand-painted' (stylized fantasy) or 'toy' (glossy vinyl figure) |
type | string | 'character' makes a T-posed figure ready for rigging (default 'object'; with image_id, from the image's own type) |
upload_3d_model
Add a 3D model the user already has (a GLB from Meshy, Tripo, Rodin, Blender or any other tool) to their library as a normal 3D model, so rig_3d_model, animate_3d_model work on it like on one made with generate_3d_model. A binary glTF 2.0 (.glb) up to 40 MB with everything embedded; Draco- or meshopt-compressed files are refused (export without mesh compression). The thumbnail is drawn from the front. Give it as a public URL (best: a long base64 string is easy to garble) or as base64. Free.
| Parameter | Type | Description |
|---|---|---|
glb | string | Base64 .glb instead of url (a data: prefix is stripped automatically) |
name | string | What the model is, e.g. 'knight' (default: the file's name) |
url | string | Public http(s) link to the .glb. Use this when the file is online |
rig_3d_model
Add a skeleton to a 3D model so it can be animated: a humanoid, a four-legged animal, or a prop's moving parts (a chest lid, a door, a tree's trunk). Run before animate_3d_model. 30 credits.
| Parameter | Type | Description |
|---|---|---|
id * | integer | 3D model asset ID |
animate_3d_model
Animate a rigged 3D model. Either a ready-made move (free; characters: idle, walk, run, jump, attack, punch, kick, wave, hurt, death, cast, dance; four-legged animals: idle, walk, run, jump, attack, sit, hurt, death), a move copied from another of the user's rigged models (free: from_id + from_animation), or a description of any motion ('wag its tail', 'open the lid', 20 credits). Returns the clip, a GLB of the skeleton's motion that plays on the rigged model, and its animation id (from_animation when copying it); get_asset on the model lists every animation's id.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Rigged 3D model asset ID |
duration | integer | Whole seconds (1-10), for a described motion (default: its natural length) |
from_animation | integer | The animation id on from_id to copy |
from_id | integer | Copy a move from this other rigged model (free) |
preset | string | Ready-made move id, e.g. 'walk' (free) |
prompt | string | Or describe the motion, e.g. 'a spinning kick' (20 credits) |