Launch
File2AI App with
Launch a new File2AI App project and you will instantly have access to a development environment. No sign-up required.
Launch a new File2AI App project and you will instantly have access to a development environment. No sign-up required.
Diploi
Choose some optional add-ons to launch with File2AI App
An AI-powered file analysis app built with React (Vite) and FastAPI.
This starter kit demonstrates:
This starter kit consists of two Diploi components:
react-vite — Frontend application (React + Vite)fastapi — Backend API with AI processing and WebSocket updatesEverything is wired together automatically via environment variables
defined in diploi.yaml.
Based on the official Diploi react-vite component.
These are automatically injected from the FastAPI component:
VITE_API_ROOT_ENDPOINTThis starter kit enables Diploi’s runtime build mode:
- name: __VITE_RUNTIME_BUILD
value: true
This allows environment variables to be populated correctly in production deployments.
Based on the official Diploi fastapi component.
The backend receives prompts and uploaded files at POST /api/process, then
streams status and final responses through GET /ws (WebSocket).
The backend is configured with Diploi AI Gateway credentials:
DIPLOI_AI_GATEWAY_URLDIPLOI_AI_GATEWAY_TOKENYou can submit a prompt with one file at a time:
image/*) are sent as multimodal image inputaudio/*) is transcribed before model inferencevideo/*) has audio extracted and transcribedThe frontend also supports recording audio/video and attaching the capture as input.
Diploi automatically:
react-vite)cd react-vite
npm install
npm run dev
fastapi)cd fastapi
uv sync
uv run uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload
ffmpeg/ffprobe to extract audio.Diploi is the single SaaS service for managing, developing and hosting your full application.