File size: 1,163 Bytes
edda41a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
805bb46
 
 
4155324
805bb46
 
 
 
 
4155324
 
0d43438
4155324
 
 
805bb46
edda41a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# @aitube/engine

*The engine powering AiTube.at*

## ATTENTION

AiTube is currently in heavy development, and for the moment
the engine is reserved for *internal use by AiTube itself*.

We are sorry for any inconvenience this might cause.

## Installation

To install the package, run the following command:

```bash
npm install @aitube/engine
```

## Getting Started

```typescript
import {
  getCharacterPrompt,
  getCharacterReferencePrompt,
  getPositivePrompt,
  getSpeechBackgroundAudioPrompt,
  getSpeechForegroundAudioPrompt,
  getVideoPrompt,
  deduplicate,
  deduplicatePrompt,
  renderShotToStoryboard,
  renderShotToVideo,
  segmentCategoryPromptPriority,
  type VideoRenderer,
  type StoryboardRenderer,
  type VideoFirstFrameExtractor
} from '@aitube/engine'

```

## Build Instructions

Install [Bun](https://bun.sh/)

Run the following commands:

```bash
bun install

bun run build
```

To publish:

```bash
bun run build

bun run build:declaration

bun run publish
```

## Contributing

We welcome contributions! Please feel free to submit a pull request.

## License

This package is under the MIT License. See `LICENSE` file for more details.