H3Hub is an AI video generation platform. This documentation is for external developers building automation workflows and for AI agents such as Claude Code and Codex.
Base URL
| Environment | URL |
|---|---|
| Production | https://api.h3hub.cn |
| Local | http://localhost:8001 |
All request paths start with /api/v1.
Core Concepts
- Task: a video generation request with status
queued → running → completed | failed. - Work: a completed task published to the community, with moderation status
pending / published / rejected. - API Key: a secret starting with
h3k_used for server-to-server calls.
Quick Start
- Register:
POST /api/v1/auth/register - Create an API Key:
POST /api/v1/me/api-keys - Submit generation:
POST /api/v1/video/generate - Poll the task:
GET /api/v1/task/{task_id} - Download the result:
GET /api/v1/result/{task_id}
See Generate Video for a complete example.