Skip to content
English

Build with HiAPI

One API key for Nano Banana, Flux, GPT Image, Kling, Seedance and more — OpenAI-compatible, ready in minutes. Connect AI tools through MCP, or install Skills when an agent should call one model directly.

Generate your first image

Follow the path from account setup to your first image generation request.

Get started →

API keys and auth

Get an API key, learn request authentication, and keep production keys safe.

Auth guide →

SDKs and examples

Use Python, Node.js, or cURL with OpenAI-compatible request formats.

View SDKs →

Skills are local single-model packages for agent runtimes. They are useful when an agent should call one model directly and save the generated result. GPT Image 2 and HappyHorse 1.0 Video Skills are available for Codex, Claude Code, OpenCode, OpenClaw, and similar agents.

GPT Image 2 Skill

Let an agent call HiAPI gpt-image-2 directly for a fixed text-to-image workflow.

View install guide →

HappyHorse 1.0 Video Skill

Let an agent call HiAPI happyhorse-1-0 directly for a fixed text-to-video workflow.

View install guide →

Connect HiAPI to Claude Desktop, Claude Code, Codex, Cursor, VS Code/GitHub Copilot, Cherry Studio, and other MCP hosts. Add the HiAPI remote URL with your API key, then ask your AI tool to generate images, edit images, create videos, inspect models, or check pricing directly from chat.

Claude Desktop

Add the HiAPI URL and API key in Connectors, then generate images and videos from chat.

Setup guide →

Claude Code (CLI)

Connect HiAPI in Claude Code so your terminal AI assistant can call image and video models.

Setup guide →

Codex

Add HiAPI to Codex CLI or Desktop and generate assets while you work.

Setup guide →

Cursor

Add HiAPI in Cursor Settings → MCP and generate assets while you code.

Setup guide →

VS Code / GitHub Copilot

Connect HiAPI in Copilot Agent Mode so Copilot can call image and video tools.

Setup guide →

Cherry Studio

Add HiAPI in the desktop AI client and generate images or videos through chat.

Setup guide →

Nano Banana series

By Google. Ultra-fast via chat/completions. Best for conversational iteration and batch generation.

View details →

FLUX 1.1 Pro

By Black Forest Labs. Photorealistic output — perfect for ads and product photography.

View details →

GPT Image 1.5 / 2

By OpenAI. Best for text rendering, complex prompts, and layout-heavy posters.

View details →

Qwen Image 2.0

By Alibaba. Best Chinese text rendering, 2K output, cost-effective.

View details →

Seedance series

By ByteDance. 1080P narrative video with native audio. Pro and 1.0 Standard available.

View details →

Kling v3

By Kuaishou. Cinematic short videos with strong motion dynamics.

View details →

Wan 2.7 T2V / I2V

By Alibaba. Supports both text-to-video and image-to-video workflows.

View details →

Image Generation Guide

Both API formats (Images API and Chat Completions), sizes, and prompt tips.

Read guide →

Video Generation Guide

Async polling flow, image-to-video, and complete code examples.

Read guide →

API Endpoints

Image, video, and account endpoints — plus error codes and rate limits.

View API Reference →

If you are building an AI Agent or want LLMs to quickly understand HiAPI, provide these machine-readable resources:

llms.txt

Plaintext API and tool context optimized for LLM context windows.

Open llms.txt →

OpenAPI Spec

Machine-readable OpenAPI 3.0 spec for generated SDKs, Postman, and tool integrations.

View OpenAPI →