[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108196":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":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":15,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":16,"rankGlobal":10,"rankLanguage":10,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":13,"starSnapshotCount":13,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},108196,"wan-2-7-r2v-api-ja","ap6rg\u002Fwan-2-7-r2v-api-ja","ap6rg","通義万相 — Wan 2.7 R2V API (`wan2.7-r2v`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-e11e78",null,"Python",62,0,61,1,40.1,"Other",false,"main",true,[22,23,24,25,26,27,28,29,30],"ai-api-gateway","ai-image-api","apimart","image-api","image-editing","image-generation","text-to-image","wan-2-7-r2v","wan-2-7-r2v-api","2026-10-17 11:59:30","2026-11-04 16:14:52","# Wan 2.7 R2V API (`wan2.7-r2v`)\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.0664 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-d9e6db)** · **[料金](https:\u002F\u002Fgo.apimart.ai\u002Fk-acfd03)** · **[モデルページ](https:\u002F\u002Fgo.apimart.ai\u002Fk-e11e78)** · [⚡ 60秒クイックスタート](#quickstart)\n\n**チームが APIMart 経由で Wan 2.7 R2V（`wan2.7-r2v`）を使う理由**\n\n- **キー1つでカタログ全体。**同じ `https:\u002F\u002Fapi.apimart.ai\u002Fv1` の base URL と `Authorization` ヘッダーで Wan 2.7 R2V（`wan2.7-r2v`）と画像・動画・言語モデルなど 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.7 R2V API on APIMart is the latest generation AI video model, offering superior visual quality, high motion coherence, and professional-grade performance. Use wan2.7-r2v with a prompt and reference images or videos to control style and characters; up to five image and video references can be combined.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `wan2.7-r2v` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-e11e78) 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.083 | 0.0664 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-acfd03) 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-e11e78) 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.7-r2v\",\"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.7-r2v\", \"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.7 R2V のモデル id は何ですか？**\n\n`wan2.7-r2v` です。上のルート表を参照してください。\n\n**課金方法は？**\n\n**from $0.0664 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-d9e6db) 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: [wan-2-7-r2v-prompts-ja](https:\u002F\u002Fgithub.com\u002Fap6rg\u002Fwan-2-7-r2v-prompts-ja)\n- **Same model, other languages** — 10 more language builds: English `wan-2-7-r2v-api` · 中文 `wan-2-7-r2v-api-cn` · Deutsch [wan-2-7-r2v-api-de](https:\u002F\u002Fgithub.com\u002Fffn-o3s\u002Fwan-2-7-r2v-api-de) · Español [wan-2-7-r2v-api-es](https:\u002F\u002Fgithub.com\u002Fj4mcxueyfsi\u002Fwan-2-7-r2v-api-es) · Français `wan-2-7-r2v-api-fr` · Relay\u002Fgateway [wan-2-7-r2v-api-gateway](https:\u002F\u002Fgithub.com\u002Fmkk8f7hh\u002Fwan-2-7-r2v-api-gateway) · Bahasa [wan-2-7-r2v-api-id](https:\u002F\u002Fgithub.com\u002Fmdhmu6vfch\u002Fwan-2-7-r2v-api-id) · 한국어 `wan-2-7-r2v-api-ko` · Português [wan-2-7-r2v-api-pt](https:\u002F\u002Fgithub.com\u002Fqgupf\u002Fwan-2-7-r2v-api-pt) · Русский [wan-2-7-r2v-api-ru](https:\u002F\u002Fgithub.com\u002Fyesjbbz38yev4\u002Fwan-2-7-r2v-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: [wan-2-7-r2v](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan-2-7-r2v) · [wan-2-7-r2v-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fwan-2-7-r2v-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-e11e78> | `apimart.ai\u002Fja\u002Fmodel\u002Fwan-2-7-r2v` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-acfd03> | `apimart.ai\u002Fja\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-d9e6db> | `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.7 R2V 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.7 R2V 视频生成模型提供的 OpenAI 兼容 API 接口封装项目，聚焦于文本\u002F图像到视频（T2V\u002FI2V）的调用标准化。核心功能包括统一 endpoint（\u002Fv1\u002Fvideos\u002Fgenerations）、按生成秒数计费、支持多参考图\u002F视频控制风格与角色、异步任务轮询机制，以及与 APIMart 平台其他 300+ AI 模型共享认证与路由。技术特点是轻量级 Python 集成、无需订阅、最低 $1 起充、响应中直接返回精确费用与信用消耗。适用于需要灵活接入高质量 AI 视频生成能力的原型开发、内容自动化、营销素材批量生产等场景。",2,"2026-11-24 04:33:50","CREATED_QUERY"]