PixelLab API

Generate characters, animations, and environments on-the-fly. Perfect for procedural generation, live asset creation, and dynamic game content.

Available Models

Create Image

Create image (Pixflux)

POST /v2/create-image-pixflux
  • Generate pixel art from text descriptions
  • Maximum area 400x400
  • Supports init images and forced palettes
  • Optional transparent background

Estimated Price* (USD)

    64x64:

    $0.00793

    128x128:

    $0.00793

    320x320:

    $0.0101

    400x400:

    $0.0132

With Transparent Background

    64x64:

    $0.0084

    128x128:

    $0.00848

Plugin tool: "Create M-XL image (new)"

Create image (Pixen)

POST /v2/create-image-pixen
  • Generate pixel art from text descriptions
  • Maximum area 512x512

Estimated Price* (USD)

    32x32:

    $0.007

    64x64:

    $0.00718

    128x128:

    $0.00793

    256x256:

    $0.0089

    512x512:

    $0.0169

Plugin tool: "Create image S-XL (new)"

Create image (Bitforge)

POST /v2/create-image-bitforge
  • Generate pixel art from text descriptions
  • Apply custom art styles using reference images
  • Supports init images and forced palettes
  • Inpainting support
  • Maximum area 200x200

Estimated Price* (USD)

    32x32:

    $0.0071

    64x64:

    $0.00716

    128x128:

    $0.00797

    200x200:

    $0.01122

With Transparent Background

    32x32:

    $0.00734

    64x64:

    $0.00738

    128x128:

    $0.00821

    200x200:

    $0.01285

Plugin tool: "Generate S-M image (style)"

Image Operations

Convert image to pixel art

POST /v2/image-to-pixelart
  • Convert regular images into pixel art
  • Output up to 320x320 (recommended ~1/4 of input size)
  • Keep the same aspect ratio as the input

Estimated Price* (USD)

    64×64:

    $0.006

    128×128:

    $0.00666

    256×256:

    $0.01164

Resize

POST /v2/resize
  • Intelligently resize pixel art while preserving its aesthetic
  • Minimum area 16x16, maximum area 200x200

Estimated Price* (USD)

    64×64:

    $0.01788

    128×128:

    $0.01777

Remove background

POST /v2/remove-background
  • Remove the background from a pixel art image, producing a transparent PNG
  • Maximum area 400x400
  • Simple or complex background removal modes

Estimated Price* (USD)

    64×64:

    $0.00554

    128×128:

    $0.00554

    256×256:

    $0.00593

Animate

Animate with text

POST /v2/animate-with-text
  • Generate an animation from a text description
  • Image size 64x64
  • Supports inpainting, init images, and forced palettes

Estimated Price* (USD)

    64×64, 4 frames:

    $0.01565

Animate with text v3

POST /v2/animate-with-text-v3
  • Generate animations from a starting, and optionally, an ending frame.
  • Maximum size 256x256
  • Create up to 16 frames

Estimated Price* (USD)

    32x32, 4 frames:

    $0.0221

    256x256, 8 frames:

    $0.0302

    128x128, 16 frames:

    $0.0424

Plugin tool: "Animate with text (new)"

Animate with text (PixMiniMax)

POST /v2/animate-pixminimax
  • Tier 1 subscription or higher — beta
  • Animate any image from a motion description, with an optional end frame
  • Maximum size 256x256, 4 to 40 frames in multiples of four
  • Priced by generation time: the same frame count costs the same at any size
  • Optional prompt enhancement (enhance_prompt) expands a short motion into a detailed one

Estimated Price* (USD)

    64x64, 4 frames:

    $0.0178

    64x64, 8 frames:

    $0.0231

    256x256, 8 frames:

    $0.0231

    256x256, 40 frames:

    $0.0787

Plugin tool: "Animate with text (PixMiniMax)"

Powered by MiniMax H3

Animate with skeleton

POST /v2/animate-with-skeleton
  • Create animations using skeleton structures
  • Supported image sizes up to 128x128
  • Ideal for creating dynamic animations
  • Supports init images and forced palettes
  • Inpainting support

Estimated Price* (USD)

    32x32:

    $0.0136

    64x64:

    $0.01433

    128x128:

    $0.01572

Plugin tool: "Animate with skeleton"

Estimate skeleton

POST /v2/estimate-skeleton
  • Estimate the skeleton of a character
  • Designed to be used together with the Animate with skeleton model

Estimated Price* (USD)

    16x16:

    $0.00511

    64x64:

    $0.00513

    256x256:

    $0.00516

Plugin tool: "Animate with skeleton"

Rotate

Rotate

POST /v2/rotate
  • Rotate an object or a character
  • Supported image sizes up to 128x128
  • Supports init images and forced palettes
  • Inpainting support
  • Customize rotation with options for camera view, direction, and projection style

Estimated Price* (USD)

    64x64:

    $0.01057

    128x128:

    $0.01091

Plugin tool: "Rotate"

Generate 8 rotations v3

POST /v2/generate-8-rotations-v3
  • Rotate a south facing character in 8 directions.
  • Maximum size 256x256

Estimated Price* (USD)

    32x32:

    $0.0293

    64x64:

    $0.0337

    128x128:

    $0.0345

    256x256:

    $0.0377

Plugin tool: "Create 8 rotations (new)"

Inpaint

Inpaint

POST /v2/inpaint
  • Edit and modify existing pixel art
  • Create new variations that maintain style consistency
  • Supports init images and forced palettes
  • Maximum area 200x200

Estimated Price* (USD)

    64x64:

    $0.00716

    128x128:

    $0.00797

    200x200:

    $0.01122

With Transparent Background

    64x64:

    $0.00738

    128x128:

    $0.00821

    200x200:

    $0.01285

Plugin tool: "Inpaint"

Edit

Edit image

POST /v2/edit-image
  • Edit an existing pixel art image from a text description
  • Reference image 16x16 to 400x400

Estimated Price* (USD)

    64×64:

    $0.0118

Create Map

Create top-down tileset

POST /v2/create-tileset
  • Seamlessly connecting tiles for top-down maps
  • Represents two terrain levels

Estimated Price* (USD)

    16×16 tiles:

    $0.0079

    32×32 tiles:

    $0.0099

Create sidescroller tileset

POST /v2/create-tileset-sidescroller
  • Tiles for 2D platformer games
  • Floating platforms with transparent backgrounds

Estimated Price* (USD)

    16×16 tiles:

    $0.0079

    32×32 tiles:

    $0.0099

Create isometric tile

POST /v2/create-isometric-tile
  • Create an isometric tile
  • Minimum area 16x16, maximum area 64x64 (>24x24 often higher quality)
  • Supports init images and forced palettes

Estimated Price* (USD)

    32×32:

    $0.0156

    64×64:

    $0.0166

Map Objects

Create map object

POST /v2/map-objects
  • Create objects for game maps by showing part of the map

Estimated Price* (USD)

    Per object:

    $0.0099

Characters

Characters are saved in the Character creator so you can animate them later.

Create character with 4 directions

POST /v2/create-character-with-4-directions
  • Generate a character facing 4 cardinal directions (south, west, east, north)

Estimated Price* (USD)

    48×48:

    $0.0105

    64×64:

    $0.0122

Create character with 8 directions

POST /v2/create-character-with-8-directions
  • Generate a character facing all 8 directions

Estimated Price* (USD)

    48×48:

    $0.0133

    64×64:

    $0.0173

Create character (Pro)

POST /v2/create-character-pro
  • Create an 8-direction character using Pro mode
  • Reference-based generator for higher quality and finer style control

Estimated Price* (USD)

    Up to 85×85:

    $0.095

    Up to 113×113:

    $0.125

    Up to 168×168:

    $0.185

Create character v3

POST /v2/create-character-v3
  • Create an 8-direction character using the v3 model
  • From a south-facing reference image, or from scratch

Estimated Price* (USD)

    64×64:

    $0.041

    128×128:

    $0.042

    168×168:

    $0.045

Animate character

POST /v2/animate-character
  • Animate an existing character with multiple frames
  • Template, v3 or Pro mode — prices below are per animated direction

Estimated Price* (USD)

Template

    64×64:

    $0.0323

    128×128:

    $0.0956

v3 (4 frames)

    64×64:

    $0.0129

    128×128:

    $0.0145

Pro

    Up to 128×128:

    $0.095

    Up to 168×168:

    $0.185

Create character state

POST /v2/create-character-state
  • Create a new state (outfit, pose, or variation) of an existing character

Estimated Price* (USD)

    Up to 84×84:

    $0.095

    Up to 112×112:

    $0.125

    Up to 168×168:

    $0.185

Objects

Objects are saved in the Object creator.

Create single direction objects

POST /v2/create-1-direction-object
  • Generate multiple objects in a similar style
  • Supports generating from a style reference

Estimated Price* (USD)

    Up to 168×168:

    $0.095

Create 8 directional objects

POST /v2/create-8-direction-object
  • Generate an object in all 8 directions
  • Supports providing a style reference

Estimated Price* (USD)

    Up to 84×84:

    $0.095

    Up to 112×112:

    $0.125

    Up to 168×168:

    $0.185

Animate object

POST /v2/objects/{object_id}/animations
  • Add an animation to an existing object
  • v3 or Pro mode — prices below are per animated direction

Estimated Price* (USD)

v3 (4 frames)

    64×64:

    $0.0129

    128×128:

    $0.0144

Pro

    Up to 128×128:

    $0.095

    Up to 168×168:

    $0.185

Create object state

POST /v2/objects/{object_id}/states
  • Create a state (variant) of an existing object

Estimated Price* (USD)

Single-direction object

    Up to 168×168:

    $0.095

8-direction object

    Up to 84×84:

    $0.095

    Up to 112×112:

    $0.125

    Up to 168×168:

    $0.185

Enhance Prompt

Enhance Pixen prompt

POST /v2/enhance-pixen-prompt
  • Turn a short description into a detailed, model-friendly Pixen prompt
  • Detail scales with image size

Estimated Price* (USD)

    Per call:

    $0.002

Enhance character v3 prompt

POST /v2/enhance-character-v3-prompt
  • Enhance a v3 character description

Estimated Price* (USD)

    Per call:

    $0.002

Enhance animation v3 prompt

POST /v2/enhance-animation-v3-prompt
  • Enhance an animation action description for animate-with-text-v3
  • Set engine to pixminimax for animate-pixminimax prompts
  • Takes start and end frames into account

Estimated Price* (USD)

    Per call:

    $0.002

Pro Tools

Premium, reference-based generators for higher quality and larger canvases. Priced per call based on output size.

Create S-XL image (Pro)

POST /v2/generate-image-v2
  • Generate multiple pixel art variations from text; canvas 16–512px
  • Grid size and cost depend on dimensions (1×1 up to 8×8)
  • Optional reference and style images

Estimated Price* (USD)

    Up to 256×256:

    $0.095

    Up to 341×341:

    $0.125

    Up to 512×512:

    $0.185

Plugin tool: "Create S-XL image (Pro)"

Generate with style (Pro)

POST /v2/generate-with-style-v2
  • Generate images with a specific style reference
  • Use a style image to influence the output's aesthetics
  • Supports various canvas sizes from 16px up to 512px
  • Ideal for creating consistent themed assets

Estimated Price* (USD)

    Up to 256×256:

    $0.095

    Up to 341×341:

    $0.125

    Up to 512×512:

    $0.185

Plugin tool: "Generate with style (Pro)"

Create UI elements (Pro)

POST /v2/generate-ui-v2
  • Generate game UI (health bars, buttons, slots, menus) from text
  • Optional color palette and concept image
  • Grid and cost vary by requested size

Estimated Price* (USD)

    Up to 256×256:

    $0.095

    Up to 341×341:

    $0.125

    Up to 512×512:

    $0.185

Plugin tool: "Create UI elements (Pro)"

Animate with text (Pro)

POST /v2/animate-with-text-v2
  • Generate animation frames from one reference image and an action description
  • Outputs 4, 9 or 16 frames
  • Supports view and direction options

Estimated Price* (USD)

    Up to 128×128:

    $0.095

    Up to 170×170:

    $0.125

    Up to 256×256:

    $0.185

Plugin tool: "Animate with text (Pro)"

Edit animation (Pro)

POST /v2/edit-animation-v2
  • Edit multiple animation frames at once with a text instruction
  • Add or change items (e.g. sword, hat) across all frames
  • 2–16 frames; grid and cost depend on frame size

Estimated Price* (USD)

    Up to 128×128:

    $0.095

    Up to 170×170:

    $0.125

    Up to 256×256:

    $0.185

Plugin tool: "Edit animation (Pro)"

Interpolate (Pro)

POST /v2/interpolation-v2
  • Interpolate between two images or animations to generate smooth transition frames
  • Great for morphing or creating in-between frames for animation

Estimated Price* (USD)

    Up to 128×128:

    $0.095

    Up to 170×170:

    $0.125

    Up to 256×256:

    $0.185

Plugin tool: "Interpolate (Pro)"

Transfer outfit (Pro)

POST /v2/transfer-outfit-v2
  • Apply an outfit from a reference image to all frames of an animation

Estimated Price* (USD)

    Up to 128×128:

    $0.095

    Up to 170×170:

    $0.125

    Up to 256×256:

    $0.185

Plugin tool: "Transfer outfit (Pro)"

Generate 8 rotations (Pro)

POST /v2/generate-8-rotations-v2
  • Create 8 directional sprites
  • Generate from text (with an optional style reference), rotate a reference sprite, or create a sprite from a non-pixel-art concept image

Estimated Price* (USD)

    Up to 85×85:

    $0.095

    Up to 113×113:

    $0.125

    Up to 168×168:

    $0.185

Plugin tool: "Generate 8 rotations (Pro)"

Inpaint (Pro)

POST /v2/inpaint-v3
  • Remove or modify parts of an image using a mask and a text prompt
  • Great for edits, fixing, or painting new ideas onto sprites and images
  • Choose area and prompt for changes

Estimated Price* (USD)

    Up to 256×256:

    $0.095

    Up to 341×341:

    $0.125

    Up to 512×512:

    $0.185

Plugin tool: "Inpaint (Pro)"

Edit images (Pro)

POST /v2/edit-images-v2
  • Edit and enhance images using advanced AI tools.
  • Supports providing a reference image when editing.

Estimated Price* (USD)

    Up to 256×256:

    $0.095

    Up to 341×341:

    $0.125

    Up to 512×512:

    $0.185

Plugin tool: "Edit images (Pro)"

Create tiles (Pro)

POST /v2/create-tiles-pro
  • Generate multiple tile variations from outlined tile shapes
  • Supports hex, hex-pointy, isometric, and square top-down tiles

Estimated Price* (USD)

    Tile up to 42×42:

    $0.095

    Tile up to 56×56:

    $0.125

    Tile up to 85×85:

    $0.185

Plugin tool: "Create tiles (Pro)"

Pro Flash

Generate images, edit or inpaint, and create characters or objects. Character and object creation includes the first direction, followed by V3 rotations when requested.

Examples include processing. Use the Credits / Generations switch above to compare units. Custom image, character and object sizes use 4px increments, including 128×128 and 256×256, and are available in beta. Edit and inpaint support 32–256px per side in 4px increments. Credit prices marked TBD have not been established.

Create image (Pro Flash)

POST /v2/create-image-pro-flash
  • One image per call, with an optional style reference and transparent background
  • One native pixel art image at the requested size; custom sizes use 4px increments and are in beta

Estimated Price* (USD)

With Transparent Background

    32×32:

    $0.0236

    64×64:

    $0.0237

    128×128 (Beta):

    $0.028

    256×256 (Beta):

    $0.0401

Example estimates, not fixed prices. Charges vary with the request and processing time. Pricing is provisional. The 128×128 and 256×256 credit estimates project experimental usage.

Edit image (Pro Flash)

POST /v2/edit-image-pro-flash
  • Edit one image using a text instruction or an edit reference
  • Preserves the source canvas dimensions; minimum 32×32

Estimated Price* (USD)

    32×32:

    $0.0228

    64×64:

    $0.0233

    128×128:

    TBD

    256×256:

    TBD

Example estimates, not fixed prices. Charges vary with the request and processing time. Pricing is provisional. Edits support 32–256px per side in 4px increments; larger-size credit examples are still being measured.

Inpaint image (Pro Flash)

POST /v2/inpaint-image-pro-flash
  • Generate inside a mask while preserving every pixel outside it
  • Preserves the source canvas dimensions; minimum 32×32

Estimated Price* (USD)

    32×32:

    $0.023

    64×64:

    $0.0234

    128×128:

    TBD

    256×256:

    TBD

Example estimates, not fixed prices. Charges vary with the request and processing time. Pricing is provisional. Inpainting supports 32–256px per side in 4px increments; larger-size credit examples are still being measured.

Create character (Pro Flash)

POST /v2/create-character-pro-flash
  • Create an eight-direction character from a description in one request
  • Generates the first direction with Pro Flash, then the remaining views with V3 rotations
  • Optionally reuse a saved or uploaded first direction; the existing image is not generated or charged again

Estimated Price* (USD)

8 directions, including the first image

    32×32:

    $0.06

    64×64:

    $0.06

    128×128 (Beta):

    TBD

    256×256 (Beta):

    TBD

Example estimates, not fixed prices. Charges vary with the request and processing time. Pricing is provisional.

Create object (Pro Flash)

POST /v2/create-object-pro-flash
  • Create an object from a description with one or eight directions in one request
  • Generates the first direction with Pro Flash and uses V3 for additional directions
  • Optionally reuse a saved or uploaded first direction; saving it as a one-direction object has no additional generation charge

Estimated Price* (USD)

1 direction, including image creation

    32×32:

    $0.024

    64×64:

    $0.0244

    128×128 (Beta):

    TBD

    256×256 (Beta):

    TBD

8 directions, including the first image

    32×32:

    $0.061

    64×64:

    $0.0609

    128×128 (Beta):

    TBD

    256×256 (Beta):

    TBD

Example estimates, not fixed prices. Charges vary with the request and processing time. Pricing is provisional.

* All prices are estimates and will vary because of variation in the GPU processing time.