---
agentTools:
  projectIndex: https://elai.readme.io/llms.txt
---

# Story API overview

This API allows you to generate videos based on different types of content at scale. For example, if you have a blog, you can turn each article into a video only by its URL. You can also turn any HTML or formatted text into a video with a predefined structure.

> 📘 How to start
>
> The best way to understand how to work with Story would be to use it in [our app](https://app.elai.io/#story). API has the same possibilities.

There are 2 primary use cases for this API: generate videos from massive texts where Elai will help to generate texts OR create all text yourself and let Elai generate visuals for you.

## Generate from text (more automation)

* Use API to create a video from [URL, HTML, or text](https://elai.readme.io/reference/create-from-text-url). You can also make videos from scratch by [starting from a prompt](https://elai.readme.io/reference/prompt-to-video-walkthrough).
* Create a template from scratch or based on existing templates and [apply it to your video](https://elai.readme.io/reference/apply-template).
* Adjust text using the LLM speech endpoints — [rewrite](https://elai.readme.io/reference/llm-rewrite-speech) or [regenerate](https://elai.readme.io/reference/llm-generate-speech) a slide's narration — if needed. Elai API can shorten the text, add missing text, and automatically edit content to fit the proper slide structure.
* [Generate slide visuals](https://elai.readme.io/reference/generate-slides) based on text.
* Review your video visuals if needed and [render](https://elai.readme.io/reference/render-video) your video.

You can add manual control on each step or run the whole pipeline fully automatically.

## Generate only visuals (more control)

You can add your texts manually and make Elai only create visuals for you based on the text. Read more [here](https://elai.readme.io/reference/story-exact-slides-match).