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.
|
|
Making more videos or voices? See the models and prices in All in One AI.
See All in One AI
|
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon) See plans |