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 → Convert MP3 into MP4 with Images
AI-generatedOverview
This node converts an MP3 audio file into an MP4 video by combining the audio with a sequence of images. The resulting video displays the provided images for specified durations while playing the audio track. This is useful for creating simple music videos, podcasts with visual slides, or any scenario where you want to visualize audio content with static images.
Practical examples:
- Creating a YouTube-ready video from a podcast episode and a set of promotional images.
- Generating a slideshow video with background music for social media.
- Automating the creation of audiograms for marketing purposes.
Properties
| Name | Meaning |
|---|---|
| Audio File URL | The URL of the audio file (MP3) to be used as the soundtrack for the video. You can use 1001fx uploadasset for temporary asset upload. |
| Images Input Mode | Determines how images are provided: - Expression: Supply a JSON array of images. - Manual: Add images one by one using fields. |
| Images | (Expression mode) A JSON array of image objects, each specifying an image URL and duration. All images should ideally have the same aspect ratio. |
| Images | (Manual mode) A list of images, each with: - Image URL: The URL of the image. - Duration: Number of seconds this image should be shown in the video. |
| Thumbnail Image URL | The URL of the thumbnail image for the resulting video. You can use 1001fx uploadasset for temporary asset upload. |
Output
- The output is a JSON object containing the result of the conversion request.
- Typical fields may include:
- A URL or reference to the generated MP4 video.
- Status or metadata about the operation.
- If the operation fails, the output will contain an
errorfield with details about the failure.
Example output:
{
"videoUrl": "https://api.1001fx.com/output/your-video.mp4",
"status": "success"
}
or on error:
{
"error": "Invalid audio file URL"
}
Dependencies
- External Service: Requires access to the 1001fx API.
- API Key: You must configure n8n with valid 1001fx API credentials (
1001fxApi). - Asset Hosting: Audio and image files must be accessible via public URLs or uploaded using the 1001fx uploadasset function.
Troubleshooting
Common issues:
- Invalid URLs: If the audio or image URLs are incorrect or inaccessible, the node will return an error.
- Mismatched Durations: If image durations do not sum up to the audio length, the video may end before or after the audio finishes.
- Aspect Ratio Issues: Using images with different aspect ratios may result in inconsistent video appearance.
Error messages:
"Invalid audio file URL": Check that the provided audio URL is correct and publicly accessible."Missing required property: images": Ensure you have supplied at least one image with a valid URL and duration."API key missing or invalid": Make sure your 1001fx API credentials are correctly configured in n8n.