Spaces:
Sleeping
Sleeping
File size: 535 Bytes
c1baf28 a239f1a 986da29 c1baf28 e5772d6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ---
title: Nexus Video API
emoji: 🎬
colorFrom: purple
colorTo: indigo
sdk: docker
app_file: app.py
pinned: false
---
# Nexus Video API — FastAPI backend
This Space provides a FastAPI backend for video generation.
## Endpoints
### `POST /generate`
Accepts:
- prompt
- style
- duration
- ratio
- resolution
- mode (text, image, avatar, music, social)
Returns:
- task_id
- video_url
### `GET /status/{task_id}`
Returns:
- status
- video_url (when ready)
## Running locally
```bash
uvicorn app:app --host 0.0.0.0 --port 7860
|