AI image, video, and audio generation with persistent artifacts.Ship with one API.
Call leading generative models, track each task or wait for callbacks, and receive persistent artifact links without extra storage work.
Featured image, video, and audio models
Start with curated models for generation, editing, voice, and video workflows.

GPT Image 2
OpenAI image generation and editing with sharp text rendering.

Nano Banana 2
Google Gemini Flash image model, fast with strong character consistency.
Seedance 2.0
ByteDance cinematic video with native audio and multi-shot consistency.
HappyHorse 1.1
Latest HappyHorse video model: text, image, and reference to video.

FLUX 1.1 Pro
Black Forest Labs high-fidelity image generation, fast and detailed.

Qwen Image 2.0
Alibaba Qwen image model for high-quality generation and editing.
One task API for every generation workflow
Submit a job, check status, receive a callback, and retrieve stored artifacts through the same simple lifecycle.
modelPass a model name to call any model through the same endpoint.
inputModel-specific parameters, validated per request.
storageSet persistent to get low-cost durable artifact links back.
callbackGet notified on completion instead of polling.
curl https://api.hiapi.ai/v1/tasks \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2/text-to-image",
"input": {
"prompt": "a glass speaker, studio light"
},
"storage": "persistent",
"callback": {
"url": "https://example.com/cb",
"when": "final"
}
}'Ready for developers and AI agents
Integrate through API docs, MCP, Skills, and llms.txt so developers and agents can discover, call, and compose HiAPI.
API docs
Reference material for direct developer integration.
MCP
Agent-accessible tools for HiAPI workflows.
Skills
Reusable agent instructions for common workflows.
Use HiAPI in any agent
Paste the llms.txt prompt into your agent so it understands HiAPI models and APIs, then picks Skills, Remote MCP, or direct API as the setup path.
Read this HiAPI documentation index and answer my questions based on it: https://docs.hiapi.ai/llms.txt About HiAPI: a unified AI API gateway for image, video, and audio generation, with Agent Skills, Remote MCP tools, and an OpenAI-compatible API. My question: I want to generate an image or video with HiAPI. First decide whether Skills, Remote MCP, or the API fits best, ask me one key question if needed, then give the shortest setup steps.
Know the cost before you ship
Every model lists its price up front, so you can size usage before you integrate.
Transparent pricing
Review each model's price before integration.
Predictable cost
Estimate cost clearly before a production launch.
Cost-aware routing
Glance at '@beta', '@pro' suffix, knowing the cost level.
Volume discounts
Larger usage can get volume-based rates. Contact sales

Built for production generation workloads
Reliable access, persistent outputs, task tracking, and support for long-running image, video, and audio jobs.
Availability-first routing
Designed for stable access, not only the cheapest available route.
Persistent outputs
Generated artifacts stay reachable through returned links.
Optimized for Long-running jobs
Task tracking and callbacks fit image, video, and audio workloads.
24/7 support
Coverage for production integration and operation.
The real generation workflows's feedbacks
Representative scenarios from teams building AI video tools, creative automation, and agent workflows.
We test video models quickly, keep generated assets reachable, and skip building a storage path for every provider.
Persistent artifact links make it easy to pass outputs between campaign tools, review, and downstream automation.
A task API with callbacks gives agents a clean way to request, wait, retrieve, and reuse generated media.
Frequently Asked Questions
Quick answers on supported models, persistent artifacts, callbacks, and trying before you build.
Which models does HiAPI support?
HiAPI supports selected image and video generation models, with audio on the roadmap. Browse the full list on the models page.
How do persistent artifact links work?
Set storage to persistent and generated outputs are stored for you and returned as durable links in the task result.
Can I use callbacks instead of polling?
Yes. Provide a callback URL and HiAPI notifies you when the task reaches its final state, so you skip polling.
Can I try models before integrating?
Yes. Use the Playground on each model page to explore parameters and example outputs before writing code.
Start building with persistent AI artifacts
Get your API key and call image, video and audio models through one task-based API.
Guides & resources
Tutorials, model reviews, and pricing breakdowns to help you ship faster.
Getting started
hiapi Image and Video Generation APIs: The Complete Platform Guide
hiapi is an image and video generation API gateway: one Bearer-auth endpoint fronts FLUX 1.1 Pro, Nano-Banana, GPT-Image-2, Qwen-Image, Wan2.7, Seedance, and HappyHorse. Pricing is flat per task — $0.02 for gpt-image-2-beta, $0.05 for Nano-Banana or flux-1.1-pro, up to $0.823 for a 1080p Seedance clip. No token billing, no surge. All generation runs through the async POST /v1/tasks endpoint. Same shape for text-to-image, image-to-image, text-to-video, image-to-video. Most image models accept input.prompt + input.aspect_ratio. qwen-image-2.0 uses a DashScope-style nested schema with literal pixel sizes — keep a model→payload adapter map. Four sample images in this post — cover illustration, photoreal portrait, CJK calligraphy signboard, layout poster — were all rendered through hiapi for a total of $0.155.
ChatGPT Image Generation: What's New and How to Build It Programmatically
ChatGPT's new image experience is powered by the GPT Image 2 model family — reachable from your own code through a simple two-call async API. The visible improvements (text rendering, character consistency, 4K detail) come from the model layer, not the UI — so the same quality is available to your own application. gpt-image-2 is the flagship at $0.03 per image and handles the majority of production workflows; it replaced gpt-image-1.5, which has been retired from the platform. Migration from ChatGPT to API is small: same prompts work, and the integration is two REST calls — POST /v1/tasks to create a generation, GET /v1/tasks/:id to collect the image URL.
Reviews & comparisons
Fal.ai API Alternative: Keys, Docs, Pricing, and Migration Notes
fal.ai is a developer-first generative-media platform with serverless GPU and pay-per-use billing; if it fits your stack, it is a solid choice. HiAPI is a fair alternative when you want one unified API across image and video models, a single key, and pay-as-you-go pricing. HiAPI offers both an async task API and an OpenAI-compatible /v1/chat/completions endpoint, so migrating an existing client is mostly a base-URL and key swap. Migrating is concrete - get a key from the dashboard, point the base URL at https://api.hiapi.ai, map model names, and use the submit-poll-result pattern you already know. Pricing on both is output-based; compare the model, not a frozen dollar figure, and read HiAPI's live numbers on the pricing page.
GPT Image 2 Review: A Hands-On Honest Take
Text rendering is the real upgrade — English headlines, CJK calligraphy, in-image labels and prices all render correctly the first time. Photorealism is genuinely strong for product photography and detailed interiors. Portraits are good but occasionally read as slightly 'too symmetric'. Speed is a step backward from GPT Image 1.5: ~107 seconds per image versus 18–36 seconds. Plan workflows around it. Hard limit: no transparent backgrounds. If you need PNG cutouts, you're still going to need a second model or a background remover.
Pricing & cost
GPT Image 2 API Pricing: What You Actually Pay Per Image
GPT Image 2 starts at $0.03 per image at 1K resolution — about 40% cheaper than its predecessor Cost scales with output resolution: 1K at $0.03, 2K at ~$0.04, and 4K at $0.06 per image Most use cases — product mockups, social posts, quick prototypes — are well served by 1K or 2K Three practical levers can cut per-image cost: drop to a lower resolution tier, reuse similar prompts for cache hits, or batch generations of related images
Free AI Image Generation API Without an API Key: What Actually Works
A truly key-less, production-grade image API does not exist — abuse and GPU cost make it impossible to run one without authentication. Real no-key options (Pollinations) and free tiers (Cloudflare Workers AI, Hugging Face, Google AI Studio) work for throwaway and hobby use, but each trades away watermark-free output, rate headroom, commercial rights, or stability. Free-trial providers like fal.ai and Replicate still require an API key — the free part is starter credit, not a key-less endpoint. For reliable or commercial work, the practical path is a no-card signup that grants free credit to test, then pay-as-you-go — one key, many models. HiAPI gives $1 free credit (currently ~50 images) to try real generations across 13 image models via one unified task API; production calls authenticate with a key.



