Skip to content

🎥 Make videos programmatically with React

Add licenseKey to python and go packages

Pramod6b86533c837c
diff --git a/packages/lambda-go/models.go b/packages/lambda-go/models.go
index 1392d8db58..9369960373 100644
--- a/packages/lambda-go/models.go
+++ b/packages/lambda-go/models.go
@@ -42,6 +42,7 @@ type RemotionOptions struct {
OffthreadVideoThreads interface{} `json:"offthreadVideoThreads"`
ForceWidth interface{} `json:"forceWidth"`
ApiKey interface{} `json:"apiKey"`
+ LicenseKey interface{} `json:"licenseKey"`
BucketName interface{} `json:"bucketName"`
AudioCodec interface{} `json:"audioCodec"`
StorageClass interface{} `json:"storageClass"`
@@ -96,6 +97,7 @@ type renderInternalOptions struct {
ForceHeight interface{} `json:"forceHeight"`
ForceWidth interface{} `json:"forceWidth"`
ApiKey interface{} `json:"apiKey"`
+ LicenseKey interface{} `json:"licenseKey"`
BucketName interface{} `json:"bucketName"`
AudioCodec interface{} `json:"audioCodec"`
StorageClass interface{} `json:"storageClass"`
diff --git a/packages/lambda-python/remotion_lambda/models.py b/packages/lambda-python/remotion_lambda/models.py
index 845287bee4..0f5624f050 100644
--- a/packages/lambda-python/remotion_lambda/models.py
+++ b/packages/lambda-python/remotion_lambda/models.py
@@ -446,6 +446,7 @@ class RenderStillParams:
force_width: Optional[int] = None
# **DEPRECATED** - Use `license_key` instead. Will be removed in a future version.
api_key: Optional[int] = None
+ license_key: Optional[str] = None
storage_class: Optional[str] = None
force_height: Optional[int] = None
force_bucket_name: Optional[str] = None
@@ -501,6 +502,7 @@ class RenderStillParams:
or PlayInBrowser(type='play-in-browser'),
'forceWidth': self.force_width,
'apiKey': self.api_key,
+ 'licenseKey': self.license_key,
'forceHeight': self.force_height,
'forceBucketName': self.force_bucket_name,
'deleteAfter': self.delete_after,