Skip to content
English

Introduction

Every output you generate with HiAPI — images, audio, and video, whether through the API or the website — is served from HiAPI’s CDN and returned as a cdn_url. By default outputs are temporary and expire about 7 days after creation. Output Storage lets you keep the outputs you choose for the long term and manage them with your API key. Downloads are always free.

TierDefaultRetentionStorage cost
tempYesAuto-deleted ~7 days after creationFree
persistentNoKept long-term until you delete itBilled by stored size

This is a per-output model — you decide which individual outputs to keep. Two ways:

  1. At creation — pass "storage": "persistent" in Create Task. The output is written straight to long-term storage.
  2. After the factpromote a temporary output any time before it expires. You can also manage everything from the dashboard: Dashboard → Storage (Artifact Storage) lists every output with Temporary / Persistent filters and per-item promote / delete.

To stop paying for a persistent output, delete it — there is no demote.

All endpoints authenticate with your API key (Authorization: Bearer YOUR_API_KEY) and act only on the calling account’s outputs.

ItemDetail
Unit price$0.05 / GB · month
Billing cadenceOnce per day at UTC 00:30. Today’s charge = stored size × $0.05 ÷ 30
Egress (downloads)Free — unlimited downloads, no metering
Write operationsFree for users — HiAPI absorbs CDN PUT/operation fees
You storeMonthlyPer day
5 GB$0.25$0.0083
50 GB$2.50$0.083
100 GB (cap)$5.00$0.167

Delete to save instantly: delete half today, tomorrow’s bill drops by half. You only pay for what you store, while you store it.

  • Per-account cap: 100 GB by default (configurable per account group). Promoting past the cap is rejected with cap_exceeded; creating a task with "storage": "persistent" over the cap silently falls back to temporary — generation still succeeds. Contact us for a larger cap.

Persistent storage is charged daily against your credit balance.

  1. If your balance can’t cover the charge for 3 consecutive days, the affected outputs enter a 7-day grace window and a warning email is sent.
  2. Top up any time to resume — the grace window clears immediately and the outputs stay.
  3. If the grace window expires, the outputs are deleted.
  • Output URLs are public but contain an un-guessable random path — outsiders cannot enumerate or guess your files.
  • Anyone with the URL can download (useful for sharing or embedding in your product).
  • Signed / private URL options aren’t offered today. Contact us if your use case requires them.

The same credit balance you use for API calls. The $0.05/GB·month is deducted from your top-up balance.

Yes. All HiAPI-generated images and videos count toward your persistent storage usage. Videos can be large — watch your bill.

Yes — they’re public, with un-guessable random paths. Anyone with the URL can download. Don’t share URLs you don’t want others to access.

Beyond the cap, new persistent writes fall back to 7-day expiry (generation still works). Delete older outputs to free space, or contact us for a larger cap.