# VideoGen API ## Docs - Examples [Interacting with the Video Outline](https://docs.videogen.io/doc-950306.md): - Examples [Polling vs Webhooks](https://docs.videogen.io/doc-950288.md): - v1 > Examples [Generate a Video](https://docs.videogen.io/doc-720102.md): ## API Docs - Text to Video [Prompt to video](https://docs.videogen.io/api-15915875.md): This endpoint begins by converting your text prompt and chosen background footage into a complete video script, which is then used to create the video. Upon successful creation, you receive a unique identifier (apiFileId). You can use this apiFileId with the GET /get-file endpoint to monitor the video's export status—the export process generally takes about as long as the video's duration. - Text to Video [Prompt to outline](https://docs.videogen.io/api-15916050.md): Generate a video outline from a prompt. This outline can then be provided to the POST /outline-to-video endpoint, ensuring the resulting video closely follows your outlined structure. - Text to Video [Outline to video](https://docs.videogen.io/api-15915294.md): This endpoint creates a video directly from your provided outline and selected background footage. Once the video is generated, you’ll receive a unique identifier (apiFileId). Use this apiFileId with the GET /get-file endpoint to monitor the export status—the process typically takes about as long as the video's duration. - Text to Video [Get file](https://docs.videogen.io/api-15915296.md): Get a file that was generated via the VideoGen API. The apiFileSignedUrl is a temporary signed URL, available for a maximum of 24 hours. - Resources [Get voices](https://docs.videogen.io/api-15915307.md): Get a list of voices supported by the VideoGen API. Each element in the list incudes the name, language code, quality, gender, and a sample audio track. Additionally, the endpoint can take in arguments filtering based on language code, quality, and gender. - Resources [Get languages](https://docs.videogen.io/api-15915308.md): Get a list of languages supported by the VideoGen API. Each element in the list incudes the language name and language code. - Resources [Get fonts](https://docs.videogen.io/api-15915309.md): Get a list of fonts supported by the VideoGen API. These fonts can be used to customize and enhance the style of captions in videos. - v1 > Text to Video [Script to video](https://docs.videogen.io/api-9535225.md): First, generate the AI text-to-speech and corresponding background footage. Once the video is created, an apiFileId will be returned. You can then use this apiFileId with the GET /get-file endpoint to check the export status of the video. The export process typically takes about the same time as the video's duration. - v1 > Text to Video [Prompt to script](https://docs.videogen.io/api-9535226.md): Generate a video script from a prompt. This script can then be passed into POST /script-to-video to generate a video. - v1 > Text to Video [Get file](https://docs.videogen.io/api-9535227.md): Get a file that was generated via the VideoGen API. The apiFileSignedUrl is a temporary signed URL, available for a maximum of 24 hours. - v1 > Resources [Get voices](https://docs.videogen.io/api-10790882.md): Get a list of voices supported by the VideoGen API. Each element in the list incudes the name, language code, quality, gender, and a sample audio track. Additionally, the endpoint can take in arguments filtering based on language code, quality, and gender. - v1 > Resources [Get languages](https://docs.videogen.io/api-10808204.md): Get a list of languages supported by the VideoGen API. Each element in the list incudes the language name and language code. - v1 > Resources [Get fonts](https://docs.videogen.io/api-10808286.md): Get a list of fonts supported by the VideoGen API. These fonts can be used to customize and enhance the style of captions in videos.