ClipMagic icon

ClipMagic

Interact with ClipMagic API for video and audio processing

Overview

The node integrates with the ClipMagic API to perform various video and audio processing operations. Specifically, the "Stitch Videos" operation allows users to combine multiple video files sequentially into a single output video. This is useful when you have several clips that need to be merged into one continuous video without manual editing.

Common scenarios include:

  • Creating a highlight reel from multiple event recordings.
  • Combining tutorial segments into a full-length instructional video.
  • Merging short clips captured separately into a single presentation.

For example, if you have three video URLs representing parts of a webinar, you can stitch them together in order to produce one seamless video file.

Properties

Name Meaning
Video URLs JSON array or comma-separated list of video URLs to stitch in order
Output Format Output container/codec; options: MP4, MOV
Output Filename Desired filename for the output video (without extension)

Output

The node outputs a JSON object containing metadata about the stitching operation result, including:

  • success: Boolean indicating if the operation was successful.
  • operation: The operation performed ("stitch").
  • filename: The name of the output video file.
  • contentType: The MIME type of the output video (e.g., "video/mp4").

Additionally, the node provides the stitched video as binary data under the binary.data field, allowing downstream nodes to access or save the resulting video file.

Dependencies

  • Requires an API key credential for authenticating with the ClipMagic API.
  • The node makes HTTP requests to the ClipMagic service endpoint.
  • No additional environment variables are needed beyond the API credential configuration.

Troubleshooting

  • Invalid Video URLs: Ensure the input URLs are accessible and correctly formatted as either a JSON array or comma-separated string.
  • Unsupported Output Format: Only "mp4" and "mov" formats are supported for stitching; selecting others will cause errors.
  • API Authentication Errors: Verify that the API key credential is valid and has necessary permissions.
  • Network Issues: Connectivity problems to the ClipMagic API endpoint may cause request failures.
  • Error Messages: If the node throws an error like "Unknown operation," confirm the operation parameter is set to "stitch." For other errors, check the error message returned by the API for details.

Links and References

Discussion