Create News Videos by API

Automatically generate captivating news videos using an API. Turn blog posts, articles, and RSS feed items into engaging, short videos - ideal for promoting your content on social media platforms. Create news summary videos using a no-code platform like Zapier or programmatically through Javascript, PHP, Ruby, or Python.
  • Create news videos by API
  • Auto-generate videos from blogs and articles
  • Generate news videos on autopilot

How to Create News Videos using an API?

To generate news videos using the API, the first step is to create a video template. Then, use Creatomate's REST API to populate the template with headlines, descriptions, summaries, images, and more. Here's a quick overview of how it works:

1
Design your news video template

To automate the process of creating news videos, begin by designing a template that will serve as the foundation for all your videos. In this template, you can assign placeholder elements, such as text and media, which will be automatically replaced with dynamic content using the API.

While there are ready-made templates available to use, you can also create your own video designs using the online editor. The editor offers lots of customization options, allowing you to create designs that perfectly fit your needs.

curl -s -X POST https://api.creatomate.com/v1/renders \
  -H 'Authorization: Bearer Your-API-Key' \
  -H 'Content-Type: application/json' \
  --data-binary @- << EOF
{
  "template_id": "Your News Video Template ID",
  "modifications": {
    "Title": "Here you can place a headline or announcement",
    "Text-1": "This is the perfect place to include a short quote that will catch the viewer's attention.",
    "Text-2": "Put another sentence here to elaborate on the topic or to provide further context.",
    "Background": "https://example.com/gradient.jpg"
  }
}
EOF

2
Integrate with the API

Once you've prepared your template, you can generate news videos using the REST API. The API is accessible through your own software using Javascript, PHP, Ruby, or Python, as well as via no-code automation platforms like Zapier.

Sending a single POST request is all it takes. Within this request, you'll provide the template ID and the content you want to include, such as headlines, summaries, and images. In return, you'll receive a URL pointing to the generated news video.

3
Automatically generate news videos

Whether you wish to create videos for individual news items or compile a daily news summary featuring multiple articles, the API offers a flexible solution to meet your specific needs. If you want to take it a step further, you can use AI to summarize your content and include it in your videos.

If you're a developer or have one on your team, integrating the API into your software application is a straightforward process. Here's a guide to get you started. Alternatively, you can use a no-code automation platform like Zapier. With integrations for more than 5000 apps, including Creatomate, RSS Feeds, and WordPress, you can build custom workflows for generating and posting news videos on autopilot. Follow our step-by-step tutorial to create such an automated workflow within minutes.

Want to try it yourself? Get started for free in minutes:

Frequently asked questions

How can I create news videos using an API?

Creating news videos through the API is incredibly straightforward. Start by designing a template in the editor, which will serve as the base for all your videos. Next, use a programming language like Javascript, PHP, Ruby, or Python, or a no-code automation platform like Zapier, to invoke the REST API. This allows you to insert headlines, descriptions, images, and more into your template, resulting in unique videos.

What kind of news videos can I create using an API?

Using the API, you can create videos for individual pieces of content, but you can also combine multiple blogs and articles into one video, such as summarizing an entire day's worth of content. It is commonly used for creating short videos to share on social media, boosting traffic and readership on your website. The possibilities are endless – you can create various types of news videos, as long as the design fits within a template.

Can I use AI to auto-generate news videos?

Yes! You can use AI technology, like GPT-4 and ChatGPT, in your automated workflow to summarize your content. Here's a Zapier tutorial that shows you how to do it. However, this is optional and not a requirement for creating news videos using the API.

How long does it take to set up?

You can build a Zapier workflow in just 10 minutes, even without technical expertise. For those with some knowledge of APIs and programming languages, setting up an integration can also be accomplished within 10 minutes. Check out this Zapier tutorial or this code guide to get started.

What's the best API for creating news videos?

We believe Creatomate stands out as the top choice for creating news videos through an API. The editor empowers you to design video layouts that perfectly match your style and needs. Additionally, the API's compatibility with programming languages and no-code automation platforms makes it a user-friendly solution for developers and marketers alike. Overall, Creatomate is a versatile product that caters to all your video needs. To learn more, check out this article that compares Creatomate with other video generation APIs available on the market.

Quickly get started

Learn how to automate your videos by following our practical tutorials.

Start automating today

Start with a full-featured trial with 50 credits, no credit card required.
Get started for free