|
18 | 18 | > |
19 | 19 | > Built with modern JavaScript/TypeScript features for both browser and Node.js environments, it provides full access to NovelAI's latest models (V3, V4, V4.5) and Director tools while maintaining a clean interface. This project is based on the [NekoAI-API](https://github.com/Nya-Foundation/NekoAI-API) Python package. |
20 | 20 |
|
| 21 | +### 📄 License Change Notice |
| 22 | + |
| 23 | +> **Important**: This project has transitioned from MIT to **AGPL-3.0** license to ensure better compliance and alignment with our inspiration source. As this work builds significantly upon concepts and approaches from NekoAI-API, we've adopted a more appropriate license that better reflects the collaborative nature of open-source development and provides stronger copyleft protections for the community. |
| 24 | +
|
21 | 25 | ## 🌟 Core Capabilities |
22 | 26 |
|
23 | 27 | | Feature | Description | |
24 | 28 | | --------------------------- | ------------------------------------------------------------------------------------------------------ | |
25 | 29 | | 🚀 **Lightweight** | Focuses on image generation and Director tools, providing a simple and easy-to-use interface. | |
26 | 30 | | ⚙️ **Parameterized** | Provides strongly typed interfaces to easily set up generation parameters with validation. | |
27 | 31 | | 🔑 **Token Authentication** | Supports direct token authentication for API access. | |
| 32 | +| 🎬 **Real-time Streaming** | Stream V4/V4.5 generation progress in real-time, watching each denoising step as it happens. | |
28 | 33 | | 🌐 **Cross-Platform** | Works in both browser and Node.js environments. | |
29 | 34 | | ✨ **Latest Models** | Full support for V3, V4, and V4.5 models including multi-character generation. | |
30 | 35 | | 🛠️ **Director Tools** | Complete support for all NovelAI Director tools like line art, background removal, and emotion change. | |
31 | 36 | | 🔄 **TypeScript Support** | Full TypeScript definitions for all API parameters and responses. | |
32 | | -| 🖼️ **Flexible Image Input** | Accepts various image input formats (paths, URLs, Blob, File, ArrayBuffer) for cross-platform use. | |
33 | 37 | | 🔁 **Automatic Retries** | Built-in retry mechanism for handling rate limits and temporary API failures. | |
34 | | -| 📦 **Modular Structure** | Well-organized, domain-specific modules for better maintainability and code organization. | |
35 | 38 |
|
36 | 39 | ## 📦 Installation |
37 | 40 |
|
@@ -97,7 +100,7 @@ const images = await client.generateImage({ |
97 | 100 | prompt: "1girl, cute, anime style, detailed", |
98 | 101 | model: Model.V4_5_CUR, |
99 | 102 | resPreset: Resolution.NORMAL_PORTRAIT, |
100 | | - nSamples: 1, |
| 103 | + n_samples: 1, |
101 | 104 | seed: 1234567890, // Fixed seed for reproducibility |
102 | 105 | }); |
103 | 106 |
|
|
0 commit comments