tool_image_to_base64
Convert image files to Base64 strings or data URIs. Accepts base64-encoded file payloads and returns both formats for easy embedding.
Instructions
[image] Image to Base64
Parameters:
file (bytes): File
outputFormat (string): Output
Outputs:
base64 (string): Base64
dataUri (string): Data URI
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | File (base64 file payload) | |
| base64 | No | Base64 | |
| dataUri | No | Data URI | |
| outputFormat | No | Output |