Animate
Generate animation using skeletons
Creates 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]
post/animate-with-skeleton
Request body
Example request
{
"image_size": {
"height": 64,
"width": 64
}
}Response
Successfully generated image
Changes
No recorded changes to this endpoint across all 1 revision of this API.