> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.videogen.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.videogen.io/_mcp/server.

# Postman

> Import the VideoGen developer API into Postman to explore endpoints, authenticate with an API key, and run requests interactively.

Explore and test the VideoGen developer API interactively in [Postman](https://www.postman.com). Every endpoint is grouped by resource, with path and query parameters and a sample JSON body ready to send.

## Import

The fastest way is to import directly from the live OpenAPI document:

1. In Postman, choose **Import**.
2. Select **Link** and paste the spec URL:

```text
https://api.videogen.io/openapi.json
```

Postman generates a collection with a request for every endpoint. You can also import the maintained VideoGen Postman collection JSON if you have it.

## Authenticate

The VideoGen API uses bearer authentication. Set it once at the collection level:

1. Open the collection's **Authorization** tab and choose **Bearer Token**.
2. Set the token to an API key from [app.videogen.io/api](https://app.videogen.io/api).

Requests inherit this token automatically. If you use collection variables, set `baseUrl` to `https://api.videogen.io` and `apiKey` to your key.

## Run a workflow

Send `POST /v1/workflows/script-to-video` (under **Workflows**) to start an end-to-end video, then poll `GET /v1/workflows/runs/{workflowRunId}` until `status` is `succeeded`. Export the finished project with `POST /v1/projects/{projectId}/export`.

## Links

* [Postman](https://www.postman.com)
* [OpenAPI document](https://api.videogen.io/openapi.json)
* [Get an API key](https://app.videogen.io/api)
* [REST API reference](/rest-api-reference)