If you want to create a slideshow from your image sources you can specify 1 in the main fields.
We support the following input formats for slideshow: jpeg, png, mpeg audio, mpeg-4, wave.
If an audio file is specified it will be used as the audio stream for the slideshow video. If duration of slideshow and audio stream are different – shortest duration will be used.
By default each slide has duration equal to 3 seconds. If you want to change it, you can modify the duration parameter in your configuration.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>AddMedia</action> <!-- required-->
<source>http://www.example.com/Chrysanthemum.jpg</source>
<source>http://www.example.com/Desert.jpg?duration=5</source>
<source>http://www.example.com/Hydrangeas.jpg</source>
<source>http://www.example.com/Jellyfish.jpg</source>
<source>http://www.example.com/Koala.jpg</source>
<source>http://www.example.com/Lighthouse.jpg</source>
<source>http://www.example.com/Penguins.jpg</source>
<source>http://www.example.com/Tulips.jpg</source>
<source>http://www.example.com/music.wav</source>
<slideshow>1</slideshow>
<region>us-east-1</region>
<split_screen/>
<format>
<output>mp4</output>
<bitrate>2000k</bitrate>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "AddMedia",
"source": [
"http://www.example.com/Chrysanthemum.jpg",
"http://www.example.com/Desert.jpg?duration=5",
"http://www.example.com/Hydrangeas.jpg",
"http://www.example.com/Jellyfish.jpg",
"http://www.example.com/Koala.jpg",
"http://www.example.com/Lighthouse.jpg",
"http://www.example.com/Penguins.jpg",
"http://www.example.com/Tulips.jpg",
"http://www.example.com/music.wav"
],
"slideshow": "1",
"region": "us-east-1",
"split_screen": "",
"format": {
"output": "mp4",
"bitrate": "2000k"
}
}