File size: 505 Bytes
11decfc
67e955a
 
 
11decfc
 
 
 
 
67e955a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: HTML To Video
emoji: 🎬
colorFrom: purple
colorTo: pink
sdk: docker
pinned: false
---

# HTML → Video Recorder

A ultra-fast API that records any HTML page animation and returns a video URL.

## API

### `POST /record`

**Body (JSON):**
```json
{
  "html_url": "https://example.com/my-animation.html",
  "duration_ms": 3000,
  "width": 1080,
  "height": 1920
}
```

**Response:**
```json
{
  "video_url": "https://res.cloudinary.com/..."
}
```

### `GET /health`
Returns `{"status": "ok"}`