---
title: "Generate Kling v3 Video (background)"
method: POST
path: "/api/v1/ai-videos/generate-kling3-video"
tags: ["aiVideos"]
---

# Generate Kling v3 Video (background)

`POST /api/v1/ai-videos/generate-kling3-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-videos/generate-kling3-video`
- Auth: HTTP bearer

Submit a Kling v3 video generation job. Runs in the background.

**Request body:** Use `GenerateKling3VideoRequest` with:
- `prompt` (required), `start_image_url` (required – starting image for image-to-video)
- `duration` (3–15), `aspect_ratio` ("9:16" | "16:9" | "1:1")
- `multi_prompt`, `elements`, `generate_audio`, `shot_type`, `negative_prompt`, `cfg_scale`

Send valid JSON (Content-Type: application/json). If the prompt contains newlines, they must be escaped in JSON (e.g. as \n). Using JSON.stringify() or your language's JSON encoder ensures valid encoding.

**Returns:** `{ "success": true, "task_id": "<uuid>", "status": "processing" }`. Poll `check-kling3-video-status` with this `task_id` for completion and `video_url`.

## Request body

- GenerateKling3VideoRequest: Complete payload for Kling v3 image-to-video (FAL). Send valid JSON (e.g. newlines in prompt must be escaped as \n).
  - `prompt` string, required: Main text prompt for the video
  - `start_image_url` string, required: URL of the starting image (image-to-video); required
  - `end_image_url` string, nullable: URL of the end/last frame (optional)
  - `image_urls` string[], nullable: Optional additional image URLs
  - `multi_prompt` KlingV3MultiPromptSegment[], nullable: Multi-segment prompts with per-segment duration
    - `prompt` string, required
    - `duration` string, required: Segment duration in seconds (e.g. '3', '5')
  - `duration` integer, nullable
  - `aspect_ratio` string, nullable: One of: 9:16, 16:9, 1:1
  - `generate_audio` boolean
  - `elements` KlingV3Element[], nullable: Reference elements (reference_image_urls, frontal_image_url, video_url)
    - `reference_image_urls` string[], nullable
    - `frontal_image_url` string, nullable
    - `video_url` string, nullable
  - `shot_type` string
  - `negative_prompt` string, nullable
  - `cfg_scale` number, nullable
  - `domain_id` 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)
