👻BotGhost

Welcome to the BotGhost guide!

If you don't understand what requests, endpoints or json is then this is a good guide on how to get started with using the Fluxpoint API.

A one-time $3 purchase is required to access this API using PayPal or Credit/Debit card. This is lifetime access so you keep it forever while supporting hosting costs. Discord Support: https://discord.gg/fluxpoint Website Demo: https://fluxpoint.dev/api/demo

Sending Requests

It's recommended to download a desktop client for sending/testing API requests before you implement them in your app, you can download the Insomnia rest client here.

Setup Insomnia

  1. Register an account and download the client app for windows. https://insomnia.rest/products/insomnia

  2. Import the request collection for Fluxpoint API (Top Right + icon)

  3. Select Url and enter https://github.com/xXBuilderBXx/xXBuilderBXx/blob/master/FPAPI.json

  4. Enter your API token to use.

  5. Test out the requests using Send

Using with BotGhost

BotGhost does not support file data but we have added our own method using Discord webhooks to send images so you can use the image url in your bot messages.

Import Commands

We have added 2 command templates to use the API with. You can add these to your own bot using the Add Command

Gallery Images: https://botghost.com/market/command/lqvmzfsvdzwxgm0rqqa

Image Generation: https://botghost.com/market/command/lqvnloh3rhhrf5e1jq

Setup Webhook

  1. Create a private channel in your own Discord server to send generated images to.

  2. Edit the channel and go to Integrations.

  3. Create a Webhook

  4. Copy the Webhook URL

Setup Command

Use the BotGhost send request action or import a command from the marketplace.

  1. Edit the Request using Request Builder.

  2. Set the request url to https://api.fluxpoint.dev/gen/custom

  3. Set your API token in the Headers.

  4. Set 2 options in the Request Body for canvas and proxy.

  5. Paste your Webhook url in proxy value.

  6. Paste your image gen json in canvas value.

  7. Test the request to make sure it works, you should see the generated image url in the response and also a message in your Discord channel with the image.

You can now use the image url variable from the response with a send message action. fp is the name of your request action, response is the response data and file is the

Need more help or stuck on the guide? Join our Discord Server to get help with using the API for your BotGhost bot! https://discord.gg/fluxpoint

Last updated