---
title: "Generate Assets For Project"
method: POST
path: "/api/v1/ai-video-storyboard/generate-assets"
tags: ["aiVideoAdStoryBoard"]
---

# Generate Assets For Project

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

## 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-assets`
- Auth: HTTP bearer

Generate images (frames) or videos for an existing project.
- If type is "image": Generate all first and last frames for all scenes, replace existing URLs
- If type is "video": Generate lipsync videos for scenes with aiAvatarProps.avatar == true
Runs in background and saves task ID in purpose object.

## Request body

- GenerateAssetsRequestDTO: Request to generate images or videos for an existing project.
  - `project_id` integer, required
  - `project_details` object, required
  - `domain_id` string, required
  - `type` string, required
  - `selected_image_model` string
  - `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)
