ImaginePro Archive
  1. API Documentation
ImaginePro Archive
  • Introduction
  • System Design
  • Get Started
  • My Account
    • Credits
    • Generation Modes
  • API Documentation
    • Generate Image
      POST
    • Get Progress
      GET
    • Upscale
      POST
    • Prompt Check
      POST
    • Variation
      POST
    • Zoom
      POST
    • Pan
      POST
    • Image to Text (describe)
      POST
    • Image to Image
      POST
    • Face Swap
      POST
    • Blend
      POST
    • Inpainting
      POST
    • Reroll
      POST
    • Make Square
      POST
    • Cancel Job
      POST
    • History
      GET
    • Get Ban Words List
      GET
    • Update Ban Words List
      POST
    • Generate Image Boost
      POST
    • Button Boost
      POST
    • Get Message Trace
      GET
  • 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
  • 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. API Documentation

Pan

POST
/api/v1/midjourney/button
The API simulates a Pan button click on the Midjourney channel. A completed image will return an array of buttons which you can subsequently invoke on the image. These buttons are dynamic and a list of buttons you can press are included in every image completion.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "messageId": "string",
    "button": "⬅️",
    "ref": "string",
    "webhookOverride": "string"
}

Request Code 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 POST '/api/v1/midjourney/button' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "messageId": "string",
    "button": "⬅️",
    "ref": "string",
    "webhookOverride": "string"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "messageId": "d15c1541-229a-442b-9873-d3494dede12a",
    "createdAt": "2023-08-01T14:03:01.817Z"
}
Modified at 2024-11-22 02:12:32
Previous
Zoom
Next
Image to Text (describe)
Built with