UserAPI Cloud

Midjourney API without Discord

UserAPI Cloud is a Midjourney API without Discord and without your own Midjourney account. There is no token to copy and no subscription to buy: the same API call runs on our accounts. If you already have a Midjourney subscription, connect that account instead.

Updated

Two ways to generate

Both use one API key and the same endpoints, including POST /midjourney/v2/imagine. The difference is who pays Midjourney and whose account does the work.

Your Midjourney accountUserAPI Cloud
Discord tokenYou add it onceNot required
Midjourney subscriptionYou pay MidjourneyIncluded
What you pay UserAPI$25 a month or $0.04 per request$0.08 per Imagine, 60% off $0.20
When it fitsHigher volume, several accounts, video, your own speed modeYou don't have a Midjourney subscription

The API call

The request is the usual one. Leave out account_hash and the task runs on UserAPI Cloud when your key has Cloud tokens and no paid Discord account of its own.

curl -X POST https://api.userapi.ai/midjourney/v2/imagine \
-H "api-key: $USERAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "a red fox in a snowy forest, cinematic light --ar 3:2"}'

Poll the status or wait for the webhook as with any task. A Cloud task has cloud: true and an empty account_hash:

{
"hash": "4f6c1e2a-...",
"type": "imagine",
"status": "done",
"account_hash": "",
"cloud": true,
"result": { "url": "https://cdn.discordapp.com/attachments/..." }
}

Prices

Cloud is paid in tokens. One Imagine costs 100 tokens. The current price is $0.80 per 1,000 tokens, which is 60% off $2.00. Tokens you have already bought keep their value if the price changes: a new price applies to the next purchase, not to the balance.

Action60% offFull price
Imagine, variation, vary, reroll, zoom, pan, inpaint, blend$0.08$0.20
Upscale, describe$0.04$0.10
Upsample (Subtle or Creative)$0.16$0.40
Seed$0$0

The minimum payment is $8. With the 60% discount that is 10,000 tokens, or 100 Imagine generations. At the full price the same $8 buys 40. If a task ends in error, the reserved tokens are returned.

When your own account costs less

Cloud is for getting started without a Midjourney subscription. Above a few hundred images a month, a Midjourney plan of your own plus $0.04 per request is usually cheaper. At 900 Imagine tasks a month, Midjourney Standard at $30 plus our API comes to $66. The same 900 on Cloud is $72 with the 60% discount and $180 at the full price. Upscales are extra in both cases. For that volume, add your own Discord account.

What is available

  • Imagine, variation, reroll, zoom, pan, inpaint, blend, upscale, upsample, describe and seed.
  • Animate (video) is not available on Cloud.
  • --turbo, --relax and --fast are removed from the prompt. Cloud runs in fast mode: relax can wait a long time on a shared account, and turbo spends the fast time twice as fast.
  • The prompt check stays on and cannot be disabled for Cloud.
  • The API response has cloud: true and does not include the Discord account the image ran on.

Which account a request uses

An account you already connected keeps taking your requests. Nothing is moved to Cloud on its own.

  • account_hash is set: the request runs on that Discord account of yours.
  • The API key has a Discord account that is active and paid for: the request runs there, as before.
  • There is no such account, and Cloud tokens have been bought: the request runs on UserAPI Cloud.

An action on a Cloud image (upscale, variation, zoom and the rest) stays on Cloud and is priced from the table above.

Getting started

  1. Register. The API key is created automatically.
  2. In the dashboard open UserAPI Cloud and buy tokens. The minimum is $8.
  3. Call imagine without account_hash. Code to copy from is here: Python, Node.js and PHP.

If you already have a Midjourney subscription, use your own account instead. How to connect it is in the API key guide, and the price is $0.04 per request or $25 a month.

Start with UserAPI Cloud

Register and buy UserAPI Cloud tokens in the dashboard. The minimum is $8, which is 100 Imagine generations at $0.08, 60% off $0.20. A Discord token is not required.

Questions

Can I use a Midjourney API without Discord?

Yes. There is no Discord token to add and no bot to run. Generation runs on our accounts. You connect Discord only when you want the image made on your own Midjourney subscription.

Do I need a Midjourney subscription?

Not for Cloud. The subscription is included: an Imagine is $0.08, 60% off $0.20. You still need your own Midjourney subscription only when generation runs on your Discord account.

How much is one image?

An Imagine is $0.08, 60% off $0.20. A normal upscale is $0.04 at the same discount. The minimum payment is $8, which is 100 Imagine generations at the discounted price.

What if the generation fails?

The tokens are reserved when the request is accepted and returned if the task ends in error. A finished image is charged.

I already use my own Midjourney account. Will requests move to Cloud?

No. A request with account_hash, and any request from a key that has a working paid Discord account, stays on your account. Cloud is used only when there is no such account.

Can I make video with Cloud?

No. Animate is not available on Cloud. Imagine, variation, reroll, zoom, pan, inpaint, blend, upscale, upsample, describe and seed are.

See also

Use image generation Magic with UserAPI