---
title: "Regenerate Video Ai Asset Image Edit"
method: POST
path: "/api/v1/video/regenerate-video-ai-asset-image-edit/{async_task_id}"
tags: ["video"]
---

# Regenerate Video Ai Asset Image Edit

`POST /api/v1/video/regenerate-video-ai-asset-image-edit/{async_task_id}`

## 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/video/regenerate-video-ai-asset-image-edit/{async_task_id}`
- Auth: HTTP bearer

Regenerate video AI asset image edit based on stored payload from database.

This endpoint allows you to regenerate an image edit by providing the AsyncTask ID
from the original generation.

The endpoint will:
1. Retrieve the original payload from the database
2. Determine the provider (freepik or byteplus) based on stored data
3. Reconstruct the request DTO from the stored payload
4. Call the appropriate wrapper function to regenerate the image

Args:
    async_task_id: The AsyncTask.id (UUID string) from the original generation
    db: Database session
    user: Authenticated user

Returns:
    dict with task_id and status of the new generation task

## Path parameters

- `async_task_id` string, required

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