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. Migration from v2
  6. Next Steps

Prerequisites

Before you begin, make sure you have:

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.

Migration from v2

Important: Same Discord account cannot be used for both v2 and v3 APIs simultaneously.

To migrate:

  1. Delete your Midjourney account from v2 API
  2. Configure the account in v3 API
  3. Update your code to use v3 endpoints
  4. Enable stream: true for real-time updates (recommended)

See account management endpoints:

Next Steps