
aio generate creates images, videos and voice from a description, without writing code. It sends the request, waits, downloads the file and shows what it cost. Here are the options you will use most. If you do not have aio yet, start with installing aio and logging in with your key.
One command per type
aio generate image "a lighthouse at sunset" --opt size=1024x1024 --out images/
aio generate video "waves crashing on the rocks" --model <id>
aio generate audio "Welcome to our support service" --out welcome.mp3
The text in quotes is the description. For audio, it is the text to read. While it waits, aio shows a progress indicator. At the end, it downloads the files and shows the cost.
The options
| Option | What it does |
| --model <id> | Chooses the model. Without it, aio uses the default model of each type, the same as the MCP server. |
| --opt key=value | Fills in a model field, such as the image size. You can repeat it, one field at a time. |
| --out | Where the files go. Without it, they land in the current folder. In the audio example, it already has the file name. |
| --no-wait | Only sends the request and shows the id. It does not wait or download. |
| --timeout | The waiting time, in seconds. By default, 300 for images and voice and 900 for videos. |
Which fields each model accepts
Each model has its own fields: the size, the length, the voice. Do not guess the names. Look up the model and see them:
aio models --type image
aio model <id>
For image, video and voice models, aio model shows the input fields you can use with --opt. Write the field name, an equals sign and the value, with no spaces: --opt size=1024x1024. More in seeing models and prices in the terminal.
Changing the default model
If you always use the same model, you do not need --model in every command. The AIO_IMAGE_MODEL, AIO_VIDEO_MODEL and AIO_AUDIO_MODEL variables hold the model of each type. On Linux and macOS:
export AIO_VIDEO_MODEL="<id>"
To have the variable in every new terminal, add the same line to ~/.bashrc or ~/.zshrc. --model still wins when you write it.
What it costs
The price of each model is in aio models and on the Models tab of All in One AI: per image, per second of video or per generation. We reserve the credits with the request, charge the real cost at the end and return the rest. A generation that fails costs nothing.
| A video may go past the waiting time. It is not lost: the generation keeps running on the server. Check it later with aio status <id> --download, as in following a generation with aio status. |
| With a sandbox_ key, the generation is completed at once, with a sample file and 0 credits. It is a good way to try the options before you spend. |
|
Want to create images, videos and voice without leaving the terminal? See 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 $5.36/mo (3-year plan, with coupon) See plans |











