Back to Blog

Effortless Programmatic Video Editing with FFMPEGAPI.net

June 2026 FFMPEG API Team

Creating videos programmatically has never been easier. With FFMPEGAPI.net, you can merge images and audio effortlessly without the hassle of managing servers or FFmpeg infrastructure. Our Image and Audio Merge API allows developers to create stunning MP4 videos from image/audio pairs seamlessly, making it an ideal solution for automation, SaaS applications, and more.

Understanding the Image and Audio Merge API

The Image and Audio Merge API enables you to combine one or more image and audio pairs into a video format. Each image is displayed for the duration of its corresponding audio file. This is particularly useful for creating presentations, tutorials, or any media that requires synchronization between visuals and sound.

  • Supports multiple image/audio pairs for dynamic content.
  • Optional image transitions enhance visual appeal.
  • Default slow zoom effect adds a professional touch.

API Endpoint Overview

The endpoint for merging images and audio is a simple POST request to /api/merge_image_audio. Here's what you need to know about the parameters:

You can send JSON data containing image_urls and audio_urls arrays to create a multi-pair video. Alternatively, you can use legacy image and audio strings for single pairs.

  • Content-Type: application/json or multipart/form-data
  • Supports async processing for large jobs.
{
  "image_urls": [
    "https://example.com/intro.jpg",
    "https://example.com/chapter-1.jpg"
  ],
  "audio_urls": [
    "https://example.com/intro.mp3",
    "https://example.com/chapter-1.mp3"
  ],
  "transition_effect": "fade",
  "transition_duration": 0.75,
  "dimensions": "1280x720",
  "zoom_effect": true,
  "async": false
}

Quick Example Using CURL

Here's how to use CURL to make a request to the Image and Audio Merge API. This example combines two images and audio files into one video.

Make sure to replace YOUR_API_KEY with your actual API key.

curl -X POST https://www.ffmpegapi.net/api/merge_image_audio \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
  "image_urls": [
    "https://example.com/intro.jpg",
    "https://example.com/chapter-1.jpg"
  ],
  "audio_urls": [
    "https://example.com/intro.mp3",
    "https://example.com/chapter-1.mp3"
  ],
  "transition_effect": "fade",
  "transition_duration": 0.75,
  "dimensions": "1280x720",
  "zoom_effect": true,
  "async": false
}'

FFMPEGAPI.net is the ultimate solution for developers seeking a powerful yet simple way to handle video and audio processing. With the Image and Audio Merge API, you can bypass the complexities of server management and focus on creating engaging content. Whether you're building automation tools, SaaS applications, or enhancing content pipelines, our hosted API is designed to meet your needs efficiently.

Ready to Start Processing Videos?

Get your free API key and start merging videos in minutes

Get Started Free