Keeping your AI videos and voice files: download them, the links are not permanent

All in One AIAI Video & Voice·· 8 views· 3 min read

In short: when a video or a voice is ready, you get links to the files. Those links are not permanent. Download the files straight away, keep them with the project and always use your own copy, on the website, in an advert or on your phone line.

Where the files are

Where you asked How to download
API When GET /v1/media/generations/{id} returns completed, the links are in outputs.
Playground On the Video and Voice tabs, the «Download the video» and «Download the audio» buttons. The prompts and the files are also saved under «Conversations».
aio aio generate downloads to --out. A generation that did not finish in time is downloaded with aio status <id> --download.
MCP server Ask the agent to download the files into the project.

Downloading from the command line

Replace the text in quotes with the link from outputs. -O saves the file with the name in the link, with the right extension:

curl -L -O "<link from outputs>"

With aio:

aio generate audio "Welcome to our support service" --out welcome.mp3
aio status <id> --download --out videos/

Downloading in your program

In Python, after the check that returned completed (job is that generation). It saves each file with the name in the link:

import requests

for n, url in enumerate(job["outputs"], 1):
name = url.split("?")[0].rsplit("/", 1)[-1] or "file-%d" % n
with open(name, "wb") as f:
f.write(requests.get(url, timeout=120).content)

Organising what you keep

1 One folder per project or per campaign.
2 Next to each file, the prompt, the model id and the options (length, resolution). They help you make another version just like it.
3 A second copy, away from the computer you work on.
4 On a website, put the file in the website's own folder and point to that copy.
Do not count on the links or on «Conversations» to keep the files. The links are not permanent. The copy that counts is yours.
Before you publish, see what to check in a video or a voice. On a website, a video further down the page can load later: see lazy loading images and videos.

Making more videos or voices? See the models and prices in All in One AI.

See All in One AI

SEE ALSO

Before you publish an AI video or voice: what to check

Lazy loading images and videos: what to defer and what never to

A video that is not ready when the MCP server stops waiting: get_generation

Saving an AI image to your website or project: why you should download it

All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from 321,75 MT/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.