Using a branded template
If you have already uploaded a branded template, you can use it in the following endpoints:
POST /presentation/generate
- Generate a presentation from plain text or by passing documents.
POST /presentation/generate/slide-by-slide
- Generate a presentation by specifying each slide individually.
In order to get the branded template id, click on the dots in the top right of the template tile to copy the template ID.
Once the template ID is copied, you can use the template by providing the ID as the template value. Here is an example body:
{ "plain_text": "Key moments in the French Revolution", "length": 6, "template": "cm58bcw43004tjs034f13lun9", "language": "ORIGINAL", "fetch_images": true, "tone": "default", "verbosity": "standard", "custom_user_instructions": "Make sure to mention the storming of the Bastille"}
Note how template
now has the Template ID as its value. After that, the API
works the same as using any other template. Simply make the request and
check the status of the job. For more information about those steps, check out
the Quickstart and the
API Reference.