# How to create a AI chatbot plugin

**URL:** https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020
**Category:** Coding synfig
**Created:** [April 25, 2024, 2:59am UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020 "2024-04-25T02:59:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ar\_D](https://forums.synfig.org/user_avatar/forums.synfig.org/ar_d/32/7751_2.png) [@Ar\_D](https://forums.synfig.org/u/Ar_D)
#### Post date: [April 25, 2024, 2:59am UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/1 "2024-04-25T02:59:19Z")

</div>

I am not so good in understanding how synfig works, and how to actually make working plugins for synfig.  
I am just interested in finding a documentation that clearly states how to work on plugins.  
Something like this:-

> **[Shotcut - How to Make a Plugin](https://shotcut.org/notes/make-plugins/)**
>
> Shotcut is a free, open source, cross-platform video editor for Windows, Mac and Linux

Like how shotcut states that what should be the extention, where to paste the files, etc. I am interested in knowing the same information for synfig.

Also, do you have any suggestions for an ai chatbot that has free api keys. That’s the hardest part of trying to make chatbot plugin, I can’t get a free api key.

---

<div class="post-metadata">

### Author: ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)
#### Post date: [April 25, 2024, 5:13pm UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/2 "2024-04-25T17:13:52Z")

</div>

Plugin system in Synfig is quite “simple” and not really plugins but external scripts.  
When you activate the plugin, the current file is saved, then the “plugin” is modifying the Sif/Sifz file (as XML, with Python normally), then it reopens the file in Synfig.  
You must know how is structured a Sif/Sifz file in order to manipulate it of course.

---

<div class="post-metadata">

### Author: ![Ar\_D](https://forums.synfig.org/user_avatar/forums.synfig.org/ar_d/32/7751_2.png) [@Ar\_D](https://forums.synfig.org/u/Ar_D)
#### Post date: [April 26, 2024, 1:33am UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/3 "2024-04-26T01:33:47Z")

</div>

Oki, thanks. I would try to do something, no guarantee if I can finish it or not 😅

---

<div class="post-metadata">

### Author: ![BobSynfig](https://forums.synfig.org/user_avatar/forums.synfig.org/bobsynfig/32/175_2.png) [@BobSynfig](https://forums.synfig.org/u/BobSynfig)
#### Post date: [April 26, 2024, 8:38pm UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/4 "2024-04-26T20:38:32Z")

</div>

Good luck!  
[https://synfig-docs-dev.readthedocs.io/en/latest/common/sif\_file\_format.html](https://synfig-docs-dev.readthedocs.io/en/latest/common/sif_file_format.html)

---

<div class="post-metadata">

### Author: ![veermetri05](https://forums.synfig.org/user_avatar/forums.synfig.org/veermetri05/32/6904_2.png) [@veermetri05](https://forums.synfig.org/u/veermetri05)
#### Post date: [April 28, 2024, 2:28pm UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/5 "2024-04-28T14:28:48Z")

</div>

> [@Ar\_D](#):
>
> Also, do you have any suggestions for an ai chatbot that has free api keys. That’s the hardest part of trying to make chatbot plugin, I can’t get a free api key.

Have you explored Local LLM models ?

---

<div class="post-metadata">

### Author: ![Ar\_D](https://forums.synfig.org/user_avatar/forums.synfig.org/ar_d/32/7751_2.png) [@Ar\_D](https://forums.synfig.org/u/Ar_D)
#### Post date: [April 28, 2024, 4:07pm UTC](https://forums.synfig.org/t/how-to-create-a-ai-chatbot-plugin/15020/6 "2024-04-28T16:07:43Z")

</div>

> [@veermetri05](#):
>
> Local LLM models

The answers they give is extremely wrong, plus since they are local, they are heavier in size.  
I did try some from huggingface.
