2dai-cloud-sdk 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -17
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,7 +60,12 @@ Generate images, videos, and text using state-of-the-art AI models through a sim
|
|
|
60
60
|
|
|
61
61
|
## What's New
|
|
62
62
|
|
|
63
|
-
### v1.4.
|
|
63
|
+
### v1.4.2 (Latest)
|
|
64
|
+
|
|
65
|
+
- **npm Publishing** - Set up GitHub Actions for automated npm publishing with provenance
|
|
66
|
+
- **Documentation** - Updated package links and badges
|
|
67
|
+
|
|
68
|
+
### v1.4.0
|
|
64
69
|
|
|
65
70
|
- **AI Image Upscale** - New upscale methods for AI-powered image upscaling
|
|
66
71
|
- `upscaleImage()` - REST API upscaling with factor 2-4x
|
|
@@ -980,22 +985,6 @@ type WatermarkPosition =
|
|
|
980
985
|
|
|
981
986
|
---
|
|
982
987
|
|
|
983
|
-
## Rate Limits
|
|
984
|
-
|
|
985
|
-
Default rate limits per API key:
|
|
986
|
-
|
|
987
|
-
| Operation | 15-Min Window | Daily Limit |
|
|
988
|
-
|-----------|--------------|-------------|
|
|
989
|
-
| Image Generation | 150 requests | 1,000 requests |
|
|
990
|
-
| Video Generation | 30 requests | 200 requests |
|
|
991
|
-
| LLM | 300 requests | 1,000 requests |
|
|
992
|
-
| LLM Tokens | 1,500,000 tokens | 5,000,000 tokens |
|
|
993
|
-
| CDN | 1,500 requests | 10,000 requests |
|
|
994
|
-
|
|
995
|
-
Custom rate limits can be configured per API key.
|
|
996
|
-
|
|
997
|
-
---
|
|
998
|
-
|
|
999
988
|
## Best Practices
|
|
1000
989
|
|
|
1001
990
|
### 1. Check Rate Limits Before Batch Operations
|