Midjourney
Midjourney
midjourney/niji
A text-to-image and image-prompt generation model by Midjourney, supporting 1:1, 16:9, and 9:16 aspect ratios, with adjustable stylize, chaos, and weird strengths, suitable for concept exploration, stylized illustration, and marketing sketch iteration
Try midjourney/niji
Input
Showcases
View all showcasesOutput
Pricing
midjourney/niji per call
| Specifications | Unit Price |
|---|---|
| relax | |
| fast | |
Overview
An image generation pipeline for Japanese anime and ACG (anime, comic, and games) style creation. It supports text-to-image and can also be guided by reference images, delivering a single static image. The input centers on natural-language prompts of up to 2,000 characters, along with structured settings for aspect ratio, version, speed, and style strength—no native command syntax required. It is well suited for illustrators, game art teams, and manga/light novel content teams to quickly generate images and compare options for character concepts, scene sketches, storyboard frames, and illustration drafts. It is also suitable for business systems that need to query results by task and integrate image generation into their daily workflows.
Key Features
- Clear Japanese anime style focus — The visual direction leans toward Japanese ACG illustration and anime expression, making it suitable for character, scene, storyboard, and illustration needs, and reducing the back-and-forth of trial-and-error prompting on general-purpose models.
- Structured parameters replace command syntax — Prompt, reference images, aspect ratio, version, speed, and three style values are provided as separate fields. Callers assemble requests according to business rules, making reuse and batch management easier.
- Two versions available for legacy projects — Uses niji 8 by default, with the option to switch to niji 7. When existing projects need to continue an established art style, you can compare and choose between the two versions; new projects typically start with the default version.
- Single-image delivery for review one by one — Each request returns one static image, allowing reviewers to judge composition, color scheme, and character presentation image by image. This suits creative workflows requiring frame-by-frame confirmation, such as storyboards and illustrations.
Capabilities
- prompt: text description of the image: prompt is a required string, 1 to 2,000 characters long, describing the subject, composition, color tone, and atmosphere in natural language. The more specific the prompt, the easier it is to maintain visual intent across batch generation without relying on native command syntax.
- image_urls: reference image guidance: image_urls is optional. When provided, it is 1 to 4 accessible HTTPS image URLs used only as visual guidance references. It does not handle outfit changes, local redrawing, or editing existing images; the output is still a newly generated full image.
- size: aspect ratio selection: size offers three options: 1:1, 16:9, and 9:16, with 1:1 as default. Square suits avatars and cover drafts, landscape suits wide shots of scenes and storyboards, and portrait suits character key visuals and illustration assets for mobile reading.
- version: style version switching: version can be niji 8 or niji 7, with niji 8 as default. New projects proceed with the default version; when existing legacy projects need to continue an established style, use niji 7 for comparison to keep style continuity across a series of assets.
- speed: speed tier selection: speed can be relax or fast, with relax as default; billing is per request. relax is $0.0644/request, and fast is $0.0787/request. This pipeline does not offer turbo; when you need faster generation, simply choose fast—no separate tier is needed.
- stylize: control stylization strength: stylize takes an integer from 0 to 1000. Higher values push the image toward more stylized expression, while lower values stay closer to the literal description in the prompt. This is useful for unifying the strength of illustration feel across a set of assets, and facilitates style experiments and series output.
- chaos: increase image variation: chaos takes an integer from 0 to 100, used to adjust the degree of variation in results. Moderately increasing it during option exploration yields more distinctly different compositions; lowering it when moving to finalization helps converge the visual direction.
- weird: adjust image strangeness: weird takes an integer from 0 to 3000, used to adjust how unconventional the image is. Slightly increasing it during concept exploration can help find fresh compositions; keep it lower for commercial work to facilitate review and subsequent use.
Use Cases
- Composition drafts for manga storyboards — Manga artists write prompts based on storyboard scripts, choose 16:9 or 9:16 to match the layout, use chaos for small variations to explore shot differences, and output single images for comparison in storyboard meetings, then select clear compositions for line art.
- Japanese-style illustrators exploring mood pieces — Use brief descriptions combined with a few reference images to guide the look and feel, quickly obtaining multiple visual directions as starting points for subsequent hand-drawn refinement.
- Game character and scene concepts — Game artists write character settings or scene atmospheres into prompts, optionally attaching reference images to guide the visual direction, using portrait ratios for character key visuals and landscape for scenes, and producing concept art for project review and art direction discussions.
- Light novel illustrations and inserts — Editors write prompts based on chapter plots, attach cover or scene reference images for visual guidance, choose a fixed aspect ratio for batch generation, review each image by plot relevance, and select illustrations for layout and promotional asset preparation.
Limitations and Selection Advice
Reference images are only for visual guidance and do not promise outfit changes, local redrawing, fixed characters, or editing existing images. Each request delivers only one static image; no outpainting, high-definition, or upscaling output is provided. size has only three options: 1:1, 16:9, and 9:16. If other ratios are needed, choose within this range first and then handle it through post-processing layout. speed has two tiers, relax and fast, billed per request: relax $0.0644/request, fast $0.0787/request. This pipeline does not offer turbo; when you need faster generation, simply choose fast. stylize, chaos, and weird must all be integers within their respective ranges; parameter values significantly change the visual output, so review image by image before finalizing. No specific time consumption, queue order, or cross-run style consistency is guaranteed. Generating the same prompt multiple times may produce differences, and series assets require manual review before delivery.
What's new
View changelog →- New model Midjourney Niji Model Now Available
- New model Midjourney Image Generation Models Now Available
Frequently asked questions
View all FAQs →-
Which versions are available now?
The version can be 8.2, 8.1, 7, 6.1, 5.2, or 5.1; the default is 8.2. Different versions differ in their emphasis on stylization strength and fidelity to literal prompts: newer versions generally adhere more closely to complex descriptions and keep details stable, while earlier versions such as 5.1 and 5.2 are more strongly stylized. If you want the behavior of the latest generation, keep the default 8.2; if you want a style closer to older releases, specify the corresponding version number.
-
Does a higher version draw better?
It is not a simple matter of higher versus lower; rather, it is a difference in orientation. Newer versions are generally more stable in prompt understanding and detail consistency, while 5.1 and 5.2 have stronger stylization. Choose based on your goal: for stable details and comprehension of complex descriptions, use a newer version; for a stronger painterly feel, you can go back to 5.1 or 5.2.
-
How can I control how faithfully the model follows the prompt?
Lower stylize (you can go down to 0) so the image stays closer to the literal description; raising it makes the model apply more of its own aesthetic. If you still feel the prompt is being overpowered by the style, you can also switch version to a setting with more restrained stylization and try again. chaos is another dimension: it affects how diverse and unusual the results are, and does not solve the fidelity issue.
-
How can I write prompts to get better results?
Write in the order of "subject and action → scene and environment → style and medium → lighting and color tone," and prefer concrete nouns over stacked adjectives. Prompts are capped at 2000 characters, and do not inline parameters such as --ar or --v; use size for the aspect ratio, stylize for style strength, and version for the version. Pass parameters through fields rather than mixing them into the prompt. To extend an existing image, pair it with image_urls to pass an image as an image prompt.
Create a generation task
https://api.hiapi.sh/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: midjourney/niji
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for midjourney/niji and route default — see the parameter table below.
sizestringOptionalDefault: "1:1"Controls the image aspect ratio, passed as a string aspect ratio, default 1:1; only the values 1:1, 16:9 and 9:16 are supported.
1:116:99:16chaosintegerOptionalmin 0max 100Controls result diversity, passed as an integer from 0–100; the higher the value, the more varied the generated results.
speedstringOptionalDefault: "relax"Controls generation speed and the billing tier; the default is relax at $0.0644 per generation; fast is $0.0787 per generation and is faster. niji 8 does not offer turbo; turbo requests ultimately run at the same speed tier as fast, so choose fast directly when you need more speed.
relaxfastweirdintegerOptionalmin 0max 3000Controls the strength of unconventional styles, passed as an integer from 0–3000, used to introduce more bizarre visual tendencies.
promptstringRequiredminLength 1maxLength 2000pattern ^([^-]|-[^-])*-?$Required text describing the anime image, 1–2000 characters long. Pass parameters through structured fields; do not write native parameters such as --niji or --v into the prompt.
stylizeintegerOptionalmin 0max 1000Controls stylization strength, passed as an integer from 0–1000; the higher the value, the more artistic the image.
versionstringOptionalDefault: "niji 8"Specifies the style version; the default is niji 8 (the current main version); when an existing older project needs to continue its art style, you can select niji 7 for comparison.
niji 8niji 7image_urlsarrayOptionalminItems 1maxItems 4An optional array of reference images; when provided, it contains 1–4 accessible HTTPS image URLs, used only to guide image creation; its subfields are described separately.
Array [ string ]
callbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.sh/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "midjourney/niji",
"input": {
"size": "1:1",
"speed": "relax",
"prompt": "…",
"version": "niji 8"
}
}' const res = await fetch("https://api.hiapi.sh/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "midjourney/niji",
input: {
"size": "1:1",
"speed": "relax",
"prompt": "…",
"version": "niji 8"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.sh/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "midjourney/niji",
"input": {
"size": "1:1",
"speed": "relax",
"prompt": "…",
"version": "niji 8"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.sh/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Comparison
Midjourney Niji 8 Selection Guide: Side-by-Side Comparison and Integration of Niji 8, Niji 7, and Midjourney v8
From visual choice and request fields to quality checks, provide engineering teams with a midjourney/niji integration method usable in actual development
-
Guide
Midjourney Niji 8 Getting Started Guide: Text-to-Image, Eight Parameters, and Task Polling
Developer-oriented integration notes for midjourney/niji: image selection, input parameters, POST /v1/tasks, and per-call billing
-
Tutorial
Midjourney Niji 8 in Practice: Inputs, Settings, and Acceptance for Four Types of Japanese-Style Illustration Delivery Tasks
From game characters to light novel illustrations, use structured fields to complete image selection and acceptance
Related Models
View all models →Same Type
-
Imagen 4 Google $0.030 /image -
FLUX.2 Klein 4B Black Forest Labs $0.0004 /image -
Nano Banana Google $0.011 /image -
Recraft Creative Upscale Recraft $0.357 /image -
FLUX.2 Black Forest Labs $0.035 /image -
Grok Imagine xAI $0.011 /second -
BRIA Product Shot Bria $0.058 /image -
FLUX.1 Fill Pro Black Forest Labs $0.071 /image -
851 Labs Background Remover 851 Labs $0.002 /image -
Google Virtual Try-On Google $0.107 /image -
Qwen Image 3.0 Alibaba $0.036 /image -
FIBO 2.0 Bria $0.057 /image






