Skip to Content

Examples

This section points to practical code samples and integration patterns for using Plainly’s REST API for various tasks. Each example includes a brief description and a link to the relevant documentation for further details.

The source code and setup instructions for all examples can be found on the @plainly-videos/examples  GitHub repository.

Render and webhook

The purpose of this example is to demonstrate the render only integration approach using the Renders API and webhook handling. It covers the following topics:

  • Creating video render jobs via the Plainly API
  • Setting up webhook endpoints to receive render completion notifications
  • Database integration to track render status and results
  • User interface for managing video generation requests

Check the detailed guide in the Plainly examples GitHub repository .

MCP AI Crypto video agent

The purpose of this example is to demonstrate how to build an AI-powered video generation agent using Plainly’s MCP server  alongside other MCP servers. The example uses Crypto Data MCP server as data source and covers the following topics:

  • Setting up both the Plainly MCP server and the Crypto Data MCP server
  • Creating an OpenAI agent that interacts with both MCP servers and with users
  • Generating videos based on cryptocurrency data fetched from the Crypto Data MCP server

Check the detailed guide in the Plainly examples GitHub repository .