⚡
Fluxpoint API
WebsiteDiscord Server
  • â„šī¸Information
  • 📋Changelogs
  • Reviews
  • đŸ“ĻLibrary
    • #ī¸âƒŖC#
    • ☕JavaScript
    • đŸ‘ģBotGhost
    • 💡Http Example
  • ⚡Client
    • 🧰Lib Developers
    • đŸ“ĻResponses
    • âš ī¸Error Codes
  • 🔗Endpoints
    • Test
    • Misc
    • Utility
    • Color
    • Convert
    • List
    • Image Gen
      • Templates
      • Custom Image
    • Minecraft
    • Sfw Anime Images
    • Sfw Anime Gifs
    • Meme Images
    • Animal Images
    • Nsfw
      • Nsfw Anime Images
      • Nsfw Anime Gifs
Powered by GitBook
On this page
  • Welcome to the BotGhost guide!
  • Sending Requests
  • Setup Insomnia
  • Using with BotGhost
  • Import Commands
  1. Library

BotGhost

PreviousJavaScriptNextHttp Example

Last updated 1 year ago

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: Website 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. Select Url and enter https://github.com/xXBuilderBXx/xXBuilderBXx/blob/master/FPAPI.json

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

Setup Webhook

Setup Command

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

  2. Paste your Webhook url in proxy value.

  3. Paste your image gen json in canvas value.

If you are getting an error message saying Failed to parse request json this means that your json format is invalid.

Register an account and download the client app for windows.

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

Enter your API token to use.

Test out the requests using Send

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:

Image Generation:

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

Edit the channel and go to Integrations.

Create a Webhook

Copy the Webhook URL

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

Edit the Request using Request Builder.

Set your API token in the Headers.

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

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!

You can use a json format checker tool to test for issues.

đŸ“Ļ
đŸ‘ģ
https://insomnia.rest/products/insomnia
https://botghost.com/market/command/lqvmzfsvdzwxgm0rqqa
https://botghost.com/market/command/lqvnloh3rhhrf5e1jq
https://discord.gg/fluxpoint
https://jsonformatter.curiousconcept.com/
https://discord.gg/fluxpoint
https://fluxpoint.dev/api/demo