> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# HappyHorse API - 通过 AIsa 访问 HappyHorse 视频模型

> HappyHorse 视频生成模型 ID 和端点指南：文生视频、图生视频和参考图生视频。

AIsa 用一个 API Key 接入 HappyHorse 的视频生成模型。模型 ID 的后缀表示输入方式：`t2v` 是文生视频，`i2v` 是图生视频，`r2v` 是参考图生视频。

视频生成是异步任务。先提交到 `POST /v1/video/generations`，再轮询 `GET /v1/video/generations/{task_id}`，直到任务完成。见[查询视频生成任务](https://aisa.one/docs/zh/api-reference/media-generation/retrieveVideoGeneration.md)。

## 支持的 HappyHorse 模型

| 模型 ID | 类型 | 端点 | 适合 |
| - | - | - | - |
| `happyhorse-1.1-i2v` | 视频 | `/v1/video/generations` | 图生视频 |
| `happyhorse-1.1-r2v` | 视频 | `/v1/video/generations` | 参考图生视频 |
| `happyhorse-1.1-t2v` | 视频 | `/v1/video/generations` | 文生视频 |

这些模型的当前价格见 [aisa.one/models](https://aisa.one/models)。

## 下一步

* [模型目录](https://aisa.one/docs/zh/guides/models.md)
* [AI 模型价格](https://aisa.one/docs/zh/guides/pricing.md#模型)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.