Launch price: $25 $15 a book, shipped free
TinyTales
How it works What you get Pricing For agents Sign in
pick a crayon
Start a book

Upload a photo

tinytales_images_write books:write

Add one photo to a draft book and queue a coloring page. Action: upload. JPEG, PNG, WebP, or HEIC up to 10 MB. Undecodable, blank, or noise files are rejected.

Actions: upload.


01Access

The signed-in customer must have approved books:write. Calls stay inside that account.

02Annotations

readOnlyHint
false

The tool creates or updates records in the signed-in account.

destructiveHint
false

The upload adds a page. The page can be deleted afterward. It does not erase the book.

openWorldHint
false

This tool only reads or changes the signed-in TinyTales account. It does not post to the public internet or to other people’s services.

idempotentHint
false

Repeating the call can create another record.

03Input

action
string · required

Which action to run: upload.

book_id
string · required

Book id from tinytales_books action list or tinytales_books_write action create.

filename
string · required

File name including an extension, such as photo.jpg.

media_type
string · required

MIME type: image/jpeg, image/png, image/webp, or image/heic.

image_base64
string · required

Base64-encoded image bytes, without a data: prefix. Maximum decoded size is 10 MB.

response_format
string

json returns structured data. markdown returns the same data as a short readable summary. Defaults to json.

04Output

ok
boolean · required

True when the underlying TinyTales route accepted the call.

summary
string · required

One-line result for the model to read.

error
string

Present when ok is false. Names the failed state and the next action to call.

05Errors

06Example request

{
  "action": "upload",
  "book_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "filename": "lake.jpg",
  "media_type": "image/jpeg",
  "image_base64": "<base64>"
}

07Example response

{
  "ok": true,
  "summary": "Photo accepted and queued for a coloring page."
}

All tools