ImaginePro
HomeDocs
HomeDocs
  1. Queue Management
  • 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
        GET
      • Reboot the queue
        POST
      • Pause the queue
        POST
      • Resume the queue
        POST
    • 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. Queue Management

Count jobs in queue

GET
https://api.imaginepro.ai/api/v1/discord/queue/{id}
The API only works for user with DIY plan, and have linked their Discord account.
The API will return the number of jobs in the queue for the specified linked Discord account.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string 
required
The token ID from the /tokens endpoint, for the specific Discord account.

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/queue/'

Responses

🟢200Success
application/json
Body
waiting
number 
required
The number of waiting jobs in the queue.
active
number 
required
The number of active jobs in the queue.
Example
{
    "waiting": 129,
    "active": 3
}
Previous
Queue Management
Next
Reboot the queue
Built with