Skip to content

HiDream-I1 API

undefineds max · 1MP · Released Apr 7, 2025 · By HiDream · MIT

HiDream-I1 costs $0.015 per image, against an official rate of $0.025 — 40% below official pricing. It is a HiDream model under the MIT licence, callable through an OpenAI-compatible endpoint with the model id `hidream/hidream-i1`. This model is listed for reference and is not currently served by an upstream provider, so requests for it return no available channel.

Not currently available. No configured upstream serves this model, so a request for it returns no available channel. The rate below is what it will cost when it is enabled.

Input

$0.0150/img

$0.0250/img

Billing

per image

no per-job minimum

Savings

40%

off official

  • No markup
  • OpenAI SDK compatible
  • No minimum spend
  • MIT

MIT-licensed with unusually strong prompt adherence for complex multi-subject scenes.

Copy this and go

The model id is already filled in. Nothing in this snippet needs editing except your key.

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://router.xark.io/api/v1"   # ← the only line that changes
)

response = client.chat.completions.create(
    model="hidream/hidream-i1",
    messages=[{"role": "user", "content": "Hello"}]
)

HiDream-I1 pricing across providers

Rates as published by each provider. We update these when they change; if you spot one that's stale, tell us and we'll fix it.

ProviderInputOutput
AI Token Router$0.0150/img
Official (HiDream)$0.0250/img
Replicate$0.0300/img
fal.ai$0.0280/img
OpenRouterNot offered

What it's good at

  • Complex compositional prompts
  • Editorial and illustration work
  • Commercially unencumbered output
Full technical documentation

Related

Other image models

HiDream-I1 questions

Every figure below is read from the same catalogue entry as the table above, so the two cannot disagree.

What does HiDream-I1 cost on AI Token Router, and what is the official rate?

HiDream-I1 is billed at $0.0150 per image here, against HiDream's official $0.0250 — 40% below, or $0.0100 per image back. There is no platform fee, no minimum spend and no per-job surcharge on top of that rate, and failed requests are not billed. The official figure is published next to ours because a discount with no stated benchmark is not a claim anyone can check.

Can I call HiDream-I1 right now?

No. HiDream-I1 is catalogued but not currently servable — no configured upstream provider carries it, so a request naming `hidream/hidream-i1` returns `no available channel` instead of a result. The rate on this page is what it will cost once an upstream serves it, not something you can spend today. The image models you can call today are Qwen-Image. 7 of the 24 catalogued models are callable, and every page says which it is.

How do I generate an image with HiDream-I1?

POST to `https://router.xark.io/api/v1/images/generations` with `"model": "hidream/hidream-i1"` and a prompt, or call `images.generate` on an OpenAI SDK pointed at `https://router.xark.io/api/v1`. The request and response shapes follow the OpenAI images API, so an existing integration needs the base URL and the model id changed and nothing else. The bare name `hidream-i1`, without the provider prefix, resolves to the same model.

What resolution does HiDream-I1 output, and what counts as one billable image?

HiDream-I1 outputs at 1MP. Billing is per generated image at $0.0150/img — one rate, so resolution, prompt length and the number of denoising steps do not change what you are charged, and a request that fails is not billed at all. Asking for several images in one call bills as that many images, which is the same as making the calls separately.

What licence is HiDream-I1 under, and can I use it commercially?

HiDream-I1 is published by HiDream under the MIT licence. MIT is a standard permissive licence: commercial use, modification and redistribution are all allowed, and the only obligation is to keep the copyright and licence notice with the software. It sets no user threshold, no field-of-use restriction and no separate acceptable-use policy, so there is nothing in it that limits what you build commercially on top of the output.

How does HiDream-I1 pricing here compare with other providers carrying it?

Of the 2 other providers we track carrying HiDream-I1, the lowest is fal.ai at $0.0280/img, against our $0.0150/img. That is where the rates stood when we last reconciled them, and it can change without notice — we are not claiming to be the cheapest source for this model, only that our rate sits below HiDream's official $0.0250/img. If you find one of these figures stale, tell us and we will correct it.

What is HiDream-I1 actually good at?

MIT-licensed with unusually strong prompt adherence for complex multi-subject scenes. In practice that points at complex compositional prompts, editorial and illustration work and commercially unencumbered output. The specifics that actually decide a fit — the rate, the licence and what it will and will not serve today — are all on this page rather than behind a sales conversation.

Start using HiDream-I1 today

$5 in free credits, no credit card required.