Actions21
- AI Actions
- Command Actions
- File Actions
- Metadata Actions
- PDF Actions
- Website Actions
File → Optimize File
AI-generatedSummary
Optimize a file by uploading it to CloudConvert, applying optimization/compression to reduce file size, and returning the optimized file as binary data.
Inputs
- Authentication (required) — Select OAuth2 (recommended) or API Key authentication to authorize the request.
- Binary Input Data (required) — Set to true to use binary data from the specified binary property as input file; false to use text input.
- Input Binary Property Name (required) — The binary property name containing the input file data when Binary Input Data is true.
- Input File Contents (required) — The text content of the input file to upload when Binary Input Data is false.
- Input File Name (required) — Filename including extension for the input file when Binary Input Data is false.
- Additional Options — Optional JSON dictionary of additional options to customize the optimize task; use CloudConvert job builder to specify.
Output shape
binary data representing the optimized file with empty JSON metadata
Returns one output item per optimized file, each containing an empty JSON object and the optimized file in binary under the 'data' property. If multiple files are processed, multiple output items are returned, each paired to their corresponding input.