AI Model Portal · Multimodal UI Notes

Notes on interfaces, asynchronous tasks and administration for text, image, audio and video modules.

FastAPI, SQLAlchemy, MySQL, Layui, SSE

Different kinds of waiting

Text can arrive incrementally, while video often needs a completed task. Both start with a submit button but need different interface states. This project uses FastAPI, SQLAlchemy and MySQL with Layui pages.

Give tasks explicit states

Video processing is organized around submission, polling and result updates. Keeping the task identifier and distinguishing failure from waiting helps avoid treating a network interruption as a failed job.

Configuration boundaries

Provider settings, model catalogs and usage records have separate administration screens. Credentials stay on the server. These notes focus on interface and API design.