PiAPI
HomeWorkspace
HomeWorkspace
Join Discord
  1. Workspace Manual
  • Get Started
    • Overview
    • Quickstart
    • Make Instruction: How to Use PiAPI to Build a Workflow on Make?
  • Endpoints
    • Song(Udio)
      • Song API Task Creation Examples
      • [Udio] Song Extend
      • Get Task
      • Create Task
      • [Udio] Generate Lyrics
    • Kling
      • Lipsync With PiAPI Kling API Examples
      • Motion Brush With PiAPI Kling API Example
      • Kling Elements Video Generation API
      • Kling Effects Video Generation
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Get Task
      • Create Task
      • Kling Virtual Try-On
    • Hailuo
      • Hailuo Director Mode Example
      • Generate Video
      • Get Task
    • Flux
      • Flux with LoRA and Controlnet
      • Available LoRA and Controlnet
      • Flux API with Redux Variation, Fill, Inpaint and Outpaint
      • Create Task
        • Text to Image
        • Image to Image
      • Get task
    • AI Hug
      • Get Task
      • Create Task
    • LLM
      • Use Cases for GPT-4o Image API
      • How To Avoid Timeouts in Completion API
      • GPT-4o Image Generation API
      • LLM API | Basic Completions
      • Get Task
    • Midjourney
      • PiAPI Penalties on Midjourney Usage
      • Detailed Explaination on Midjourney Task Result
      • Midjourney V7 API Instructions
      • Create Task
        • Imagine
        • Upscale
        • Variation
        • Reroll
        • Describe
        • Seed
        • Blend
        • Inpaint
        • Outpaint
        • Pan
      • Cancel Task
        • Cancel Task
        • Cancel Tasks
      • Get Task
    • Faceswap
      • Multi Faceswap
      • Image Faceswap
      • Video Faceswap
      • Get Task
    • TTS
      • Zeroshot Text-to-Speech F5-TTS
      • Get Task
    • Trellis
      • Create Task
      • Get Task
    • Luma Dream Machine
      • Cancel Task
        • Cancel Tasks
        • Cancel Task
      • Create Task
      • Get Task
    • WanX
      • Available LoRA Types for Wanx
      • Generate WanX Task with LoRA Using PiAPI
      • Use Cases for Wanx LoRA
      • Create Task
      • Get Task
    • Skyreels
      • Create Task
      • Get Task
    • Framepack
      • Create Task
      • Get Task
    • Hunyuan Video
      • How to Make a Hunyuan API Call
      • Get Task
      • Generate Video
    • Mmaudio
      • Get Task
      • Generate Audio
    • DiffRhythm
      • Generate Audio
      • Get Task
    • Tools
      • File Upload API
      • Video Upscale
      • Video Upscale-Get Task
      • Remove Background API
      • Remove Background-Get Task
      • Segment With Prompt API
      • Segment With Prompt API-Get Task
      • Image Upscale(Super Resolution) API
      • Image Upscale-Get Task
    • PiAPI Account Management
      • PiAPI Account Info
      • Task List Info
      • User Task History
  • Resources
    • Change Log
    • Output Storage
    • Unified API Schema
    • Webhook
    • Bulk Generation Service
    • Billings
    • PiAPI MCP Server
    • Workspace Manual
      • Host-your-account (HYA) | Back-up Account
      • Host-your-account (HYA) | Debug Checklist
      • Host-your-account (HYA) | Connected Account Status
    • Announcements
      • PiAPI 2025 January 1st Pricing Update
  • Legacy Documentation
    • Midjourney
      • Midjourney Webhook
      • Imagine
      • Reroll
      • Upscale
      • Variation
      • Inpaint
      • Outpaint
      • Pan
      • Describe
      • Blend
      • Seed
      • Fetch
      • Multi Fetch
      • Cancel
    • Face Swap
      • Video Faceswap
      • Multi-face-swap
      • Fetch
    • Dream Machine
      • Video Generation
      • Video Extend
      • Get Video Generation
    • Kling
      • Video Generation
      • Video Extend
      • Get Video Generation
  1. Workspace Manual

Host-your-account (HYA) | Debug Checklist

Midjourney HYA Debug Checklist#

1.
When there is a problem with your Midjourney HYA service, please use this checklist to troubleshoot before contacting us.
2.
Most problems are related to using an invalid Discord Authorization Token. Thus, you can directly skip to step #5 to check whether your Discord Auth Token is valid.

1. Is your Midjourney set to use HYA or Pay-as-you-go(PAYG)?#

Go to Workspace, and check whether your Midjourney API service is set to PAYG or HYA mode (see the toggle).

2. Are you using the correct API Key?#

Go to https://piapi.ai/workspace/key and compare the first three numbers of the API Key shown on the dashboard to the API Key that you are using to make API calls. If they don't match that means you don't have the correct key. In that case, just reset the API Key and use the new one.

3. Is your account inactive right now?#

Go to https://piapi.ai/workspace/midjourney and check for the active period setting of your Midjourney account(s).
Note: The time zone on the Dashboard is London UK time (UTC), please convert to your local time zone as needed.
BYOA_Binding_MJ_Account.webp

4. Is your MJ account working normally?#

Please log in to your Discord account with your valid Midjourney Subscription and type "/settings" to your Midjourney Bot.
1.
Has your account been blocked?
2.
If your task submitted was under fast mode, does your account still have fast hour left?
3.
If your task submitted was under relax mode, does your account have relax hour left?
For example, the Basic Plan (the $10 Plan) does not have relaxed hour.
Midjourney_SubscriptionPlan_Comparison.webp

5. Is the Discord Token used to connect your Midjourney account valid?#

1.
First, you should record down the Discord Authorization Token that was used to connect your Midjourney account to the HYA seat when you were binding them; because if you don't record it then, you won't be able to see it after the binding process. In this case, you can only delete the account and rebind the Midjourney account.
2.
Then, you could use a Google Chrome plug-in such as https://chrome.google.com/webstore/detail/discord-token-login/ealjoeebhfijfimofmecjcjcigmadcai to try to log into your Discord account with your recorded Discord Authorization Token, to verify whether the Token is valid.
If you are using the recommended plug-in mentioned above:
After installing the plug-in in Google Chrome, please use a new incognito window that has not been logged onto any discord account for this test.
Please make sure you are on https://discord.com/ before you try to use the plug-in to login to Discord.
After logging in to Discord, please make sure that you do not log out of the discord account as the discord auth token will change after logging out of Discord! Just use an incognito mode (such as Google Chrome Incognito) to login; and after you are done, just close the browser, you don't need to log out of Discord.

6. Can you successfully message the Midjourney bot to submit a job?#

1.
Please submit a task to Midjourney in Discord first. Is it working? If so, continue to the next step.
2.
If you are submitting jobs to the Midjourney bot in Direct Message, then just fill out info below without needing to worry about the Channel ID and the Guild ID in the "advanced settings".
BYOA_binding_with_Discord_Token.webp
3.
If you are submitting jobs to a Midjourney bot in a channel instead of Direct Message, then you would need to bind the appropriate Channel ID and Guild ID along with your Discord Authorization Token.
BYOA_binding_with_ChannelID_GuildID.webp

7. Last measures#

If you followed all the steps above and made sure everything is fine (including the Midjourney account), and yet when you submit a job through API it still says:
1.
"no active bot", please
change its [load weight] to something else and change it back to its original setting; and
change its [active period] to something random, and change it back to the desired, correct setting.
2.
"Subscription expired", please
go to the corresponding Discord account and type '/info' prompt to the Midjourney Bot;
And try submitting another task through the API again. If it still does not work, please contact PiAPI in Discord.

Luma HYA Debug Checklist#

1.
My Luma account token gets reset very frequently, almost one reset per token, what can I do?
Potential cause 1 : your account was signed in somewhere else. If so, you could try changing the Google-related password to prevent this from happening.
Potential cause 2 : You've had the subscription associated with this account for a long time and Luma might have flagged this account for automation.
Modified at 2024-12-26 04:22:53
Previous
Host-your-account (HYA) | Back-up Account
Next
Host-your-account (HYA) | Connected Account Status