---
updatedAt: 2026-10-20T13:19:41.000Z
agentTools:
  projectIndex: https://docs.synthesia.io/llms.txt
---

# Video API Quickstart

Create your first video with Synthesia API

<HTMLBlock>{`
<div style="position: relative; overflow: hidden; aspect-ratio: 1920/1080"><iframe src="https://share.synthesia.io/embeds/videos/d6e9648b-447c-4834-9bf2-46513b0083bd" loading="lazy" title="Synthesia video player - Quickstart Synthesia API" allow="encrypted-media; fullscreen;" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; border: none; padding: 0; margin: 0; overflow:hidden;"></iframe></div>
`}</HTMLBlock>

## Create your API key

To use Synthesia API, start by creating your API key:

1. Select `Developers` in the sidebar, then the `API keys` tab.
2. Select `New API key`.
3. Enter a name, choose the `Legacy (v2)` scope, and set an expiration.
4. Select `Create API key`, then copy the key right away—it's only shown once.

<Callout icon="📌" theme="default">
  Video API requests need a `Legacy (v2)`-scoped key, not an `Interactive Avatars`-scoped one. See [Developers](https://docs.synthesia.io/docs/developers) for more on key scopes.
</Callout>

<Callout icon="🚧" theme="default">
  When you create an API key it belongs to your account, not the workspace. This means that if you create any webhook subscriptions with your API key, it will be tied to you and not the entire workspace.
</Callout>

## Using your API key

Enter the copied API key in the Authorization header of any endpoint to have it available. Click on `Try it!` in order to test the endpoint.

![](https://files.readme.io/f0b85f3-image.png)

## Create your first video

In the Synthesia API documentation enter the API key you copied from above in the [Create a video endpoint section](https://docs.synthesia.io/reference/create-video) and enter the following value for the endpoint parameters (leave all other parameters to default value):

| Parameter    | Value                                                                          |
| :----------- | :----------------------------------------------------------------------------- |
| `test`       | `true`                                                                         |
| `title`      | `My first Synthetic video`                                                     |
| `scriptText` | `Hello, World! This is my first synthetic video, made with the Synthesia API!` |
| `avatar`     | `anna_costume1_cameraA`                                                        |
| `background` | `green_screen`                                                                 |

Once done press the `Try it!`, if successful you should receive a 201-status code that looks like this:

<Image src="https://files.readme.io/8e31702-image.png" align="center" border={true} />

**Note**: Store the video ID returned, it is required for the rest of the quick start, in the image above the id is: `00db5057-ad78-49ab-9e1d-00f1cd891273`

Go into your Synthesia account under the My video section to confirm the newly created video:

<Image src="https://files.readme.io/e2d9e90-image.png" align="center" width="75% " border={true} />

<br />

## Download the video

As soon as you create a video, Synthesia begins processing it. This can take from 3 to 5 minutes. Poll the [Retrieve a video endpoint](https://docs.synthesia.io/reference/retrieve-a-video) to see the video status:

![](https://files.readme.io/de0c921-image.png)

<br />

When the video is ready for playback, the video `status` changes to `complete`, the response includes then a time-limited download link in the `download` attribute, use this link to download the video as an `.mp4` with:

```curl curl
curl ${DOWNLOAD_URL} --output my_first_synthetic_video.mp4
```

And done! You have created your first video and downloaded it. Note that rather than polling Synthesia API, it is possible to configure a webhook to which Synthesia sends a notification when a video completes successfully. Refer to the [Synthesia webhook API documentation](https://docs.synthesia.io/reference/webhooks/) to learn how to leverage it.