Add customer reference file
studio_reference_addStores and screens an image/video reference through the app attachment service. Inline files are limited to 512 KiB; larger files have an app upload-link path. Returns attachment and signed preview. scope:project applies to the project; scope:shot supports later shot binding. The reference list exposes persisted results after uncertain replies. No language model or generation-credit charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Existing reference media kind. | |
| name | Yes | File display name, for example wardrobe.webp. | |
| scope | No | Whole project by default; shot is supported only for an image. | |
| mimeType | Yes | Actual MIME type. It must match the kind and file bytes. | |
| projectId | Yes | Project ID returned by studio_projects_list or studio_video_start. | |
| bytesBase64 | Yes | Canonical base64 file bytes without a data URL prefix, up to 512 KiB decoded. Larger files have an app upload-link path. | |
| intendedAtMs | No | Optional song position for a shot-scoped image; this records intent and does not bind a shot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||