Whiteboard Animation

v1.0.1
ai.whiteboardanimation/whiteboard-animation Checked 4 days ago Published 1 month ago

Turn 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.

ParameterTypeDescription
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.

ParameterTypeDescription
imageobject
max_creditsnumber
quote_versionstring
settingsobject
titlestring
upload_idstring

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.

ParameterTypeDescription
drawing_id *string

list_drawings List drawings

The latest drawings in the library, newest first.

ParameterTypeDescription
limitinteger

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.

ParameterTypeDescription
render_id *string
statesarray

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.

ParameterTypeDescription
drawing_id *string
progress
statusstring