[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113441":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":12,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":14,"rankGlobal":10,"rankLanguage":10,"license":15,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":10,"pushedAt":29,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":13,"starSnapshotCount":13,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},113441,"happyhorse-1-0-api-ja","wkkxxfwfp5fnt\u002Fhappyhorse-1-0-api-ja","wkkxxfwfp5fnt","HappyHorse 1.0 API (`happyhorse-1.0`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-667763",null,"Python",60,0,40,"Other",false,"main",true,[20,21,22,23,24,25,26,27,28],"ai-api-gateway","ai-image-api","apimart","happyhorse-1-0","happyhorse-1-0-api","image-api","image-editing","image-generation","text-to-image","2026-10-18 09:42:18","2026-11-14 02:40:46","# HappyHorse 1.0 API (`happyhorse-1.0`)\n\n\u003C!-- conv-kit:v1 -->\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbadges\u002Fprice.svg\" alt=\"observed unit price\"> \u003Cimg src=\"assets\u002Fbadges\u002Fbilling.svg\" alt=\"billing model\"> \u003Cimg src=\"assets\u002Fbadges\u002Fcompat.svg\" alt=\"OpenAI-compatible endpoint\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002F01-product-ad-ceramic-mug-thumb.jpg\" width=\"820\" alt=\"Sample video frame generated through APIMart\">\n\u003C\u002Fp>\n\n> **from $0.13 per second** on the APIMart route — `https:\u002F\u002Fapi.apimart.ai\u002Fv1` の OpenAI 互換エンドポイント1つだけ、月額プランは不要です。*(2026-10-12 時点)*\n\n**[APIキー](https:\u002F\u002Fgo.apimart.ai\u002Fk-9b5102)** · **[料金](https:\u002F\u002Fgo.apimart.ai\u002Fk-a78cc2)** · **[モデルページ](https:\u002F\u002Fgo.apimart.ai\u002Fk-667763)** · [⚡ 60秒クイックスタート](#quickstart)\n\n**チームが APIMart 経由で HappyHorse 1.0（`happyhorse-1.0`）を使う理由**\n\n- **キー1つでカタログ全体。**同じ `https:\u002F\u002Fapi.apimart.ai\u002Fv1` の base URL と `Authorization` ヘッダーで HappyHorse 1.0（`happyhorse-1.0`）と画像・動画・言語モデルなど 300+ のモデルにアクセスできます。切り替えるのは `model` フィールドだけで、クライアント側の変更は不要です。\n- **最低 $1 から、従量課金。**サブスクリプションも、事前に規模を見積もるプリペイドプランもありません。$1 からチャージして、呼び出した分だけ使えます。\n- **課金内容はレスポンスで返ります。**完了したタスクはすべて請求額（`cost` \u002F `credits_cost`）を報告し、`failed` になったタスクは返金されます。\n- **非同期前提の設計。**送信して `task_id` を受け取り、`GET \u002Fv1\u002Ftasks\u002F{id}` をポーリングするだけ。バッチ処理もリトライも特別な統合ではなく、普通のキュー処理です。\n\n\u003C!-- \u002Fconv-kit:v1 -->\n\n\n\nHappyHorse 1.0 is Alibaba ATH-AI's unified multimodal video model, available on APIMart as the HappyHorse API. It generates 1080p video with synchronized native audio in a single forward pass, supports 7-language lip-sync, and ranks #1 on Artificial Analysis text-to-video and image-to-video leaderboards. Also written as Happy Horse 1.0, this HappyHorse AI video model supports text-to-video, first-frame and reference-image generation, and source-video editing on this page.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `happyhorse-1.0` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-667763) for the exact tiers |\n\nEndpoint: `POST https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fvideos\u002Fgenerations`, then poll `GET \u002Fv1\u002Ftasks\u002F{task_id}`.\n\n## Pricing\n\n\u003C!-- pricing:model:start -->\n| Resolution | List price | Effective price |\n| --- | --- | --- |\n| default | 0.2875 | 0.23 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-a78cc2) and [`data\u002Fmodel.json`](data\u002Fmodel.json) are refreshed by CI, and a completed task reports the exact amount in its `cost` field.\n\n## Request parameters\n\n| Field | Type | Default | Notes |\n| --- | --- | --- | --- |\n| `model` | string | required | the model id shown in the route table above |\n| `prompt` | string | required | the shot description; camera and subject motion belong here |\n| `duration` | integer | route default | clip length in seconds — billing is per generated second |\n| `resolution` | string | route default | 480P \u002F 720P \u002F 1080P or the route’s own tiers |\n| `size` \u002F `aspect_ratio` | string | `16:9` | output framing |\n| `image_urls` | string[] | — | first frame, first + last frame, or style references, where supported |\n| `seed` | integer | — | fix the seed to reproduce a take |\n\nThe table lists the fields accepted by the APIMart `videos\u002Fgenerations` endpoint. Check the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-667763) for anything this model adds on top.\n\n## Quickstart\n\n```bash\ncurl --request POST --url https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fvideos\u002Fgenerations \\\n  --header \"Authorization: Bearer $APIMART_API_KEY\" --header 'Content-Type: application\u002Fjson' \\\n  -d '{\"model\":\"happyhorse-1.0\",\"prompt\":\"A bamboo forest at sunrise, slow push-in\",\"duration\":5,\"resolution\":\"720P\",\"size\":\"16:9\"}'\n```\n\n```python\nimport os, time, requests\n\nBASE = \"https:\u002F\u002Fapi.apimart.ai\u002Fv1\"\nHEADERS = {\"Authorization\": f\"Bearer {os.environ['APIMART_API_KEY']}\", \"Content-Type\": \"application\u002Fjson\"}\n\ncreated = requests.post(f\"{BASE}\u002Fvideos\u002Fgenerations\", headers=HEADERS, timeout=60, json={\n    \"model\": \"happyhorse-1.0\", \"prompt\": \"A bamboo forest at sunrise, slow push-in\", \"duration\": 5,\n}).json()\ntask_id = created[\"data\"][\"id\"]\n\nwhile True:\n    task = requests.get(f\"{BASE}\u002Ftasks\u002F{task_id}\", headers=HEADERS, timeout=60).json()[\"data\"]\n    if task[\"status\"] in (\"completed\", \"failed\"):\n        break\n    time.sleep(5)\nprint(task.get(\"cost\"), task[\"result\"][\"videos\"][0][\"url\"])\n```\n\nRunnable versions: [`examples\u002F`](examples). The task lifecycle is `pending → processing → completed | failed`.\n\n## FAQ\n\n**HappyHorse 1.0 のモデル id は何ですか？**\n\n`happyhorse-1.0` です。上のルート表を参照してください。\n\n**課金方法は？**\n\n**from $0.13 per second** on the APIMart route。完了したタスクは `cost` フィールドに正確な金額を報告し、失敗したタスクは返金されます。\n\n**How do I get a key?**\n\nUse the [Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-9b5102) link — $1 minimum top-up, no plan required.\n\n\u003C!-- related-repos:auto -->\n## Related repositories\n\n- **Same model, this language** — the other half of this pair: [happyhorse-1-0-prompts-ja](https:\u002F\u002Fgithub.com\u002Fwkkxxfwfp5fnt\u002Fhappyhorse-1-0-prompts-ja)\n- **Same model, other languages** — 10 more language builds: English [happyhorse-1-0-api](https:\u002F\u002Fgithub.com\u002Fzy8pb3bmdgivh\u002Fhappyhorse-1-0-api) · 中文 [happyhorse-1-0-api-cn](https:\u002F\u002Fgithub.com\u002Fbww0g\u002Fhappyhorse-1-0-api-cn) · Deutsch [happyhorse-1-0-api-de](https:\u002F\u002Fgithub.com\u002Fb2u6wu2ixbbe3o\u002Fhappyhorse-1-0-api-de) · Español [happyhorse-1-0-api-es](https:\u002F\u002Fgithub.com\u002Fss43crt6l\u002Fhappyhorse-1-0-api-es) · Français `happyhorse-1-0-api-fr` · Relay\u002Fgateway `happyhorse-1-0-api-gateway` · Bahasa [happyhorse-1-0-api-id](https:\u002F\u002Fgithub.com\u002Fii7bv00\u002Fhappyhorse-1-0-api-id) · 한국어 [happyhorse-1-0-api-ko](https:\u002F\u002Fgithub.com\u002Frhsc0i4\u002Fhappyhorse-1-0-api-ko) · Português [happyhorse-1-0-api-pt](https:\u002F\u002Fgithub.com\u002Fv7vfz\u002Fhappyhorse-1-0-api-pt) · Русский [happyhorse-1-0-api-ru](https:\u002F\u002Fgithub.com\u002Fkzt1bj1k2h\u002Fhappyhorse-1-0-api-ru)\n- **More models in this language** — [midjourney-api-ja](https:\u002F\u002Fgithub.com\u002Fapimartt1q\u002Fmidjourney-api-ja) · [gemini-2-5-flash-image-preview-api-ja](https:\u002F\u002Fgithub.com\u002Fic7skkh\u002Fgemini-2-5-flash-image-preview-api-ja) · [nano-banana-api-ja](https:\u002F\u002Fgithub.com\u002Fe4ylndl3g-v\u002Fnano-banana-api-ja) · [gemini-3-1-flash-image-preview-api-ja](https:\u002F\u002Fgithub.com\u002Fgv4ju\u002Fgemini-3-1-flash-image-preview-api-ja) · [nano-banana-2-api-ja](https:\u002F\u002Fgithub.com\u002Flpbxkrzbfel\u002Fnano-banana-2-api-ja) · [gemini-3-pro-image-preview-api-ja](https:\u002F\u002Fgithub.com\u002Fzzsxs8r\u002Fgemini-3-pro-image-preview-api-ja)\n- **Topic hubs** — every build of this model, all languages: [happyhorse-1-0](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fhappyhorse-1-0) · [happyhorse-1-0-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fhappyhorse-1-0-api)\n\nThis repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.\n\u003C!-- \u002Frelated-repos:auto -->\n\n## Attributed links (how this repository is measured)\n\n| Purpose | Attributed link | Target |\n| --- | --- | --- |\n| Model page | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-667763> | `apimart.ai\u002Fja\u002Fmodel\u002Fhappyhorse-1-0` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-a78cc2> | `apimart.ai\u002Fja\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-9b5102> | `apimart.ai\u002Fja\u002Fkeys` |\n\nOutbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by\n`tools\u002Fcheck_links.py` in CI.\n\n## Disclosure\n\nHappyHorse 1.0 is a third-party model served through APIMart; this repository documents how to call it and publishes\nmodel ids and prices, and does not claim official status. Model names, prices and documentation belong to their\nrespective owners.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","HappyHorse 1.0 API 是一个基于 APIMart 平台提供的 OpenAI 兼容接口，用于调用阿里巴巴 ATH-AI 研发的多模态视频生成模型。核心功能包括文本到视频、图像到视频及参考帧视频编辑，支持 1080p 分辨率、原生音频同步与 7 种语言唇形同步；采用统一 endpoint（\u002Fv1\u002Fvideos\u002Fgenerations）和 model 字段切换，按生成秒数实时计费，具备非同步任务轮询、自动费用反馈与失败退款机制。适用于需要灵活接入高质量视频生成能力的 AI 应用开发、内容创作工具集成及轻量级 SaaS 服务构建场景。",2,"2026-11-24 04:45:54","CREATED_QUERY"]