📄️ Create Posts using Brand Palette
In this example we will look at how to create posts using Brand palette. In the cases where a user's brand palette is already set, this will override the existing settings and will use the new brand palette to create posts.
📄️ Create Posts Using AI Suggested Palette
In this example we will look at how to create posts using AI suggested palette. In the cases where a user's brand palette is set, by default the posts generated will use the brand palette to create posts.
📄️ Create Posts in Different Languages
In this example we will look at how to create posts in languages other than the default English using the Predis.ai API. The parameter outputlanguage controls the language of the generated post. You can also set inputlanguage parameter if you would be passing the text parameter in a different language.
📄️ Create Posts in Bulk
In this example we will look at how to create multiple posts in a single request using Predis.ai API. We will pass the n_posts parameter to 3 to generate 3 posts in a single request. You can generate up to 10 posts in a single request.
📄️ Create Multi-Scene Videos
In this example we will look at how to create long/multi-scene videos using the Predis.ai API. The parameter videoduration controls if the generated video will be a video with a single scene or multiple scenes. We will set the value of videoduration to long for multi-scene videos in the request. Videos do not use model_version, so it can be left out.