Whiteboard Animation
v1.0.1Turn any picture into a hand-drawn whiteboard animation video, from your AI assistant.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
quote Quote a drawing
What drawing one picture costs, in credits, and the quote_version to pass when creating it.
status Account status
Call first. The signed-in workspace: its plan, credits left, drawings queued and running, and how many may queue.
create_upload Upload a picture
Start uploading a picture: answers an upload_url to PUT the bytes to, with the given headers. Then call create_drawing with the upload_id. Not needed when the host attaches the picture to create_drawing itself.
| Parameter | Type | Description |
|---|---|---|
content_type * | string | |
file_name * | string | |
size * | integer |
create_drawing Draw a picture
Draw a picture as a whiteboard animation. Spends credits (see quote). Answers at once with the drawing_id; the drawing takes a few minutes, follow it with get_drawing.
| Parameter | Type | Description |
|---|---|---|
image | object | |
max_credits | number | |
quote_version | string | |
settings | object | |
title | string | |
upload_id | string |
get_drawing Get a drawing
A drawing by id: its status and progress, its preview page, and once done the export options render_link accepts for it.
| Parameter | Type | Description |
|---|---|---|
drawing_id * | string |
list_drawings List drawings
The latest drawings in the library, newest first.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
render_link Render link
One link that renders up to 20 of your drawings as files, each with its own choices (format, resolution, aspect, background, hand…; see get_drawing export_options). Opening it in a browser renders them one after another and saves each file to that browser’s downloads; drawings still being drawn are rendered once they finish. Follow it with wait_render.
| Parameter | Type | Description |
|---|---|---|
drawings * | array |
wait_render Wait for rendered files
A render link’s files: each drawing’s state (pending, rendering, saved, failed) and, once saved, its file name and size in the browser’s downloads. Pass back the states of the last answer: it answers as soon as any of them moves on, or after about 50 seconds.
| Parameter | Type | Description |
|---|---|---|
render_id * | string | |
states | array |
wait_drawing Wait for a drawing
For the drawing card: answers get_drawing as soon as the drawing moves on from the status and progress the card last showed, or after about 50 seconds.
| Parameter | Type | Description |
|---|---|---|
drawing_id * | string | |
progress | ||
status | string |