ImaginePro
HomeDocs
HomeDocs
  1. DIY Plan Endpoints
  • Introduction
  • System Design
  • Get Started
  • My Account
    • Credits
    • Generation Modes
  • API Documentation
    • Generate Image
      POST
    • Get Progress
      GET
    • Upscale
      POST
    • Variation
      POST
    • Zoom
      POST
    • Pan
      POST
    • Reroll
      POST
    • Make Square
      POST
    • Cancel Job
      POST
    • Inpainting
      POST
    • Image to Text (describe)
      POST
    • Image to Image
      POST
    • Face Swap
      POST
    • Blend
      POST
    • History
      GET
    • Generate Image Boost
      POST
    • Button Boost
      POST
    • Prompt Check
      POST
    • Account Info
      GET
    • Generate Image - Flux Model
      POST
    • Remove Background
      POST
  • FLUX API Documentation
    • Generate Image
    • Upscale Image
  • DIY Plan Endpoints
    • Queue Management
      • Count jobs in queue
      • Reboot the queue
      • Pause the queue
      • Resume the queue
    • Get Linked Discord Token Details
      GET
    • Toggle Linked Discord Token
      PUT
    • Get Message Trace
      GET
    • Get Ban Words List
      GET
    • Update Ban Words List
      POST
    • Get Linked Account List
      GET
    • Get Linked Account queue status
      GET
    • Excute MJ commad
      POST
  • Guide
    • FAQ
    • Troubleshoot
  • HowTos
    • How to get Discord token, server and channel ID
    • How to use ImaginePro web app
    • How to make ImaginePro API request in Postman
    • How to use Midjourney V6
    • How to link your own Discord account
    • How to debug the ImaginePro web app
  • Web App
    • Credits
  1. DIY Plan Endpoints

Get Linked Discord Token Details

GET
https://api.imaginepro.ai/api/v1/discord/token/{id}
The API only works for user with DIY plan, and have linked their Discord account.
The API will return the list of linked Discord accounts in an array format.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
integer 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.imaginepro.ai/api/v1/discord/token/'

Responses

🟢200Success
application/json
Body
The list of linked Discord tokens.
array of:
id
number 
required
The linked Discord token id in our system.
token
string 
required
The linked Discord token.
channelId
string 
required
The linked Discord channel id.
serverId
string 
required
The linked Discord server id.
isActive
boolean 
required
The token is active or not.
status
enum<string> 
required
The status of the token, can be FAST or RELAX or VERIFYING.
Allowed values:
FASTRELAXVERIFYINGBANNED
info
object 
required
The linked Discord account details.
jobMode
string 
required
runningJobs
string 
required
Number of running jobs in Midjourney.
relaxedUsuage
string 
required
Number of images generated in the relax mode.
subscription
string 
required
The Midjourney plan name with the Discord account.
lifetimeUsage
string 
required
Number of images generated in lifetime.
queuedJobsFast
string 
required
Number of queued jobs in the fast mode.
visibilityMode
string 
required
If the image generated public visiable or not.
queuedJobsRelax
string 
required
Number of queued jobs in the relax mode.
fastTimeRemaining
string 
required
The number of GPU minutes left in the fast mode generation.
concurrency
number 
required
The concurrent limiting for the token.
Example
[
    {
        "id": 1900,
        "token": "XXX",
        "channelId": "116975856xxx",
        "serverId": "116975856xxx",
        "isActive": true,
        "status": "FAST",
        "info": {
            "jobMode": "",
            "runningJobs": "None",
            "relaxedUsage": "999 images",
            "subscription": "Basic (Active monthly, renews next on <t:2123>)",
            "lifetimeUsage": "999 images",
            "queuedJobsFast": "0",
            "visibilityMode": "Public",
            "queuedJobsRelax": "0",
            "fastTimeRemaining": "199.00/200.0 minutes (99.50%)"
        },
        "concurrency": 2
    }
]
Previous
Resume the queue
Next
Toggle Linked Discord Token
Built with