AI video and voice through the API | MozOut - United Kingdom
All in One AI / Video and voice

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
Content creator with a headset in front of several screens
AI WorkspaceExample
seedance-2.0-minibytedance/seedance-2.0-mini/text-to-video

A drone shot over a coastal city at sunset.

Content creator with a headset in front of several screens
Type your message
Estimated cost90 creditsestimate
Available600+text, image, video and audio models
Video and voice

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

POST /v1/media/generations
{"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

POST /v1/media/generations
{"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.

How it works

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.

  1. You send the request

    With the model and the input fields. The answer is 202, with the id and the reserved credits.

  2. You check the status

    Every 5 or 10 seconds, until it is no longer processing.

  3. You download the file

    When completed, the files are in outputs and the real cost in credits_charged.

  4. We settle the balance

    Anything left from the reservation goes back to your balance. If it fails, it all goes back.

The two steps
# 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_charged
Uses

Where to use AI video and voice

A few ideas to start with. Each model has its own fields, shown in GET /v1/models/{id}.

Young man in glasses using AI on a laptop, outdoors
  • 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
Terminal and MCP

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/
Frequently asked questions

Video and voice

How a video and a voice are paid for, how long they take and what to do with the files.

Young woman writing ideas in a notebook, outdoors
Still have questions?

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.

Team celebrating a result in front of the computer
Support

Need help?

If you still have questions or need more information, we have expert people ready to help you.

All in One AI

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

Lightning OFFER

Web Hosting + FREE Domain **

:
:
:
Stay Online!
keyboard_arrow_up Drag Up
Logo MozOut

Premium OFFER

Web Hosting + FREE Domain **

Offer ends in:
:
:
:
Stay Online!
Close