Share My Creation [B4X] OpenAI Chat Bot, Image Generator Using B4J

[B4X] OpenAI Chat Bot, Image Generator Using B4J​

This B4J OpenAI chat bot and image generator sample is based on Blueforce's [B4X] OpenAI - A.I. Text & Image generation library. This uses OpenAI and needs to be subscribed to their services to have the API key and paid account to generate images with DALL-E 3, each time during test I have spent at the rate of $0.04 per image at the time of this posting. You can improve or expand on this being of basic functionalities and interface, a work in progress esp. on mediaplayer, speech and TTS, with the B4A version still to work on.

OpenAI Chat and Image Gen.png
OpenAI Usage Cost.png
OpenAI Chat and Image Gen Lib.png

Note:​

Various libraries are needed as shown.

Download Link:​

Download the source code from the link below:
 

Attachments

  • OpenAI Chat, Image.zip
    35.9 KB · Views: 157
Last edited:
Top