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

# Generate Single Image Endpoint

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

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

Generate a single frame (first or last) for a specific scene in a project.
Runs in background and updates the project with the generated frame URL.
- Extracts prompt from projectDetails.script.script[index].footagesFrames[frame_type]
- Uses character and reference_images only if use_character/use_reference_images are true
- Updates project script with generated frame URL
Returns task_id immediately, generation happens in background.

## Request body

- GenerateSingleImageRequestDTO: Request to generate a single image for a project scene.
  - `project_id` integer, required
  - `project_details` object, required
  - `index` integer, required
  - `frame_type` string, required
  - `use_character` boolean
  - `use_reference_images` boolean
  - `domain_id` string, required
  - `image_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)
