Create reference
create_referenceSave a private reference: an outfit, pose, location, or object from an image (a public https URL or a data URL of a JPEG or PNG), or a voice clip (kind: audio) from audio (MP3 or WAV, trimmed to 15 seconds). Returns its handle: mention it in a generate prompt as @handle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What the reference is. The four image kinds take `image`; `audio` takes `audio`. | |
| name | Yes | The display name. | |
| audio | No | The clip, for `kind: "audio"`: an https URL, an upload URL, or a data URL of an MP3 or WAV. Trimmed to 15 seconds and normalized, like a clip uploaded in the app. | |
| image | No | The image, for the four image kinds: an https URL, an upload URL, or a data URL of a JPEG or PNG. Stored permanently with the reference. | |
| handle | No | The `@handle` prompts mention it by: 1 to 15 lowercase letters, digits, underscores, or dashes, starting with a letter. Handles such as image1 and image2 are reserved for uploaded images. Derived from the name when omitted. Cannot be changed later. | |
| description | No | Optional notes, for your own reference. |