Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: MAGI 2 launch limited-time 20% off, covering text-to-video, image-to-video, and reference-to-video across the board. Try it now
Notice: Seed Audio 1.5 launch limited-time 20% off, covering text-to-audio, video dubbing, audio track separation, and video translation across the board. Try it now
Notice: HeyGen Avatar 6 Turbo is 20% off for a limited time, and all three video pipelines are eligible.Try it now
Notice: Midjourney Niji 8 is now available, 20% off · Create now
Notice: Hunyuan Image 3.0 launch limited-time 20% off, for both text-to-image and instruction-based editing · Try it now
Announcement 1 of 6
Blog

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

Dec 3, 2026
An abstract topographic cover image on a beige background, with multiple layers of thin paper receding in stacked layers, where graphite-gray layers and a single terracotta paper layer form a quiet rhythm.
On this page

What Midjourney Niji 8 is and who it is for

Midjourney Niji 8 is displayed on HiAPI.ai as Midjourney Niji 8, and its model name is midjourney/niji. It follows the text-to-image route, with optional reference-image guidance, and each task delivers one static image. The input prompt is a required string of 1–2000 characters; the output is an image.

The style leans toward Japanese anime-style illustrations, suitable for game character or scene concept art, manga storyboards, and light novel illustrations. The criterion is straightforward: the requirement can be expressed as a visual description, and the randomness of generated results is acceptable. If precise layout, strict brand reproduction, or accurate rendering of text within the image is required, a pure text-to-image route is not suitable for the core pipeline.

Abstract diagram made of multiple layers of paper: a narrow strip of paper on the left represents text input, stacked paper blocks in the middle represent the image generation model, and a wide paper panel on the right with three branches represents the generated images and their illustration, design, and content uses.
Text input is unfolded layer by layer through the image generation model into image output, branching into illustration, design, and content uses.

The eight input parameters

Requests uniformly use POST /v1/tasks, with the model name midjourney/niji and fields placed inside input. This route uses structured fields and avoids native prompt flags. The eight input parameters are as follows:

  • prompt: required string, 1–2000 characters, describing the image subject, style, composition, and lighting in natural language.
  • image_urls: optional; when provided, 1–4 accessible HTTPS image URLs, used only to guide the image.
  • size: only 1:1 (default), 16:9, and 9:16 are provided.
  • version: choose niji 8 (default) or niji 7; the latter is a comparison option for continuing the art style of existing legacy projects.
  • speed: choose relax (default, $0.0644 per call) or fast ($0.0787 per call). This route does not provide turbo; Niji 8 turbo requests ultimately use the same speed tier as fast, so simply choose fast.
  • stylize: integer 0–1000.
  • chaos: integer 0–100.
  • weird: integer 0–3000.

stylize, chaos, and weird only accept values within the integer ranges above; this article does not infer the default values of the three. Fees are charged per call, not per number of images or pixels. Each task delivers one static image; this route does not provide outfit changes, inpainting, fixed characters, editing existing images, sketch mode, 24 images, outpainting, high definition, or upscaling. It also does not promise specific durations, queue order, or art style consistency.

Minimal request and task polling

The minimal request only needs the model name and prompt. Below is a curl example that can be directly adapted for use:

curl -X POST https://api.hiapi.ai/v1/tasks -H 'Authorization: Bearer $HIAPI_API_KEY' -H 'Content-Type: application/json' -d '{"model":"midjourney/niji","input":{"prompt":"Japanese anime-style illustration, game character concept art, a silver-haired swordsman standing in a ruined plaza in morning mist, half-body composition, cool-warm contrast lighting"}}'

After successful submission, the response returns a task ID. Image generation is not completed within the synchronous request; use the task ID to query status and results:

curl https://api.hiapi.ai/v1/tasks/{task_id} -H 'Authorization: Bearer $HIAPI_API_KEY'

Set polling intervals and timeouts according to business needs during polling, and do not keep user HTTP connections attached to generation requests. If the result URL needs to be used long term, it is recommended to transfer it to your own object storage. Keep the API Key on the server side only.

A left-to-right flow made of layered paper pieces: a small key block, a request card, a branching routing bar, and an open box, expressing the call and parameter input.
A layered diagram of the integration flow: from key to request, routing, and returned image, each step has a parameter entry point.

Image selection and business settings

Image selection: first determine size by delivery placement. Use 1:1 for square avatars or cards; 16:9 for horizontal banners, article headers, and video covers; 9:16 for vertical posters, mobile full-screen illustrations, and light novel cover directions. In the prompt, clearly describe the subject, style, composition, lighting, and aspect-ratio use; do not use parameters as style words.

Reference images: image_urls is only used to guide the image. When needed, provide 1–4 accessible HTTPS addresses, and verify accessibility and content compliance on the business side; do not use it to carry expectations such as outfit changes, inpainting, fixed characters, editing existing images, or sketch mode.

Version and speed: new projects default to niji 8; when existing legacy projects need to continue their art style, niji 7 can be used as a comparison option. Speed defaults to relax; choose fast when delivery cadence matters, at $0.0787 per call. There is no need to look for a turbo option.

Style values: stylize, chaos, and weird are structured numeric fields, limited to 0–1000, 0–100, and 0–3000 respectively. Do not infer default values from this article; before launch, run small-batch comparisons with fixed prompts and record each value and image result.

Business-side settings: make size, version, and speed configuration items rather than scattering them in code; apply templates and length validation to prompts; apply domain whitelisting and accessibility checks to image_urls; save request parameters by task ID for quality checks and issue diagnosis.

Pricing, image count, and quality checks

Fees are charged per call, not per number of images or pixels. There are two price tiers:

  • relax: default speed, $0.0644 per call.
  • fast: $0.0787 per call.

Each task delivers one static image. Monthly costs can be estimated as "monthly call count × corresponding speed unit price"; retries, duplicate clicks, and integration-test calls all count toward call volume, so the business side should implement idempotency and throttling. Real-time prices are subject to the site's pricing panel.

Multiple layers of paper stacked into a series of columns rising from low to high, with an ochre-red paper layer marking a higher cost tier, set against a beige background with graphite-colored top surfaces.
Converted from per-call price: the higher the call volume, the higher the stacked paper layers—the ochre-red layer marks the higher cost tier to watch.

Quality check list:

  • prompt is 1–2000 characters, with clear descriptions of subject, style, composition, lighting, and use.
  • If image_urls is filled in, it contains 1–4 accessible HTTPS addresses, used only to guide the image.
  • size uses only 1:1, 16:9, and 9:16, and matches the display placement.
  • version uses niji 8; use niji 7 only for art style comparison with legacy projects.
  • speed uses relax or fast, and no turbo expectation is submitted.
  • stylize, chaos, and weird are integers within range, with no inferred default values.
  • Requests go through POST /v1/tasks, with model name midjourney/niji, and fields located inside input.
  • Poll by task ID and save results; do not rely on temporary URLs being available long term.

For API details, enter from the model page; during integration, first get the minimal request working, then add size, version, speed, and style values item by item, and finally accept according to the quality check list.

Related articles

View all articles →

Start building with persistent AI artifacts

Get your API key and call image, video and audio models through one task-based API.

Read the API docs