# Luma API Playground

An integration experiment for video generation, status handling and generation timing.

Code study · Frontend missing from repository

[View repository](https://github.com/Waaajid/lumalabstest)

Interface image: Architecture diagram showing a missing client interface, Express routes and the Luma API.

Architecture diagram. The frontend is missing from the reviewed repository.

## The problem

Video generation is asynchronous. Sending a prompt is only the first step: a client also needs to track a generation, surface errors and help the user understand the wait.

This experiment explores an Express integration with text-to-video and image-to-video API routes, intended for trying generation options and inspecting service responses.

## My contribution

My public integration experiment contains the server request flow, image upload handling, generation status retrieval and request timing. Those are the parts supported by the current code.

## The implementation

Express routes submit generation requests, retrieve individual generation status and list generations. Axios handles upstream calls. Multer accepts image uploads; API credentials are read from a request header or environment variable.

The root route tries to serve public/index.html. That frontend file is absent from the reviewed checkout, so the current repository cannot provide the advertised browser playground on its own.

## The trade-offs

The integration separates submission from status retrieval, matching an asynchronous service. A complete user experience would also need clear polling behaviour, cancellation expectations and recovery from failed requests.

Before a public deployment, credential handling, upload constraints and server-side request validation would need a separate review. No generation has been run as part of this portfolio review.

## Current status

Architecture study based on code review. The diagram above is explicitly an architecture diagram, not a product screenshot.

The UI is missing and end-to-end generation was not tested. The README’s placeholder demo link has been omitted.

Source reviewed at [720ab58](https://github.com/Waaajid/lumalabstest/tree/720ab58) · Portfolio review: 3 November 2026.

Continue exploring [All projects](https://wajids.co.uk/projects/)

Canonical page: https://wajids.co.uk/projects/luma-playground/
