add_asset
Add a logo or full painted sheet to a Virada kit from a file path or base64 image, then use the returned ID in your kit layers.
Instructions
Add a picture the kit uses: a logo for an 'image' layer (PNG with transparency is best) or a whole painted sheet for {"sheet": ...}. Give a local file path (local servers) or base64 PNG/JPEG data. Use the id it returns in the kit. Names: letters, digits, _ and -. In a chat app that can't send a picture's bytes, skip this: build with layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| base64_png | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |