---
title: "Generate Single Video Endpoint"
method: POST
path: "/api/v1/ai-video-storyboard/generate-video"
tags: ["aiVideoAdStoryBoard"]
---

# Generate Single Video Endpoint

`POST /api/v1/ai-video-storyboard/generate-video`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/ai-video-storyboard/generate-video`
- Auth: HTTP bearer

Generate a single video for a specific scene in a project.
Runs in background and updates the project with the generated video URL.
- Extracts first_frame_url and last_frame_url from projectDetails.script.script[index].footagesFrames
- Uses frame-to-frame-video if frames available, otherwise text-to-video
- Updates project script with generated video URL
Returns task_id immediately, generation happens in background.

## Request body

- GenerateSingleVideoRequestDTO: Request to generate a single video for a project scene.
  - `project_id` integer, required
  - `project_details` object, required
  - `index` integer, required
  - `domain_id` string, required
  - `video_provider` string, nullable
  - `selected_video_model` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) - [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/fastapi/revisions/8e8c18c2dc35?raw)
