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

  1. Register: POST /api/v1/auth/register
  2. Create an API Key: POST /api/v1/me/api-keys
  3. Submit generation: POST /api/v1/video/generate
  4. Poll the task: GET /api/v1/task/{task_id}
  5. Download the result: GET /api/v1/result/{task_id}

See Generate Video for a complete example.