Video Builder API

Create customized videos with dynamic overlays, text, and logos

API Endpoints

POST /process-video

Creates a video with specified overlays and text.

Request Body Example:

    {
        "uid": "51e9-17-927f-b84b3fe5",
        "frame_size": "7-Inch_mov.mov",
        "top_img": "https://example.com/frame_used.png",
        "qr_code": "https://example.com/barcode.png",
        "logos": ["https://example.com/soldby.png", "https://example.com/soldto.png", "https://example.com/soldby.png"],
        "logo_texts": ["HAS BEEN SOLD BY", "SOLD TO", "SOLD TO"],
        "property_address":"789 Lexington,",
        "zip_code": "342058",
        "city":"New York",
        "state": "NY",
        "county":"New York",
        "text_data": [{"alignment": "center",
          "bold": false,
          "clean_text": "Lexington Hotel Sold: $100M2024.",
          "italic": true,
          "padding_left_px": 40,
          "underline": false
        },
        {
          "alignment": "center",
          "bold": true,
          "clean_text": "$125,000,000 Multi-Unit Property",
          "italic": false,
          "padding_left_px": 40,
          "underline": false
        },
        {
          "alignment": "center",
          "bold": false,
          "clean_text": "Closed February 12, 2025",
          "italic": true,
          "padding_left_px": 40,
          "underline": false
        }
      ],
        "alignment": "left"
    }
                    

GET /media/videos/{filename}

Downloads the generated video file.

Response Codes

  • 200 - Success
  • 400 - Invalid request parameters
  • 404 - Resource not found
  • 422 - Video processing error
  • 500 - Server error

Features

  • Dynamic video generation with customizable elements
  • Support for multiple image overlays (QR codes, logos)
  • Configurable text positioning with multiple alignment options
  • High-quality image processing and scaling
  • Comprehensive error handling and validation