[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114541":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":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":15,"rankGlobal":10,"rankLanguage":10,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":10,"pushedAt":30,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":13,"starSnapshotCount":13,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},114541,"vidu-q3-api-cn","aqmyo\u002Fvidu-q3-api-cn","aqmyo","Vidu Q3 API (`viduq3`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-5b77e5",null,"Python",67,0,60,40,"Other",false,"main",true,[21,22,23,24,25,26,27,28,29],"ai-api-gateway","ai-image-api","apimart","image-api","image-editing","image-generation","text-to-image","vidu-q3","vidu-q3-api","2026-10-17 23:19:06","2026-11-15 00:45:59","# Vidu Q3 API (`viduq3`)\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.04 per second** on the APIMart route — 一个 OpenAI 兼容端点 `https:\u002F\u002Fapi.apimart.ai\u002Fv1`，无需包月套餐。*(数据观测于 2026-10-12)*\n\n**[获取 API Key](https:\u002F\u002Fgo.apimart.ai\u002Fk-94790d)** · **[实时价格](https:\u002F\u002Fgo.apimart.ai\u002Fk-4aad07)** · **[模型页面](https:\u002F\u002Fgo.apimart.ai\u002Fk-5b77e5)** · [⚡ 60 秒快速上手](#quickstart)\n\n**为什么团队通过 APIMart 调用 Vidu Q3（`viduq3`）**\n\n- **一个 Key，整个目录。**同一个 `https:\u002F\u002Fapi.apimart.ai\u002Fv1` base URL 和 `Authorization` 请求头即可访问 Vidu Q3（`viduq3`）以及图像、视频、语言等 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\nVidu Q3 offers Pro for cinematic quality and Turbo for fast generation of text-to-video and image-to-video.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `viduq3` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-5b77e5) 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| per generated second | — | see the live pricing page |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-4aad07) 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-5b77e5) 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\":\"viduq3\",\"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\": \"viduq3\", \"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**Vidu Q3 的模型 id 是什么？**\n\n`viduq3`。见上方路由表。\n\n**如何计费？**\n\n**from $0.04 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-94790d) 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: [vidu-q3-prompts-cn](https:\u002F\u002Fgithub.com\u002Faqmyo\u002Fvidu-q3-prompts-cn)\n- **Same model, other languages** — 10 more language builds: English `vidu-q3-api` · Deutsch `vidu-q3-api-de` · Español [vidu-q3-api-es](https:\u002F\u002Fgithub.com\u002Fh42db4h3\u002Fvidu-q3-api-es) · Français [vidu-q3-api-fr](https:\u002F\u002Fgithub.com\u002Fj9f3x8npoen62\u002Fvidu-q3-api-fr) · Relay\u002Fgateway `vidu-q3-api-gateway` · Bahasa `vidu-q3-api-id` · 日本語 [vidu-q3-api-ja](https:\u002F\u002Fgithub.com\u002Ffz3vqrrl\u002Fvidu-q3-api-ja) · 한국어 [vidu-q3-api-ko](https:\u002F\u002Fgithub.com\u002Fhdfvl\u002Fvidu-q3-api-ko) · Português [vidu-q3-api-pt](https:\u002F\u002Fgithub.com\u002Fu4mm9oz95dd\u002Fvidu-q3-api-pt) · Русский [vidu-q3-api-ru](https:\u002F\u002Fgithub.com\u002Fgironig6q9\u002Fvidu-q3-api-ru)\n- **More models in this language** — [midjourney-api-cn](https:\u002F\u002Fgithub.com\u002Fapimartycl6k972t\u002Fmidjourney-api-cn) · [gemini-2-5-flash-image-preview-api-cn](https:\u002F\u002Fgithub.com\u002Fhm-5j\u002Fgemini-2-5-flash-image-preview-api-cn) · [nano-banana-api-cn](https:\u002F\u002Fgithub.com\u002Fmpflv\u002Fnano-banana-api-cn) · [gemini-3-1-flash-image-preview-api-cn](https:\u002F\u002Fgithub.com\u002Futp00\u002Fgemini-3-1-flash-image-preview-api-cn) · [nano-banana-2-api-cn](https:\u002F\u002Fgithub.com\u002Fi3hxnu6\u002Fnano-banana-2-api-cn) · [gemini-3-pro-image-preview-api-cn](https:\u002F\u002Fgithub.com\u002Fvd0tv42d\u002Fgemini-3-pro-image-preview-api-cn)\n- **Topic hubs** — every build of this model, all languages: [vidu-q3](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fvidu-q3) · [vidu-q3-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fvidu-q3-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-5b77e5> | `apimart.ai\u002Fzh\u002Fmodel\u002Fviduq3` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-4aad07> | `apimart.ai\u002Fzh\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-94790d> | `apimart.ai\u002Fzh\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\nVidu Q3 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","这是一个面向 Vidu Q3 视频生成模型的 OpenAI 兼容 API 客户端参考项目，提供模型 ID、实时定价、参数说明及开箱即用的调用示例。核心功能包括：通过统一 APIMart 网关（`https:\u002F\u002Fapi.apimart.ai\u002Fv1`）以标准 OpenAI 格式调用 `viduq3` 模型，支持文本生成视频（T2V）和图像生成视频（I2V），采用原生异步任务模式（提交→轮询），并按生成秒数精确计费（低至 $0.04\u002F秒）、实时返回费用明细。适用于需灵活接入高质量视频生成能力、注重成本可控性与多模型统一管理的 AI 应用开发、内容自动化及原型验证场景。",2,"2026-11-24 04:48:58","CREATED_QUERY"]