Parameter object passed to the ProcessFile method in the Bytescale SDKs.
{}
{ "accountId": "YOUR_ACCOUNT_ID", "artifact": "/example/video/part-a.ts", "cache": true, "cache_perm": "auto", "cache_ttl": 31536000, "filePath": "/uploads/image.jpg", "large": false, "transformation": "thumbnail", "transformationParams": {}, "version": "1"}
Your account ID.
This is visible on the settings page:
https://www.bytescale.com/dashboard/settings
Example: "A623uY2"
Type: String
Length: 7
Required: No
Path to an artifact generated by the transformation.
All image transformations output the transformed image to the "/" artifact. Video transformations may output multiple artifacts.
Default: "/"
Type: String
Required: No
Example: true
Type: Boolean
Required: No
Example: "auto"
Type: String
Allowed Values: "auto", "false", "true"
Required: No
Example: 31536000
Type: Number
Required: No
Absolute path to a file. Begins with a /.
Example: "/uploads/image.jpg"
Type: String
Min Length: 1
Max Length: 512
Required: No
Example: false
Type: Boolean
Required: No
Transformation URL slug.
These are created in the Bytescale Dashboard:
https://www.bytescale.com/dashboard/transformations
Example: "thumbnail"
Type: String
Min Length: 1
Max Length: 100
Required: No
Type: Object
Required: No
Example: "1"
Type: String
Required: No
This website uses cookies. By continuing you are consenting to the use of cookies per our cookie policy.
This website requires a modern web browser -- the latest versions of these browsers are supported: