Upload reference media to Dare
dare_upload_mediaUpload image, video, or audio to Dare and receive a storage key for use in media generation. Accepts local files, public URLs, or base64 data without spending credits.
Instructions
Upload an image, video or audio file to Dare and return its storage key, for use as a reference in dare_generate_video or dare_generate_image. Accepts a local file path, a public URL, or base64 bytes. Spends no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL to download and upload. | |
| name | No | Display name in the Dare library. | |
| base64 | No | Base64-encoded file bytes. | |
| file_path | No | Absolute path to a local file this server can read. | |
| project_id | No | Optional Dare project id. | |
| content_type | No | MIME type, e.g. `image/png`. Inferred when omitted. |