audio2video - Convert MP3 into MP4 with Images
Converts a mp3 into an mp4 file. Adds a thumbnail and images for given durations. The result is an URL to the mp4 that is available for 48 hours.
urlurl
The URL of the audio file. You can use 1001fx uploadasset for temporary asset upload.
Example:
https://api.1001fx.com/testdata/jingle.mp3imagesarray<object>
Array of images to show in your video. Notice: The length of your video will be the sum of your video durations. It is recommended that all your images should have the same aspect ratio.
Minimum: 1
Maximum: 10
Example:
[
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1678977739_Changelog3.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1680622414_1001fxMakeJS.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1680511208_Charts-Blogpost.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1679924358_AirtableImages.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1679501411_speakerimage17.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1679475802_1001fxMake_Live.png&w=828&q=75",
"duration": 2
},
{
"imageUrl": "https://1001fx.com/_next/image?url=https%3A%2F%2Fprod-1001fx-public.b-cdn.net%2Fmisc%2F1679329895_Podcast_Ad_Checker1.png&w=828&q=75",
"duration": 2
}
]imageUrlurl
The URL of an image to show in your video. You can use 1001fx uploadasset for temporary asset upload.
durationnumber
The number of seconds this image should be shown.
thumbnailImageUrlurl
The URL of the thumbnail image. You can use 1001fx uploadasset for temporary asset upload.
Example:
https://api.1001fx.com/testdata/image.jpg