applikasiii
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
Nrzlm Video AI
body { font-family: 'Inter', sans-serif; }
.glass-panel { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
Nrzlm.AI
Input Media
Reference Image
Reference Video (Motion)
Swap Character
Motion Control
Generation Settings
Duration
10 Seconds
15 Seconds
30 Seconds
60 Seconds (Requires High Compute)
Aspect Ratio
9:16 (Vertical)
16:9 (Horizontal)
1:1 (Square)
Resolution
720p
1080p
Generate Video
from fastapi import FastAPI, UploadFile, File, Form
from typing import Optional
app = FastAPI()
@app.post("/generate-video/")
async def generate_video(
image: UploadFile = File(...),
video: UploadFile = File(...),
duration: int = Form(...), # 10, 15, 30, 60
aspect_ratio: str = Form(...), # "9:16", "16:9", "1:1"
resolution: str = Form(...), # "720p", "1080p"
swap_character: bool = Form(...),
motion_control: bool = Form(...)
):
# Di sinilah logika utama akan berjalan.
# 1. Simpan image dan video ke server sementara.
# 2. Kirim parameter ke ComfyUI API atau custom model AI Anda.
# 3. Proses rendering video (ini memakan waktu, biasanya dikerjakan via sistem antrean seperti Celery/Redis).
return {
"status": "Processing",
"message": f"Memproses video {resolution} berdurasi {duration}s. Swap Character: {swap_character}"
}
Contributor guide
Assessment
This issue has not been assessed yet.