# Midjourney API on Wizzx - Model ID: `midjourney` (Midjourney Midjourney) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/midjourney` - Status: `GET https://api.wizzx.ai/api/v1/task/{task_id}` - Idempotency: optional `Idempotency-Key: ` header on submit - Auth: header `Authorization: Bearer $WIZZX_API_KEY` (server-side only) - Price: from $0.07/request, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/midjourney - JSON Schema: https://wizzx.ai/api/models/midjourney/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-midjourney ## Flow 1. POST the JSON body to the submit URL. The response contains `data.task_id`. 2. Poll `GET /api/v1/task/{task_id}` until `data.status` is `SUCCEEDED`, then read the output URLs from `data.result_urls`. 3. Stop on `FAILED` or `REVIEW_REQUIRED`. Do not resubmit automatically. ## Parameters | Field | Type | Required | Default | Allowed | Description | |---|---|---|---|---|---| | `prompt` | string | yes | | ≤ 4,000 | Describe the image to generate or the edit to apply. | | `image_urls` | url[] ≤ 5 | no | | | Optional. Up to 5 image prompts to guide style or subject. | | `speed` | string | no | fast | relax · fast · turbo | Selects the per-request grid price. Turbo is available on V5.1–V7 and Niji 6–7. | | `version` | string | no | 8.2 | 8.2 · 8.1 · 7 · 6.1 · 5.2 · 5.1 · niji-8 · niji-7 · niji-6 | | | `aspect_ratio` | string | no | 1:1 | 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 4:5 · 5:4 · 21:9 | | | `raw` | boolean | no | | | Reduce default aesthetic styling for literal adherence. | | `stylize` | integer | no | | 0 – 1000 | Artistic stylization strength (0-1000). | | `chaos` | integer | no | | 0 – 100 | Grid variation diversity (0-100). | | `weird` | integer | no | | 0 – 3000 | Experimental composition aesthetics (0-3000). | | `negative_prompt` | string | no | | ≤ 1,000 | Elements to avoid in the generated image. | | `seed` | integer | no | | 0 – 4294967295 | Random seed for reproducibility | ## Example body ```json { "speed": "fast", "version": "8.2", "aspect_ratio": "1:1", "prompt": "A ceramic coffee cup on a wooden table, soft morning light, product photography" } ```