Skip to main content

Introduction

Let's understand how you can integrate Predis.ai into your own applications.

Getting Started

There are 2 ways to integrate with Predis.ai

1. Integrate Predis.ai SDK.

The Predis.ai SDK lets you seamlessly integrate Predis.ai with your website or mobile app. This is like having a mini version of Predis.ai inside your app.

Just sign up for an App ID, copy and paste some code, and start giving your users the best possible content generation experience.

2. Integrate Predis.ai APIs.

The Predis.ai APIs lets you call APIs to generate Videos/Carousels/ Images and use them inside your application.

Just sign up for an API key, implement the APIs and start giving your users the best possible design experience.

How do the 2 modes compare with each other?.

TypePredis.ai APIPredis.ai SDK
Integration ComplexityHighLow
Tenative Time for Integration2-4 days2-4 hours
Post Integration Flow
  1. List all templates in your app using the getAllTemplates API.
  2. Users can choose any template to make content.
  3. Call the Create Post API with different parameters to tune the generation.
  4. The Create Post API will deliver the final generated creative via a webhook.
  5. Use the generated content if your app's workflow
  1. Users see a "Create Content" Button inside your application.
  2. A mini version of Predis.ai is opened as a popup when they click on the button.
  3. We support SSO so users dont need to login again inside the popup.
  4. Users see the Create Post flow where they can make the content of their choice.
  5. Once the content is made, they can click on the Publish Button.
  6. The generated content is tranferred back to the application using javascript.