
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.
Sign up and get up to 2,000 Credits
Featured image, video, and audio models
Start with curated models for image generation, editing, music, and video workflows.
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 the base model name to call any model through the same endpoint.
requiredinputModel-specific parameters, validated per request.
requiredrouteOptional route such as beta or ext; omit it or pass default for the default route.
optionalstorageSet persistent to get low-cost durable artifact links back.
optionalcallbackGet notified on completion instead of polling.
optional
curl https://api.hiapi.ai/v1/tasks \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-42-submit" \
-d '{
"model": "gpt-image-2/text-to-image",
"route": "ext",
"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
Provide the llms.txt prompt to your agent so it can understand HiAPI models and APIs, then select Skills, Remote MCP, or direct API access.
Read this HiAPI documentation index and answer my questions based on it: https://www.hiapi.ai/llms.txt About HiAPI: a unified AI API gateway for image, video, audio, and text models, with Agent Skills, Remote MCP tools, text endpoints, and a unified async API. My question: I want to generate images, videos, audio, or text with HiAPI. First decide whether Skills, Remote MCP, or the API fits best, ask one clarifying question if necessary, then provide the shortest setup procedure.
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
Use the route field to select an available route such as default, beta, or ext and compare costs clearly.
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.
Feedback from real generation workflows
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, video, and audio generation models. 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.
GPT Image API Guide: Model IDs, Routes, and Migration
OpenAI's current direct API model ID is gpt-image-2; gpt-image-1 and gpt-image-1.5 are previous, deprecated image models. New HiAPI integrations should use gpt-image-2/text-to-image or gpt-image-2/image-to-image through POST /v1/tasks. ChatGPT image generation, OpenAI's Image and Responses APIs, and HiAPI's async task API are different product surfaces with different request contracts. The retired HiAPI Pro IDs map to the current text-to-image and image-to-image IDs; do not preserve Pro in new code. This page is the navigation hub. Detailed parameters stay in the two model docs, and current rates stay in the pricing guide and live pricing page.
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 generation uses the unified async /v1/tasks API; existing clients must map model names, input fields, and result handling to that task contract. Migration means getting a HiAPI key, submitting a task, then polling or receiving a callback before downloading the result. Pricing on both is output-based; compare the model and read HiAPI's live pricing instead of relying on frozen figures.
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: Routes, Cost Per Image, and Budgets
Standard text-to-image and image-to-image cost $0.03 at 1K, $0.04 at 2K, and $0.06 at 4K. The text-to-image beta route is a flat $0.02 per image and uses a size field instead of aspect_ratio plus resolution. Ext output pricing ranges from $0.007 to $0.760 by quality and resolution; ext image-to-image also adds $0.015 for each reference image. Published HiAPI billing rules do not expose a prompt-cache discount or a lower batch unit price for these task routes. The controllable cost drivers are route, resolution, quality, reference-image count on ext edits, output volume, and paid reruns.
Free AI Image API, No Key Required? Live Checks for 2026
Four live generation-endpoint checks did not produce an anonymous image: Pollinations, fal, Replicate, and HiAPI all returned an authentication response. Pollinations' legacy /p/ URL returned HTTP 200 with text/html, so the status code alone did not prove image generation. Cloudflare Workers AI, Hugging Face Inference Providers, and the Gemini API also document account-scoped or token-authenticated API access. HiAPI's free browser generator needs no sign-up or API key, while production API calls require an account and hiAPI key.
















