Video and voiceOne request, video or voice
Videos from a description or a photo, and voice-overs from a text, through the same API and with the same credits.
Pay for what you make
- ✓Video: per second
- ✓Voice: per generation
- ✓Failed? You do not pay
- ✓Free Sandbox

bytedance/seedance-2.0-mini/text-to-videoA drone shot over a coastal city at sunset.

One request, video or voice
The request is the same for every type. Only the model and the input fields change.
A 5-second video in 720p
{"model": "bytedance/seedance-2.0-mini/text-to-video",
"input": {"prompt": "A drone shot over a coastal city at sunset",
"duration": 5, "resolution": "720p", "ratio": "16:9"}}From a description or from a starting image, sent as a public URL.
A voice from a text
{"model": "elevenlabs/v3/text-to-speech",
"input": {"text": "Hello! Thank you for calling.
How can we help you today?"}}For voice-overs, phone greetings and the audio for your videos.
From the request to the file
A video or a voice takes from a few seconds to a few minutes. That is why the work has two steps.
You send the request
With the model and the input fields. The answer is 202, with the id and the reserved credits.
You check the status
Every 5 or 10 seconds, until it is no longer processing.
You download the file
When completed, the files are in outputs and the real cost in credits_charged.
We settle the balance
Anything left from the reservation goes back to your balance. If it fails, it all goes back.
# 1. the request
POST /v1/media/generations
202 status: processing, credits_reserved
# 2. every 5 seconds
GET /v1/media/generations/{id} status: processing
GET /v1/media/generations/{id} status: completed
outputs, credits_chargedWhere to use AI video and voice
A few ideas to start with. Each model has its own fields, shown in GET /v1/models/{id}.

Short adverts
Videos of a few seconds for social media and your website.
Animate a photo
Give movement to a photo of a product, a place or an event.
Phone greetings
The welcome or on-hold message for your phone line.
Voice-overs
The voice for your videos, presentations and tutorials.
Content in bulk
Generate many files through the API, from your own system.
In your project
Ask your coding agent to generate and save the file.
The numbers behind a video
With the video model in the example, at 18 credits per second. Prices are examples: the current one is in GET /v1/models.
- 5 sof video in 720p
- 90credits for that video
- 40credits for one voice
- 0credits if the generation fails
Without writing code
The aio command generates videos and voices in the terminal, with the same key. In Claude Code, Codex and Cursor, our MCP server does the same inside the conversation.
If a video is not ready in time, the agent gets the id and checks it later. Just ask it «check if the video is ready».
aio generate video "waves crashing on the rocks" --model <id> aio generate audio "Welcome to our support service" --out welcome.mp3 # check the status and download when ready aio status <id> --download --out videos/
"Make a 5-second 720p video of a drone flying over a city at sunset." "Read this text aloud and save the audio to audio/welcome.mp3: Thank you for contacting us." # the agent uses generate_video and generate_audio
Everything All in One AI does
The same account, the same key and the same credits on every page.
Articles to get started
Step by step, with prices and the most common errors.
01Creating a video with AI: from a description or from a photo, through the APIIn short: videos are made through the API, with the same request as images: POST /v1/media/generations , a video model and, in input , the…Read the article →
02Turning text into speech with AI: phone greetings, voice-overs and advertsIn short: with a voice model, you send a text and get back an audio file with that text spoken. Use it for the greeting on your phone line, the…Read the article →
03What an AI video or voice costs: credits per second, per generation and how to estimateIn short: each model states its pricing unit: per second of video or per generation . When you send the request, the expected cost is reserved. At…Read the article →
04An AI video or voice is taking long or has failed: the statuses and what to doIn short: while the status is processing , the generation is running: keep checking every 5 or 10 seconds. If it ends as failed , the reason is in…Read the article →
05Before you publish an AI video or voice: what to checkIn short: before you publish an AI video or voice, watch and listen to all of it. Check that it shows nothing untrue about your business and that you…Read the article →
Video and voice
How a video and a voice are paid for, how long they take and what to do with the files.

Talk to us or look for the answer in the Knowledge Base.
How is a video paid for?
Per second of video, at the model price.
For example, bytedance/seedance-2.0-mini/text-to-video costs 18 credits per second. A 5-second video comes to 90 credits.
And a voice?
Per generation. For example, elevenlabs/v3/text-to-speech costs 40 credits per generation.
The current price of each model is always in GET /v1/models.
Can I animate a photo?
Yes, on models that accept a starting image. The image goes as a public URL in the model fields.
How long does a video take?
It can take a few minutes.
The request answers at once with the id, and you check the status every 5 or 10 seconds until it is ready.
What happens if it fails?
- The status becomes failed and the reason is in error.
- Nothing is charged.
- The reserved credits go back to your balance.
Are the files kept?
The outputs links are not permanent. Download the videos and audio files and keep your own copy.
Can I test without spending?
Yes, with a sandbox_ key. The API answers in the same format, but it calls no model and charges nothing:
- the chat always answers «Resposta de teste (sandbox).»;
- an image, video or voice is completed straight away, with a sample link and 0 credits;
- the model list, the prices and the balance are the real ones.
When your program is ready, switch to the prod_ key.
What happens if I run out of credits?
The request does not go ahead and the API answers 402 with insufficient_credits. Nothing is charged, and the error says how much you need and how much you have.
Buy more on the «Buy credits» tab and try again. The credits arrive as soon as the payment is confirmed. In chat, a lower max_tokens also lowers the reservation.

Need help?
If you still have questions or need more information, we have expert people ready to help you.
- ChatOpen the chat →
- TicketOpen a ticket →
- Phone+27 78 823 3325
- Opening hoursSupport from Monday to Friday, 08:00 to 16:00.
Make your first video or voice
Activate All in One AI, get 100 credits and write your program in the Sandbox, without spending anything.
- 100 free credits on activation
- A Sandbox to test without spending
- One key for everything





