Actions74
- ai Actions
- array Actions
- audiovideo Actions
- carbone Actions
- charts Actions
- code Actions
- data Actions
- datetime Actions
- events Actions
- files Actions
- geo Actions
- hellospaces Actions
- images Actions
- Get Metadata of an Image
- Scale an Image
- Overlay an Image on another Image
- Scale an Image to Fit Given Dimensions
- Resize an Image
- Mask an Image with Another Image
- Mask an Image with a Circle Mask
- Crops an image by the given x, y, width and height paramters.
- Convert Texts to an Image
- Convert HTML String or URL to an Image
- Generates a QRCode with given text and color.
- Get EXIF from Image
- Remove EXIF from Image
- Modify Image EXIF
- playground Actions
- spreadsheet Actions
- stripe Actions
- youtube Actions
audiovideo → Cut Audio File
AI-generatedOverview
The Cut Audio File operation in the "audiovideo" resource of this n8n node allows users to extract a specific segment from an audio file. This is achieved by specifying the start time and duration for the cut, either by providing a direct URL to the media file or uploading the file itself. The node is useful in scenarios such as:
- Creating audio snippets for podcasts or social media.
- Extracting highlights from interviews or lectures.
- Automating the trimming of long recordings into manageable segments.
Practical Example:
A user can automate the process of cutting a 30-second highlight from a recorded webinar by specifying the start time and duration, then use the output in subsequent workflow steps (e.g., upload to cloud storage or send via email).
Properties
| Name | Meaning |
|---|---|
| URL | The URL of the media file to be cut. Must be accessible from the internet. |
| Media file | The media file to be cut. Used when uploading a file directly instead of a URL. |
| Start time in Seconds | The starting point (in seconds) from which to begin the cut. Required. |
| Duration | The length (in seconds) of the audio segment to extract. Defaults to 60 seconds if not specified. |
Output
Binary Data:
The node outputs the cut audio segment as binary data. The binary property will contain the resulting audio file, with its filename and content type set according to the response from the API.JSON Output (on error):
If an error occurs, the output will include a JSON object with anerrorfield describing the issue.
Dependencies
- External Service:
- Requires access to the 1001fx API.
- API Key:
- Needs valid credentials for the
1001fxApi.
- Needs valid credentials for the
- n8n Configuration:
- The node must be configured with the appropriate API credentials in n8n.
Troubleshooting
Common Issues:
- Invalid or Inaccessible URL:
If the provided URL is not reachable or does not point to a valid media file, the operation will fail. - Missing Required Fields:
Omitting the "Start time in Seconds" property will result in an error, as it is required. - File Upload Problems:
If uploading a file, ensure the file is correctly attached and in a supported format.
Error Messages:
"error": "..."
The output JSON will include anerrorfield with details about what went wrong. Check the message for hints (e.g., authentication issues, invalid parameters).