Generate animation using skeletons
Changed onCreates a pixel art animation based on the provided parameters. Called "Animate with skeleton" in the plugin.
Supported image sizes:
- 16x16
- 32x32
- 64x64
- 128x128
- 256x256
Supported features:
- Inpainting
- Init image
- Forced palette
Using the Python client:
import pixellab
client = pixellab.Client(secret="YOUR_API_TOKEN")
response = client.animate_with_skeleton(
view="side",
direction="south",
image_size=dict(width=64, height=64),
reference_image=reference_image,
inpainting_images=existing_animation_frames,
mask_images=mask_images,
skeleton_keypoints=skeleton_keypoints,
)
images = [image.pil_image() for image in response.images]
Request
- Base URLhttps://api.pixellab.ai/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"image_size": {
"height": 64,
"width": 64
}
}Response
Successfully generated image
Changes
- breaking
added the new required request property
/ - breaking
request property
was restricted to a list of enum values - breaking
request property
was restricted to a list of enum values - breaking
the
request property type changed from no type tostring - breaking
the
/request property type changed fromobjectto no type - breaking
the
/request property type changed fromobjectto no type - breaking
the
request property type changed from no type toobject - breaking
the
///request property type changed fromnumbertointeger - breaking
the
request property type changed from no type tostring - breaking
the response property
/became optional for the status - breaking
response property
usage/usdlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - warning
removed from the
request propertyallOflist - warning
removed from the
request propertyallOflist - warning
removed from the
request propertyallOflist - warning
removed from the
request propertyallOflist - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
added the new
generationsenum value to the/response property for the response status - info
added the new optional request property
/ - info
added
subschema #2to therequest propertyanyOflist - info
added
subschema #2to the/request propertyanyOflist - info
added
subschema #2to the/request propertyanyOflist - info
added the new
eastenum value to the request property - info
added the new
high top-downenum value to the request property - info
added the new
low top-downenum value to the request property - info
added the new
northenum value to the request property - info
added the new
north-eastenum value to the request property - info
added the new
north-westenum value to the request property - info
added the new
sideenum value to the request property - info
added the new
southenum value to the request property - info
added the new
south-eastenum value to the request property - info
added the new
south-westenum value to the request property - info
added the new
westenum value to the request property - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
request property
list-of-types was widened by adding typesnullto media typeapplication/json - info
the
/request property's max was increased from200.00to256.00 - info
the
/request property's max was increased from200.00to256.00 - info
added the optional property
/to the response with the status - info
the
response property const valuebase64was added for the status - info
removed the
base64enum value from the//response property for the response status
- breaking