# Post images and videos

Your AI assistant cannot read files on your computer, so Zernio gives you an upload link. Upload the file in your browser and the assistant attaches it to the post.

import { Step, Steps } from 'fumadocs-ui/components/steps';

## Attach a file

<Steps>

<Step>
### Ask for an upload link

Say you want to post an image or video:

<PromptList items={[{ prompt: 'I want to post a photo to Instagram.' }]} />

The assistant replies with a link.
</Step>

<Step>
### Upload in your browser

Open the link and drop the file on the page. The link works for 30 minutes.
</Step>

<Step>
### Say you're done

<PromptList items={[{ prompt: 'Uploaded. Post it with the caption "New menu is live".' }]} />

The assistant attaches the file and creates the post.
</Step>

</Steps>

Already have the file online? Paste its public URL in your request and skip the upload.

## What you can upload

Up to 5 GB per file:

- **Images:** JPG, PNG, WebP and GIF
- **Videos:** MP4, MOV, AVI, WebM and M4V
- **Documents:** PDF

Each platform has its own size and length limits. Ask your assistant, for example `What are TikTok's video limits?`.

## Using the CLI

Pass the file's public URL with `--media` on `zernio posts:create`. The [posting commands](/cli/posting) list the other options.