[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113823":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":10,"openIssues":11,"contributorsCount":11,"subscribersCount":11,"size":11,"stars1d":11,"stars7d":11,"stars30d":11,"stars90d":11,"forks30d":11,"starsTrendScore":11,"compositeScore":12,"rankGlobal":8,"rankLanguage":8,"license":13,"archived":14,"fork":14,"defaultBranch":15,"hasWiki":16,"hasPages":14,"topics":17,"createdAt":8,"pushedAt":18,"updatedAt":19,"readmeContent":20,"aiSummary":21,"trendingCount":11,"starSnapshotCount":11,"syncStatus":22,"lastSyncTime":23,"discoverSource":24},113823,"wan2-6-api-ja","yj2irpomwngze\u002Fwan2-6-api-ja","yj2irpomwngze",null,"Python",67,0,37,"Other",false,"main",true,[],"2026-10-17 23:31:11","2026-11-14 09:53:40","# Wan 2.6 API (`wan2.6`)\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.05 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-9c9407)** · **[料金](https:\u002F\u002Fgo.apimart.ai\u002Fk-eef2aa)** · **[モデルページ](https:\u002F\u002Fgo.apimart.ai\u002Fk-e22277)** · [⚡ 60秒クイックスタート](#quickstart)\n\n**チームが APIMart 経由で Wan 2.6（`wan2.6`）を使う理由**\n\n- **キー1つでカタログ全体。**同じ `https:\u002F\u002Fapi.apimart.ai\u002Fv1` の base URL と `Authorization` ヘッダーで Wan 2.6（`wan2.6`）と画像・動画・言語モデルなど 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\nWAN 2.6 API on APIMart is the latest generation AI video model, offering superior visual quality, high motion coherence, and professional-grade performance. This page uses model ID wan2.6 for text-to-video and single-image-to-video with one APIMart key.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `wan2.6` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-e22277) 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.0625 | 0.05 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-eef2aa) 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-e22277) 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\":\"wan2.6\",\"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\": \"wan2.6\", \"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**Wan 2.6 のモデル id は何ですか？**\n\n`wan2.6` です。上のルート表を参照してください。\n\n**課金方法は？**\n\n**from $0.05 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-9c9407) 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: [wan2-6-prompts-ja](https:\u002F\u002Fgithub.com\u002Fyj2irpomwngze\u002Fwan2-6-prompts-ja)\n- **Same model, other languages** — 10 more language builds: English `wan2-6-api` · 中文 [wan2-6-api-cn](https:\u002F\u002Fgithub.com\u002Fl27fs-ss\u002Fwan2-6-api-cn) · Deutsch `wan2-6-api-de` · Español `wan2-6-api-es` · Français [wan2-6-api-fr](https:\u002F\u002Fgithub.com\u002Fvey4vsnkf8cc7\u002Fwan2-6-api-fr) · Relay\u002Fgateway `wan2-6-api-gateway` · Bahasa [wan2-6-api-id](https:\u002F\u002Fgithub.com\u002Fmex-j0b6mc2\u002Fwan2-6-api-id) · 한국어 `wan2-6-api-ko` · Português [wan2-6-api-pt](https:\u002F\u002Fgithub.com\u002Fvyieyq6c2y\u002Fwan2-6-api-pt) · Русский [wan2-6-api-ru](https:\u002F\u002Fgithub.com\u002Fi1l2v0s554yja\u002Fwan2-6-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: [wan2-6](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan2-6) · [wan2-6-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan2-6-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-e22277> | `apimart.ai\u002Fja\u002Fmodel\u002Fwan-2-6` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-eef2aa> | `apimart.ai\u002Fja\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-9c9407> | `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\nWan 2.6 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","Wan 2.6 API 是一个基于 APIMart 平台提供的文本\u002F图像到视频生成服务，支持 OpenAI 兼容接口调用。核心功能包括高质量、高运动连贯性的短视频生成（最长数秒），支持分辨率选择（480P\u002F720P\u002F1080P）、时长控制、种子复现及多图参考输入；采用异步任务模型（提交后轮询 task_id），按生成秒数实时计费，无需订阅或预付费。适用于需要轻量接入、按需调用专业级视频生成能力的场景，如营销素材快速制作、AIGC 原型验证、多媒体内容自动化生产等。",2,"2026-11-24 04:47:07","CREATED_QUERY"]