Midjourney
Midjourney API
Midjourney does not offer an official public developer API. Wizzx exposes Midjourney V5.1–V8.2 and Niji 6–8 through structured JSON parameters—no Discord bots or inline CLI flags—billed per request with automatic refunds on failed tasks.
- Starting price
- $0.07/request
- Pricing tiers
- 3
- Free trial
- $0.20
New accounts start with $0.20 in free credits.
Midjourney models are developed by Midjourney. Wizzx provides API access to them and does not own the models. All trademarks belong to their respective owners.
Built for production Midjourney automation
Everything developers need to integrate Midjourney grids and Niji anime generation into apps, workflows and creative pipelines.
Structured JSON
No Discord bots or raw flag parsing
Pass version (5.1 to 8.2, niji-6 to niji-8), aspect_ratio, stylize, chaos, weird, raw and up to 5 reference images as typed JSON fields.
Transparent per-request billing
Up to 4 grid images per request
Only speed (relax, fast or turbo) selects the price tier. Version, aspect ratio, creative dials and reference images add zero extra cost.
Zero wasted credits
Pay-as-you-go with automatic refunds
Start with $0.20 in free trial credits, no monthly seat fees. Credits are only settled on SUCCEEDED tasks and refunded on failure.
Midjourney API live pricing tiers
All rates are read live from the Wizzx pricing catalog for model ID midjourney. Credits are reserved on submit and refunded automatically if a task fails.
| Tier | Wizzx | Credits |
|---|---|---|
| Relax | $0.07/request | 70 |
| Fast | $0.085/request | 85 |
| Turbo | $0.154/request | 154 |
Pay-as-you-go credits never expire and require no monthly subscription.
Open Midjourney parameter referenceIntegrate the Midjourney API
Create a server-side API key, submit the supported inputs for your chosen model, and keep the returned task ID to retrieve the result. Model pages link to the exact request contract.
- 1
Create an API key
Sign in and create a key in the dashboard. Set WIZZX_API_KEY in your server environment; never expose it in browser code.
- 2
Submit a task
Send a POST request to the model endpoint. A successful submission returns data.task_id; keep that ID before polling. Submission is not generation completion.
- 3
Retrieve the result
Replace YOUR_TASK_ID with the returned ID and query GET /api/v1/task/{task_id}. Wait for SUCCEEDED and read the output URLs. Stop on FAILED or REVIEW_REQUIRED; do not automatically resubmit an uncertain task.
Submit a Midjourney task
curl -X POST \
https://api.wizzx.ai/api/v1/task/submit/midjourney \
-H "Authorization: Bearer $WIZZX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"speed": "fast",
"version": "8.2",
"aspect_ratio": "1:1",
"prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
}'const response = await fetch("https://api.wizzx.ai/api/v1/task/submit/midjourney", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"speed": "fast",
"version": "8.2",
"aspect_ratio": "1:1",
"prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
}),
});
const payload = await response.json();
const task = payload.data ?? payload;
const taskId = task.task_id;import os
import requests
response = requests.post(
"https://api.wizzx.ai/api/v1/task/submit/midjourney",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
json={
"speed": "fast",
"version": "8.2",
"aspect_ratio": "1:1",
"prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography"
},
)
payload = response.json()
task = payload.get("data", payload)
task_id = task["task_id"]curl https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID \
-H "Authorization: Bearer $WIZZX_API_KEY"const response = await fetch("https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID", {
headers: {
Authorization: `Bearer ${process.env.WIZZX_API_KEY}`,
},
});
const payload = await response.json();
const task = payload.data ?? payload;
// Poll until task.status is SUCCEEDED, then read task.result_urls (stop on FAILED or REVIEW_REQUIRED)import os
import requests
response = requests.get(
"https://api.wizzx.ai/api/v1/task/YOUR_TASK_ID",
headers={
"Authorization": f"Bearer {os.environ['WIZZX_API_KEY']}",
},
)
payload = response.json()
task = payload.get("data", payload)
# Poll until task["status"] == "SUCCEEDED", then read task["result_urls"] (stop on FAILED or REVIEW_REQUIRED)API integration questions
- Does Midjourney have an official API?
- Midjourney does not currently offer a general-access official developer API. Wizzx is an independent API platform providing structured REST access to Midjourney models with one API key and pay-as-you-go credits.
- What is the Midjourney API model ID?
- midjourney. Submit tasks to POST /api/v1/task/submit/midjourney with your API key.
- How is the Midjourney API priced?
- Midjourney is billed per request starting at $0.07/request, covering up to 4 generated grid images. Speed (relax, fast, turbo) selects the credit tier; turbo is unavailable on 8.2, 8.1 and niji-8.
- Am I charged if a task fails?
- No. Credits are reserved when you submit a task and refunded if it fails. You are only charged for successful tasks.
- Can I try the Midjourney API for free?
- Yes. New accounts start with $0.20 in free credits, about 2 requests at the starting price.
Wizzx API
Start building with the Midjourney API
New accounts get $0.20 in free credits. Pay as you go with no subscription, and failed tasks are refunded.