### Detailed Prompt Example Source: https://docs.imaginepro.ai/doc-5155899 Provides an example of a more detailed prompt, highlighting the benefit of specificity in describing an object's characteristics. It also notes prompt length limitations. ```English a realistic cat with long white fur and blue eyes ``` -------------------------------- ### ImaginePro Queue and Token Management API Endpoints Source: https://docs.imaginepro.ai/get-started API endpoints for managing tasks within the ImaginePro queues and handling linked account details (tokens). ```APIDOC ImaginePro Queue Endpoints: Manage tasks in the queues. List Tokens: Retrieve details of linked accounts. Toggle Tokens: Enable or disable linked accounts. ``` -------------------------------- ### Basic Prompt Example Source: https://docs.imaginepro.ai/doc-5155899 Illustrates a simple prompt for generating an image of a musician. This demonstrates the core concept of describing a subject and an action. ```English musician looking at his laptop excitedly ``` -------------------------------- ### ImaginePro API Endpoints for Image Generation Source: https://docs.imaginepro.ai/get-started This section details the core API endpoints for generating images and tracking their progress. It outlines the workflow from initiating a generation task to retrieving the final image URL and handling subsequent actions via buttons. ```APIDOC imagine: Generate an image generation task. - Returns a messageId. progress: Check the status of an image generation task. - Requires messageId. - Returns status and progress (e.g., 'Done', '100') and the image URI. - Subject to rate limiting. button: Perform subsequent actions based on response buttons (e.g., 'U1' for upscaling, 'V1' for variations, '🔄' for regeneration). - Requires messageId and button action. - Returns a new messageId for the subsequent task. ``` -------------------------------- ### Linking Discord Account Guide Source: https://docs.imaginepro.ai/faq Instructions for linking your Discord account to ImaginePro, requiring a guide to obtain Discord account details and a separate guide for the linking process. ```APIDOC ImaginePro Discord Linking: - Step 1: Follow guide to grab Discord account details (https://docs.imaginepro.ai/doc-5155871) - Step 2: Follow instructions to link your Discord account (https://docs.imaginepro.ai/doc-5155921) ``` -------------------------------- ### Prompt with Style Reference Source: https://docs.imaginepro.ai/doc-5155899 Shows how to incorporate artistic style references into prompts, using a famous artist's style as an example. This helps in achieving a specific aesthetic. ```English Make it look like a calm painting by Van Gogh ``` -------------------------------- ### Negative Prompt Example Source: https://docs.imaginepro.ai/doc-5155899 Explains the use of negative prompts to exclude specific elements from the generated image, allowing for more refined control over the output. ```English --no hands, no text ``` -------------------------------- ### Prompt with Artist Style Reference Source: https://docs.imaginepro.ai/doc-5155899 Demonstrates how to emulate the style of a famous artist in AI-generated artwork by referencing their name in the prompt. ```English a picture of a Goldendoodle drawn like Leonardo da Vinci ``` -------------------------------- ### Server and Unknown Error Handling Source: https://docs.imaginepro.ai/troubleshoot Documents general server-side errors and unknown exceptions that may occur. These errors require retrying the operation or contacting support. ```APIDOC Error: Internal Server Error Description: Unknown server exception, please retry or contact us. Error: Unknown error Description: Unknown server exception, please retry or contact us. ``` -------------------------------- ### Discord Token Schema and Example Source: https://docs.imaginepro.ai/api-216008264 Defines the schema for linked Discord token details and provides an example of a successful API response containing this information. Includes fields for token ID, channel ID, server ID, activity status, and usage statistics. ```APIDOC paths: /api/v1/discord/token: get: summary: Get linked Discord tokens description: Retrieves a list of linked Discord tokens and their associated details. responses: '200': description: Success content: application/json: schema: type: object properties: id: type: integer description: The unique identifier for the Discord token. token: type: string description: The Discord token (masked for security). channelId: type: string description: The ID of the Discord channel associated with the token. serverId: type: string description: The ID of the Discord server associated with the token. isActive: type: boolean description: Indicates if the token is currently active. status: type: string description: The current status of the token (e.g., FAST). info: type: object description: Detailed information about the token's usage and subscription. properties: jobMode: type: string description: The current job mode. runningJobs: type: integer nullable: true description: The number of currently running jobs. relaxedUsage: type: string description: Lifetime usage count for relaxed mode. subscription: type: string description: The user's subscription details. lifetimeUsage: type: string description: Lifetime usage count. queuedJobsFast: type: string description: Number of jobs queued in fast mode. visibilityMode: type: string description: The visibility mode for generated content. queuedJobsRelax: type: string description: Number of jobs queued in relaxed mode. fastTimeRemaining: type: string description: Remaining time for fast mode. concurrency: type: integer description: The concurrency limit for the token. example: - id: 1900 token: XXX channelId: 116975856xxx serverId: 116975856xxx isActive: true status: FAST info: jobMode: '' runningJobs: null relaxedUsage: 999 images subscription: Basic (Active monthly, renews next on ) lifetimeUsage: 999 images queuedJobsFast: '0' visibilityMode: Public queuedJobsRelax: '0' fastTimeRemaining: 199.00/200.0 minutes (99.50%) concurrency: 2 security: - bearer: [] x-apifox-folder: DIY Plan Endpoints x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-216008264-run components: schemas: DiscordToken: type: object required: - id - token - channelId - serverId - isActive - status - info - concurrency properties: id: type: integer description: The unique identifier for the Discord token. token: type: string description: The Discord token (masked for security). channelId: type: string description: The ID of the Discord channel associated with the token. serverId: type: string description: The ID of the Discord server associated with the token. isActive: type: boolean description: Indicates if the token is currently active. status: type: string description: The current status of the token (e.g., FAST). info: type: object description: Detailed information about the token's usage and subscription. properties: jobMode: type: string description: The current job mode. runningJobs: type: integer nullable: true description: The number of currently running jobs. relaxedUsage: type: string description: Lifetime usage count for relaxed mode. subscription: type: string description: The user's subscription details. lifetimeUsage: type: string description: Lifetime usage count. queuedJobsFast: type: string description: Number of jobs queued in fast mode. visibilityMode: type: string description: The visibility mode for generated content. queuedJobsRelax: type: string description: Number of jobs queued in relaxed mode. fastTimeRemaining: type: string description: Remaining time for fast mode. concurrency: type: integer description: The concurrency limit for the token. securitySchemes: bearer: type: http scheme: bearer servers: - url: https://api.imaginepro.ai description: Prod Env security: [] ``` -------------------------------- ### Prompt with Lighting Details Source: https://docs.imaginepro.ai/doc-5155899 Illustrates how to enhance image impact by specifying lighting conditions in the prompt, aiming for more dynamic and visually appealing results. ```English the Eiffel Tower at noon with cinematic lighting ``` -------------------------------- ### Get Discord Token using JavaScript Source: https://docs.imaginepro.ai/discord This JavaScript code snippet, when executed in the Discord web console, retrieves your Discord token and copies it to your clipboard. It iterates through webpack modules to find the `getToken` function. ```javascript window.webpackChunkdiscord_app.push([ [Math.random()], {}, (req) => { for (const m of Object.keys(req.c) .map((x) => req.c[x].exports) .filter((x) => x)) { if (m.default && m.default.getToken !== undefined) { return copy(m.default.getToken()) } if (m.getToken !== undefined) { return copy(m.getToken()) } } }, ]) console.log("%cWorked!", "font-size: 50px") console.log(`%cYou now have your token in the clipboard!`, "font-size: 16px") ``` -------------------------------- ### Prompt with Style and Era Reference Source: https://docs.imaginepro.ai/doc-5155899 Shows how to specify a historical period and style for an image, enabling the creation of artwork with a distinct historical or artistic theme. ```English a woman as a Victorian queen from the 1700s ``` -------------------------------- ### DIY Plan Midjourney Command Execution API Source: https://context7_llms Allows DIY plan users to execute Midjourney bot commands, such as 'info', 'fast', 'relax', or 'turbo', by specifying the token ID of their linked Midjourney account. ```APIDOC Excute MJ commad: Description: Executes Midjourney bot commands. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /midjourney/command Method: POST Parameters: - token_id: The token ID of the linked Midjourney account. - command: The Midjourney command to execute (e.g., 'info', 'fast', 'relax', 'turbo'). - options: Optional parameters for the command. ``` -------------------------------- ### Get Linked Account Queue Status API Source: https://docs.imaginepro.ai/api-237067749 Retrieves the queue status for a linked account. This API endpoint allows you to check the number of active and waiting jobs associated with your linked account. The account ID can be obtained from the `/api/v1/discord/tokens` API. ```APIDOC OpenAPI Specification: openapi: 3.0.1 info: title: '' description: '' version: 1.0.0 paths: /api/v1/discord/queue/{id}: get: summary: Get Linked Account queue status deprecated: false description: |- Get queue status of your linked account. You can get the ID from `/api/v1/discord/tokens` API tags: - DIY Plan Endpoints parameters: - name: id in: path description: '' required: true schema: type: string - name: id in: query description: id of your linked account required: false schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: active: type: number description: Running jobs waiting: type: number description: Waiting jobs x-apifox-orders: - active - waiting required: - active - waiting example: waiting: 0 active: 0 headers: {} x-apifox-name: Success security: - bearer: [] x-apifox-folder: DIY Plan Endpoints x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-237067749-run components: schemas: {} securitySchemes: bearer: type: http scheme: bearer servers: - url: https://api.imaginepro.ai description: Prod Env security: [] ``` -------------------------------- ### Get Linked Account List API Source: https://docs.imaginepro.ai/api-237066522 Retrieves a paginated list of linked accounts. Supports filtering by page number and page size. The response includes account ID, status, and activity status, along with detailed usage and subscription information. ```APIDOC openapi: 3.0.1 info: title: '' description: '' version: 1.0.0 paths: /api/v1/discord/tokens: get: summary: Get Linked Account List deprecated: false description: Get linked account list with all the infomation it contains. tags: - DIY Plan Endpoints parameters: - name: page in: query description: page number of the list, default to 1. required: false schema: type: string - name: size in: query description: page size of the list, default to 20 required: false schema: type: string responses: '200': description: '' content: application/json: schema: type: array items: type: object properties: id: type: string description: ID status: type: string isActive: type: boolean x-apifox-orders: - id - status - isActive required: - id - status - isActive 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 ) lifetimeUsage: 999 images queuedJobsFast: '0' visibilityMode: Public queuedJobsRelax: '0' fastTimeRemaining: 199.00/200.0 minutes (99.50%) concurrency: 2 headers: {} x-apifox-name: Success security: - bearer: [] x-apifox-folder: DIY Plan Endpoints x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-237066522-run components: schemas: {} securitySchemes: bearer: type: http scheme: bearer servers: - url: https://api.imaginepro.ai description: Prod Env security: [] ``` -------------------------------- ### DIY Plan Queue Management API Source: https://context7_llms API endpoints for managing the job queue, specifically for users with a DIY plan and a linked Discord account. Allows counting, rebooting, pausing, and resuming the queue. ```APIDOC Count jobs in queue: Description: Counts the number of jobs currently in the queue. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /queue/count Method: GET Reboot the queue: Description: Restarts the job queue. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /queue/reboot Method: POST Pause the queue: Description: Pauses the execution of jobs in the queue. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /queue/pause Method: POST Resume the queue: Description: Resumes the execution of paused jobs in the queue. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /queue/resume Method: POST ``` -------------------------------- ### Get Linked Discord Token Details Source: https://docs.imaginepro.ai/api-216008264 Retrieves details of linked Discord accounts for users with a DIY plan. This endpoint returns an array of linked Discord accounts, each with its token, channel ID, server ID, status, and associated usage information. The API is designed for users who have linked their Discord account. ```APIDOC openapi: 3.0.1 info: title: '' description: '' version: 1.0.0 paths: /api/v1/discord/token/{id}: get: summary: Get Linked Discord Token Details deprecated: false description: >- 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. tags: - DIY Plan Endpoints parameters: - name: id in: path description: '' required: true schema: type: integer responses: '200': description: '' content: application/json: schema: type: array items: type: object properties: id: type: number description: The linked Discord token id in our system. token: type: string description: The linked Discord token. channelId: type: string description: The linked Discord channel id. serverId: type: string description: The linked Discord server id. isActive: type: boolean description: The token is active or not. status: type: string description: >- The status of the token, can be FAST or RELAX or VERIFYING. enum: - FAST - RELAX - VERIFYING - BANNED x-apifox: enumDescriptions: FAST: The Midjourney account is in the fast mode. RELAX: The Midjourney account is in the relax mode. VERIFYING: >- Our system is checking your provided Discord details. BANNED: The Midjourney account has been banned. info: type: object properties: jobMode: type: string runningJobs: type: string description: Number of running jobs in Midjourney. relaxedUsuage: type: string description: Number of images generated in the relax mode. subscription: type: string description: The Midjourney plan name with the Discord account. lifetimeUsage: type: string description: Number of images generated in lifetime. queuedJobsFast: type: string description: Number of queued jobs in the fast mode. visibilityMode: type: string description: If the image generated public visiable or not. queuedJobsRelax: type: string description: Number of queued jobs in the relax mode. fastTimeRemaining: type: string description: >- The number of GPU minutes left in the fast mode generation. x-apifox-orders: - jobMode - runningJobs - relaxedUsuage - subscription - lifetimeUsage - queuedJobsFast - visibilityMode - queuedJobsRelax - fastTimeRemaining description: The linked Discord account details. required: - jobMode - runningJobs - relaxedUsuage - subscription - lifetimeUsage - queuedJobsFast - visibilityMode - queuedJobsRelax - fastTimeRemaining concurrency: type: number description: The concurrent limiting for the token. x-apifox-orders: - id - token - channelId ``` -------------------------------- ### ImaginePro AI Utility and Account APIs Source: https://context7_llms APIs for utility functions like prompt checking and retrieving account information. ```APIDOC Prompt Check: Endpoint: https://docs.imaginepro.ai/api-232398062.md Description: The API to verify if prompt contains ban words or invalid parameter. It does not exactly match the rule from MJ but can avoid most of the bad cases. ``` ```APIDOC Account Info: Endpoint: https://docs.imaginepro.ai/api-240330451.md Description: The API get your account info like credits. ``` -------------------------------- ### Get Ban Words List API Endpoint Source: https://docs.imaginepro.ai/api-216000671 Retrieves the list of ban words used for prompt pre-filtering. This list helps prevent the generation of offensive or inappropriate content and reduces the risk of account bans. The endpoint returns a JSON object containing an array of banned words. ```APIDOC OpenAPI Specification: openapi: 3.0.1 info: title: '' description: '' version: 1.0.0 paths: /api/v1/discord/banwords: get: summary: Get Ban Words List deprecated: false description: >- Banwords Prefilter List is a list of words that are pre-checked of the prompt before it is sent to Midjourney. This list is designed to prevent the generation of images that contain offensive or inappropriate content, and reduce the risk of your account being banned. tags: - DIY Plan Endpoints parameters: [] responses: '200': description: '' content: application/json: schema: type: object properties: list: type: array items: type: string description: Ban word. description: The list of banned words. x-apifox-orders: - list required: - list example: list: - ahegao - pinup - ballgag - Playboy - Bimbo - pleasure - bodily fluids headers: {} x-apifox-name: Success security: - bearer: [] x-apifox-folder: DIY Plan Endpoints x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-216000671-run components: schemas: {} securitySchemes: bearer: type: http scheme: bearer servers: - url: https://api.imaginepro.ai description: Prod Env security: [] ``` -------------------------------- ### Get Progress API Endpoint Source: https://docs.imaginepro.ai/api-335565750 Retrieves the progress and response from a previously sent message for AI image generation. It requires a messageId to identify the specific request. The response includes creation and update timestamps, task progress, status, any error messages, original message ID, a reference value, and a list of generated video URLs. ```APIDOC paths: /api/v1/message/fetch/{messageId}: get: summary: Get Progress deprecated: false description: >- Retrieve progress and response from a message you've sent in a previous request. tags: - Video API Documentation parameters: - name: messageId in: path description: the unique identifier of our AI image generation request required: true example: d15c1541-229a-442b-9873-d3494dede12a schema: type: string responses: '200': description: '' content: application/json: schema: type: object properties: createdAt: type: string description: The timestamp of the job creation. updatedAt: type: string description: The timestamp of the job update. progress: type: string description: Task progress, out of 100. status: type: string description: >- The status of the task, either PROCESSING, QUEUED, DONE, FAIL. enum: - DONE - FAIL - PROCESSING - WAITING - ERROR x-apifox-enum: - value: DONE name: '' description: '' - value: FAIL name: '' description: '' - value: PROCESSING name: '' description: '' - value: WAITING name: '' description: '' - value: ERROR name: '' description: '' error: type: string description: Error message, if any. originalMessageId: type: string description: The unique identifier for the original Imagine task. ref: type: string description: The reference value you passed in the previous requests. videos: type: array items: type: string description: U1/2/3/4 image urls description: |- A list of splited images exactly the same as U1/2/3/4 Please note that this is only work for Imagine. x-apifox-orders: - createdAt - updatedAt - progress - status - error - videos - originalMessageId - ref example: messageId: your-message-id progress: 100 status: DONE createdAt: '2023-08-01T14:03:01.817Z' updatedAt: '2023-08-01T14:03:01.817Z' videos: - https://cdn.imaginepro.ai/video/00ebb637-xxx-xxxx-xxxx/0.mp4 - https://cdn.imaginepro.ai/video/00ebb637-xxx-xxxx-xxxx/1.mp4 - https://cdn.imaginepro.ai/video/00ebb637-xxx-xxxx-xxxx/2.mp4 - https://cdn.imaginepro.ai/video/00ebb637-xxx-xxxx-xxxx/3.mp4 originatingMessageId: your-message-id ref: '' headers: {} x-apifox-name: Success security: - bearer: [] x-apifox-folder: Video API Documentation x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-335565750-run components: schemas: {} securitySchemes: bearer: type: http scheme: bearer servers: - url: https://api.imaginepro.ai description: Prod Env security: [] ``` -------------------------------- ### DIY Plan Message and Account Management API Source: https://context7_llms API endpoints for retrieving message trace information, managing linked accounts, and checking their queue status for DIY plan users. ```APIDOC Get Message Trace: Description: Retrieves token information for a specific message. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /message/trace Method: GET Parameters: - message_id: The ID of the message to trace. Get Linked Account List: Description: Retrieves a list of all linked accounts with their associated information. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /accounts/linked Method: GET Get Linked Account queue status: Description: Retrieves the queue status for a specific linked account. Prerequisites: User must have a DIY plan and a linked Discord account. Endpoint: /accounts/linked/queue_status Method: GET Parameters: - account_id: The ID of the linked account. ``` -------------------------------- ### API Documentation - ImaginePro AI LLMs TXT Source: https://docs.imaginepro.ai/api-215981214 Provides details on the API structure, including endpoints, security, and server configurations. This section covers the 'Success' endpoint and the 'bearer' security scheme. ```APIDOC servers: - url: https://api.imaginepro.ai description: Prod Env components: securitySchemes: bearer: type: http scheme: bearer x-apifox-folder: API Documentation x-apifox-status: released x-run-in-apifox: https://app.apifox.com/web/project/5160896/apis/api-215981214-run paths: /llmstxt/imaginepro_ai_llms_txt: get: summary: Success headers: {} security: - bearer: [] ``` -------------------------------- ### Midjourney Image Download Timeout Source: https://docs.imaginepro.ai/troubleshoot Occurs when Midjourney experiences a timeout while attempting to download an image from a provided link. ```text Timeout while downloading this image ``` -------------------------------- ### ImaginePro AI LLMs TXT API Configuration Source: https://docs.imaginepro.ai/api-215982836 Provides the base URL for the production environment and defines the security scheme using bearer token authentication. ```APIDOC servers: - url: https://api.imaginepro.ai description: Prod Env components: securitySchemes: bearer: type: http scheme: bearer ```