Quick Start

October 27, 2025

Table of contents

  1. Prerequisites
  2. Configure Your Channel
  3. Generate with Real-time SSE
  4. Generate with Webhook Callback
  5. Next Steps

Prerequisites

Before you begin, make sure you have:

  1. Get your API token
  2. Active subscription - Subscribe
  3. Midjourney Discord account - Setup Midjourney
  4. Get your Discord token

Important: Same Discord account cannot be used for both v2 and v3 APIs simultaneously. If you have the account configured in v2, delete it from v2 first before configuring in v3. See Migration from v2 for details.


Configure Your Channel

curl -X POST "https://api.useapi.net/v3/midjourney/accounts" \
     -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
       "discord": "YOUR_DISCORD_TOKEN",
       "maxJobs": 3,
       "maxImageJobs": 3,
       "maxVideoJobs": 3
     }'

See POST /accounts for full documentation.


Generate with Real-time SSE

See SSE Streaming Guide for complete implementation.


Generate with Webhook Callback

curl -X POST "https://api.useapi.net/v3/midjourney/jobs/imagine" \
     -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{
       "prompt": "a cat in a hat",
       "stream": false,
       "replyUrl": "https://your-server.com/webhook"
     }'

All job events will be POST-ed to your webhook URL in real-time.


Next Steps