Save image
uoink_imageSaves supplied PNG, JPEG, or WebP image bytes to a local image corpus with optional caption and attribution; returns the saved item ID, slug, and metadata.
Instructions
Save supplied PNG, JPEG or WebP bytes as a local image corpus item with optional caption and attribution. Use for screenshots, diagrams or images; use uoink_note for text or uoink_page to fetch a webpage. Accepts strict base64 or a data URL and returns the saved item ID, slug and metadata. Invalid images are refused. No cloud OCR or vision service runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | No | Image media type, such as image/png, image/jpeg or image/webp; omit for detection. | |
| author | No | Attribution name supplied by the user; not an account to authenticate. | |
| caption | No | User-supplied image description stored with the item; no image analysis is performed. | |
| filename | No | Original image filename used as a naming hint, not a destination path. | |
| source_url | No | Original source URL to store for attribution; this field does not fetch it. | |
| image_base64 | Yes | Base64-encoded PNG, JPEG or WebP bytes; a data URL prefix is also accepted. |