đģBotGhost
Last updated
Last updated
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
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.
Register an account and download the client app for windows. https://insomnia.rest/products/insomnia
Select Url and enter https://github.com/xXBuilderBXx/xXBuilderBXx/blob/master/FPAPI.json
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.
Gallery Images: https://botghost.com/market/command/lqvmzfsvdzwxgm0rqqa
Image Generation: https://botghost.com/market/command/lqvnloh3rhhrf5e1jq
Set the request url to https://api.fluxpoint.dev/gen/custom
Paste your Webhook url in proxy value.
Paste your image gen json in canvas value.
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
If you are getting an error message saying Failed to parse request json
this means that your json format is invalid.
You can use a json format checker tool to test for issues. https://jsonformatter.curiousconcept.com/
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
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