Generate News Summary Videos Via API

Build automated image and video editing workflows and applications with Shotstack.

GET STARTED FOR FREE Example

The internet's most advanced image and video editing API

Shotstack is the most user friendly, powerful and reliable infrastructure solution to automatically generate news summary videos.

GET STARTED FOR FREE

The only thing you need is some JSON

{
"merge": [
{
"find": "LOWER_THIRD_PANEL",
"replace": "https://templates.shotstack.io/basic/asset/image/overlay/slanted-panel-cyan-highlite.png"
},
{
"find": "HIGHLITE_COLOR",
"replace": "#00f4e9"
}
],
"timeline": {
"soundtrack": {
"src": "https://assets.mixkit.co/music/download/mixkit-driving-ambition-32.mp3",
"effect": "fadeOut"
},
"fonts": [
{
"src": "https://templates.shotstack.io/basic/asset/font/roboto-bold.ttf"
}
],
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>Its estimated global temperatures will rise <u>1.5 degrees Celcius</u> in the next 2 decades.</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: #ffffff; font-size: 46px; text-align: left;} u { color: ; text-decoration: none; }",
"width": 960,
"height": 120
},
"start": 0.5,
"length": 4.5,
"position": "bottomLeft",
"offset": {
"x": 0.03,
"y": 0.135
},
"transition": {
"in": "slideRight",
"out": "slideLeft"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>The last <u>10 years</u> have been the warmest on record.</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: #ffffff; font-size: 46px; text-align: left; } u { color: ; text-decoration: none; }",
"width": 960,
"height": 120
},
"start": 5.5,
"length": 4.5,
"position": "bottomLeft",
"offset": {
"x": 0.03,
"y": 0.135
},
"transition": {
"in": "slideRight",
"out": "slideLeft"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>More than <u>1 million</u> species are at risk of extinction by climate change.</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: #ffffff; font-size: 46px; text-align: left; } u { color: ; text-decoration: none; }",
"width": 960,
"height": 120
},
"start": 10.5,
"length": 4.5,
"position": "bottomLeft",
"offset": {
"x": 0.03,
"y": 0.135
},
"transition": {
"in": "slideRight",
"out": "slideLeft"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>Climate change is <u>detrimental to human life</u> and its already happening.</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: #ffffff; font-size: 46px; text-align: left; } u { color: ; text-decoration: none; }",
"width": 960,
"height": 120
},
"start": 15.5,
"length": 4.5,
"position": "bottomLeft",
"offset": {
"x": 0.03,
"y": 0.135
},
"transition": {
"in": "slideRight",
"out": "slideLeft"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>Many world leaders still arent taking it <u>seriously</u>.</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: #ffffff; font-size: 44px; text-align: left; } u { color: ; text-decoration: none; }",
"width": 960,
"height": 120
},
"start": 20.5,
"length": 4.5,
"position": "bottomLeft",
"offset": {
"x": 0.03,
"y": 0.135
},
"transition": {
"in": "slideRight",
"out": "slideLeft"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>LIKE</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: ; font-size: 44px; text-align: center;}",
"width": 800,
"height": 200
},
"start": 25.5,
"length": 0.8,
"transition": {
"in": "slideDown",
"out": "slideDown"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>COMMENT</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: ; font-size: 44px; text-align: center; }",
"width": 800,
"height": 200
},
"start": 26.3,
"length": 0.8,
"transition": {
"in": "slideDown",
"out": "slideDown"
}
},
{
"asset": {
"type": "html",
"html": "<p data-html-type='text'>SHARE</p>",
"css": "p { font-family: Roboto; font-weight: bold; color: ; font-size: 44px; text-align: center; margin: 50px;}",
"width": 800,
"height": 200
},
"start": 27.1,
"length": 0.8,
"transition": {
"in": "slideDown",
"out": "slideDown"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "image",
"src": ""
},
"scale": 0.24,
"position": "bottomLeft",
"transition": {
"in": "slideRight",
"out": "slideLeft"
},
"offset": {
"y": 0.1
},
"start": 0,
"length": 5
},
{
"asset": {
"type": "image",
"src": ""
},
"scale": 0.25,
"position": "bottomLeft",
"transition": {
"in": "slideRight",
"out": "slideLeft"
},
"offset": {
"y": 0.1
},
"start": 5,
"length": 5
},
{
"asset": {
"type": "image",
"src": ""
},
"scale": 0.25,
"position": "bottomLeft",
"transition": {
"in": "slideRight",
"out": "slideLeft"
},
"offset": {
"y": 0.1
},
"start": 10,
"length": 5
},
{
"asset": {
"type": "image",
"src": ""
},
"scale": 0.25,
"position": "bottomLeft",
"transition": {
"in": "slideRight",
"out": "slideLeft"
},
"offset": {
"y": 0.1
},
"start": 15,
"length": 5
},
{
"asset": {
"type": "image",
"src": ""
},
"scale": 0.25,
"position": "bottomLeft",
"transition": {
"in": "slideRight",
"out": "slideLeft"
},
"offset": {
"y": 0.1
},
"start": 20,
"length": 5
},
{
"asset": {
"type": "image",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/logos/news-white.png"
},
"fit": "none",
"scale": 0.65,
"transition": {
"in": "slideUp"
},
"start": 28,
"length": 3
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/sun-clouds.mp4"
},
"start": 0,
"length": 5
},
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/desert-overhead.mp4",
"trim": 5
},
"start": 5,
"length": 5
},
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/lemur-eating.mp4",
"trim": 5
},
"start": 10,
"length": 5
},
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/shanty-town-overhead.mp4",
"trim": 5
},
"start": 15,
"length": 5
},
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.ap-southeast-2.amazonaws.com/footage/podium-speach.mp4"
},
"start": 20,
"length": 6,
"transition": {
"out": "fade"
}
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "hd"
}
}

Tutorials & Resources

Learn how to automatically generate news summary videos via API

Demo's & Code Examples

Automatically Generate news summary videos by using demo code

Pexels Video Maker
Pexels Video Maker

Search the Pexels stock footage video library and the Shotstack API will automatically compile an edit with music and a title

Go to demo

Christmas Personalised Video
Christmas Personalised Video

Create a personalised video with a Christmas message using the Shotstack API. Merge text and video from a form to generate a video

Go to demo