Create animated GIF snippets from your source video.
<?xml version="1.0"?>
<query>
<userid>[UserID]</userid> <!-- required-->
<userkey>[UserKey]</userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<output>gif</output>
<interval>[Interval]</interval>
<loop>[LoopsCount]</loop>
<colors>[ColorsCount]</colors>
<dither>[DitherMode]</dither>
<!-- Destination fields -->
<destination>[DestFile]</destination>
</format>
</query>
{
"query": {
"userid": "[UserID]",
"userkey": "[UserKey]",
"action": "[Action]",
"format": {
"output": "gif",
"interval": "[Interval]",
"loop": "[LoopsCount]",
"colors": "[ColorsCount]",
"dither": "[DitherMode]",
"destination": "[DestFile]"
}
}
}
Parameter | Description | Allowed Values | Default Value |
---|---|---|---|
interval | Specify the delay between frames in hundredths of a second. | Positive integer | 0 |
loop | Specify how the animation loops. | -1 – infinite loop 0 – no loop | 0 |
colors | Specify the number of colors. | Integer from 4 to 255. | 128 |
dither | Specify the dithering mode. | bayer, heckbert, floyd_steinberg, sierra2, sierra2_4a | sierra2_4a |