• gaclove's avatar
    refactor: server api · bab78b8e
    gaclove authored
    - Introduced `image_utils.py` with functions to check, extract, and save base64-encoded images.
    - Updated `TaskRequest` schema to accept base64 images or URLs in `image_path`.
    - Modified `VideoGenerationService` to handle base64 images, saving them appropriately.
    - Updated scripts to convert local image paths to base64 before sending requests.
    bab78b8e
api_server.py 1001 Bytes