MiniH3
English

MiniH3 API README (start here)

中文

Base URL, authentication, getting a key, reading status codes, and where to get help — read this before your first call.

Useful links

WhatWhere
Site and knowledge basehttps://minih3.dev
Console (keys, top-ups, usage)https://minih3.dev/console
Models and priceshttps://minih3.dev/catalog
Skill package (for agents)English: https://minih3.dev/skill/minih3-video-en.tar.gz ; Chinese: https://minih3.dev/skill/minih3-video.tar.gz
Site index for LLMshttps://minih3.dev/llms.txt
Support ticket (recommended)POST /v1/tools/ticket with your own API key — free, works with a zero balance
Email[email protected]

Base URL

  • Use https://api.minih3.dev only. Every path hangs off it, e.g. https://api.minih3.dev/v1/videos.
  • The API follows OpenAI conventions: text at /v1/chat/completions, video at /v1/videos, platform tools at /v1/tools/*.

Authentication

Send this header on every request:

Authorization: Bearer <your API key>

Keep the key in the header only — never in a URL, a prompt or a ticket. Tickets that contain a key are rejected.

Get a key in 4 steps

  1. Sign up at https://minih3.dev and verify your email (Google sign-in also works). New accounts come with $0.50 of free credit, about 33 seconds of 768p.
  2. In the console, create an API key under Tokens.
  3. Copy the key into the header Authorization: Bearer <key>.
  4. Top up when the credit runs out — minimum $5; your balance does not expire.

Status codes

CodeUsual causeWhat to do
400Bad parameters: a resolution this model does not allow, non-integer seconds, missing prompt, too many media filesRead error.message; it lists the allowed values or the limit
401Key invalid, missing or deletedCheck the header; create a new key in the console
403Balance too low (insufficient_user_quota); the key hit its own spending cap (pre_consume_token_quota_failed); or the key has no access to this modelTop up; raise or remove the key's cap in the console; or use a key that has access
404The task id does not exist, or was not submitted with this keyCheck the task_id
429Too many requests (with a Retry-After header), or the upstream is busy (without it)Wait for Retry-After if present, otherwise 30–60 s; error.code tells the two apart
500 / 502 / 503Temporary server or upstream errorRetry later; requests that were not charged cost nothing

Every error has the same shape:

{"error": {"code": "invalid_request", "message": "resolution must be one of … (request id: …)", "type": "new_api_error"}}

Send these two ids with a bug report

  • Every response carries X-Oneapi-Request-Id.
  • If you send X-Trace-Id, it comes back unchanged as X-Client-Trace-Id.

Put both in your ticket and we can find the exact request.

Billing

  • Video is billed by the seconds you request, charged when the submission is accepted; a rejected submission costs nothing, and a failed task is refunded in full automatically.
  • Text is billed by tokens; platform tools per call or per minute.
  • Per-model, per-resolution prices are on https://minih3.dev/catalog and readable anonymously at https://minih3.dev/api/pricing .

For Agents: every page is also Markdown (the Copy page button, or add /md to the page address), and /llms.txt lists them all.

Endpoints

Video

Text

Image

Tools

Workflows

Support

Agent access

Audio