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

# Generate Clip Endpoint

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

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

Generate ONE clip with any registry model. Returns a task_id; poll
GET /ai-video-storyboard/task-status/{task_id} for response.video_url.

## Request body

- GenerateClipRequestDTO: Unified multimodal single-clip generation (any model in the registry). Only light shape validation here — per-model capability rules (durations, resolutions, frames-vs-refs, max images, veo/kling constraints) are enforced by views/aiVideoAdStoryBoard/services/video_model_registry.validate_and_normalize.
  - `model` string, required
  - `prompt` string, nullable
  - `domain_id` string, required
  - `duration` integer
  - `resolution` string
  - `aspect_ratio` string
  - `generate_audio` boolean
  - `first_frame_url` string, nullable
  - `last_frame_url` string, nullable
  - `reference_image_urls` string[]
  - `reference_video_urls` string[]
  - `reference_audio_urls` string[]
  - `reference_image_asset_ids` string[]
  - `reference_video_asset_ids` string[]
  - `reference_audio_asset_ids` string[]
  - `seed` integer, nullable
  - `mode` string, nullable
  - `multi_prompt` object[], nullable
  - `elements` object[], nullable
  - `character_orientation` string, nullable
  - `reference_tags` object[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-10-21** `487039c34e7a`: 3 info
  - added the new optional request property `reference_audio_asset_ids`
  - added the new optional request property `reference_image_asset_ids`
  - added the new optional request property `reference_video_asset_ids`

[Operation history](https://skmtc.dev/brandbooster/apis/fastapi/changes/api/v1/ai-video-storyboard/generate-clip/post.md)

---

[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)
