> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eversince.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Bring media in

> Media comes in from the user's devices, a web address, the user's computer, an online shop or stock, and lands in the project the call names.

Most work starts from the user's own footage, photos and recordings. Nothing needs to be set up first: an item brought in is in the library at once, and in a project when the call names one.

## From the user

`import_media` with mode `link` returns a page the user opens on a computer or a phone to add files. It returns a `link_id`, and `search_library` with `upload_link` lists what came through that page. Files added in the app, or from the iPhone app's share sheet, reach an agent as a pasted line of refs. When the footage doesn't exist yet, the app can record it: camera, screen with voice, or both.

## `import_media` modes

Importing is free. Making an item searchable uses cloud processing.

* `url` for hosted files and public Drive or Dropbox file links, up to 20 per call: 20 MB an image, 200 MB a video, 50 MB an audio file, 25 MB a document. Files are deduplicated by content, and each is reported as imported, duplicate or failed. A download that takes longer than about 20 seconds continues as a job.
* `file` for bytes in the call, base64, up to 3 MB.
* `local` for absolute paths on the machine running the Eversince app, up to 10 per call. Nothing is uploaded during the call, and the item plays and edits at once. With the workspace's cloud sync on (the default), a copy goes to the cloud in the background while the owner's storage has room; `cloud_copy: false` keeps these files on the computer only.
* `presign` and `confirm` for files the caller uploads itself with a PUT, up to 20 a call: up to 5 GB of video, 500 MB of audio, 20 MB for an image, 25 MB for a document. A larger video can be added through `link`.
* `link` for the upload page above.

A file made with the agent's own tools comes in the same way, and `made_from` links it to the items it was made from. Over REST, [Uploads](https://docs.eversince.ai/api/uploads.md) describes the same flow for a developer's own client. From a shell, `eversince upload` takes files or a folder, with `--project` and `--folder` to place them ([CLI](https://docs.eversince.ai/api/cli.md)).

## From elsewhere

* **An online shop.** `import_store_products` brings a shop's product images in from its URL, in a project named for the shop and folders by its categories, each image described in the shop's own words. It reads Shopify, WooCommerce and any shop that publishes product data. `dry_run` first returns the count, the size and whether it fits the storage left. Importing the same shop again fetches only what is new.
* **Stock.** `search_stock` searches stock images and video, and music, sound effects and ambience owned by Eversince. Each sound lists what plays in it, second by second; music also lists its genre, tempo, first downbeat, mood, energy and whether speech stays clear over it. A stock picture or video carries an attribution line in `credit`, which Pexels asks to show with it. `import_media` with `url` brings a result in.
* **Social posts.** A post's link is not a file and is not imported. Research reads a public post with `pull_posts`, and `keep_posts` keeps it as a reference. See [Research](https://docs.eversince.ai/capabilities/research.md).

## Where it lands

Nothing goes into a project on its own. `import_media`, `keep_posts` and the other calls that bring something in take `project` or `new_project` (a name, made when missing) and `folder`; `import_store_products` takes a project and makes its folders from the shop's categories. The result lists the projects it landed in. See [Projects](https://docs.eversince.ai/concepts/projects.md).

## Formats

ProRes, MKV and similar video show `needs_convert` in `get_items` until `convert_media` re-encodes them to H.264, in place (cloud processing), so browsers and the cloud renderer can play them. HEVC plays as it is. A file only on the user's computer plays there as it is.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.