# allyhub upload

> Upload files from this computer for a cloud tool whose input takes a URL (a presenter photo, speech audio, a reference clip), and print a signed URL for each, which works for a few hours

Source: https://allyhub.com/docs/reference/cli/upload · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub upload [files…]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<files>` | list of string | The files: images (.jpg, .png, .webp, .gif), sound (.mp3, .wav, .m4a, .aac, .ogg, .flac) or video (.mp4, .mov, .webm), 50 MB at most |

## Global options

`--json`: print the result as JSON.

## Output

With `--json`, the command prints an object with these fields:

| Field | Type | What it is |
| --- | --- | --- |
| `files` | list of object |  |

## Examples

```bash
allyhub upload assets/media/presenter.jpg
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**generating**: Making media with AI models: ai-media

`<work>` → `<work> <tool>` → `upload` → [`voice`](https://allyhub.com/docs/reference/cli/voice.md)
