[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111804":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":28,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":13,"starSnapshotCount":13,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},111804,"veo-3-1-fast-api","ahxjt\u002Fveo-3-1-fast-api","ahxjt","Veo 3.1 Fast API (`veo3.1-fast`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-7b9f78",null,"Python",57,0,40,"Other",false,"main",true,[20,21,22,23,24,25,26,27,5],"ai-api-gateway","ai-image-api","apimart","image-api","image-editing","image-generation","text-to-image","veo-3-1-fast","2026-10-17 16:51:19","2026-11-04 11:50:15","# Veo 3.1 Fast API (`veo3.1-fast`)\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.064 per second** at 720P (1080P $0.08 · 4K $0.2) — one OpenAI-compatible endpoint at `https:\u002F\u002Fapi.apimart.ai\u002Fv1`, no monthly plan required. *(observed 2026-10-12)*\n\n**[Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-02774f)** · **[Live pricing](https:\u002F\u002Fgo.apimart.ai\u002Fk-0ece37)** · **[Model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-7b9f78)** · [⚡ 60-second quickstart](#quickstart)\n\n**Why teams call Veo 3.1 Fast (`veo3.1-fast`) through APIMart**\n\n- **One key, entire catalog.** The same `https:\u002F\u002Fapi.apimart.ai\u002Fv1` base URL and `Authorization` header reach Veo 3.1 Fast (`veo3.1-fast`) and 300+ other image, video and language models — switch the `model` field, not your client.\n- **$1 minimum, pay as you go.** No subscription and no prepaid plan to size up front: top up from $1 and spend it on calls. There is no free quota to burn through first, so the price in this table is the price you pay.\n- **The charge comes back in the response.** Every call reports the amount billed (`cost` \u002F `credits_cost`), so a spend number is read per call instead of guessed at month end.\n- **Async by design.** Submit, take the `task_id`, poll `GET \u002Fv1\u002Ftasks\u002F{id}` — batching and retries are ordinary queue work, not a bespoke integration.\n\n\u003C!-- \u002Fconv-kit:v1 -->\n\n\n\nVeo 3.1 Fast is the low-latency Google Veo tier, billed per generated second.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `veo3.1-fast` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-7b9f78) 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-0ece37) 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-7b9f78) 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\":\"veo3.1-fast\",\"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\": \"veo3.1-fast\", \"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**What is the Veo 3.1 Fast model id?**\n\n`veo3.1-fast`. See the route table above.\n\n**How is it billed?**\n\n**from $0.064 per second** at 720P (1080P $0.08 · 4K $0.2). The completed task reports the exact amount in its `cost` field; a failed task is refunded.\n\n**How do I get a key?**\n\nUse the [Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-02774f) 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: [veo-3-1-fast-prompts](https:\u002F\u002Fgithub.com\u002Fahxjt\u002Fveo-3-1-fast-prompts)\n- **Same model, other languages** — 10 more language builds: 中文 `veo-3-1-fast-api-cn` · Deutsch `veo-3-1-fast-api-de` · Español `veo-3-1-fast-api-es` · Français [veo-3-1-fast-api-fr](https:\u002F\u002Fgithub.com\u002Fi1oow3\u002Fveo-3-1-fast-api-fr) · Relay\u002Fgateway `veo-3-1-fast-api-gateway` · Bahasa [veo-3-1-fast-api-id](https:\u002F\u002Fgithub.com\u002Fyqfj5gvnod95y\u002Fveo-3-1-fast-api-id) · 日本語 `veo-3-1-fast-api-ja` · 한국어 [veo-3-1-fast-api-ko](https:\u002F\u002Fgithub.com\u002Fpu3sg7jqivve\u002Fveo-3-1-fast-api-ko) · Português [veo-3-1-fast-api-pt](https:\u002F\u002Fgithub.com\u002Fnl8kbbzr4r\u002Fveo-3-1-fast-api-pt) · Русский [veo-3-1-fast-api-ru](https:\u002F\u002Fgithub.com\u002Fru0pi3w\u002Fveo-3-1-fast-api-ru)\n- **More models in this language** — [grok-imagine-1-5-api](https:\u002F\u002Fgithub.com\u002Figu3s5e5x90wx\u002Fgrok-imagine-1-5-api) · [grok-image-api](https:\u002F\u002Fgithub.com\u002Fhpcsd0apt\u002Fgrok-image-api) · [grok-imagine-image-quality-api](https:\u002F\u002Fgithub.com\u002Fxt5chw51l\u002Fgrok-imagine-image-quality-api) · [imagen-4-api](https:\u002F\u002Fgithub.com\u002Flrk0lbrti\u002Fimagen-4-api) · [qwen-image-2-0-pro-api](https:\u002F\u002Fgithub.com\u002Fusen4\u002Fqwen-image-2-0-pro-api) · [seedream-4-0-api](https:\u002F\u002Fgithub.com\u002Fqela34r8sb7\u002Fseedream-4-0-api)\n- **Topic hubs** — every build of this model, all languages: [veo-3-1-fast](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fveo-3-1-fast) · [veo-3-1-fast-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fveo-3-1-fast-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## Attributed links (how this repository is measured)\n\n| Purpose | Attributed link | Target |\n| --- | --- | --- |\n| Model page | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-7b9f78> | `apimart.ai\u002Fmodel\u002Fveo-3-1` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-0ece37> | `apimart.ai\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-02774f> | `apimart.ai\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\nVeo 3.1 Fast 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","这是一个为 Google Veo 3.1 Fast 视频生成模型提供的 OpenAI 兼容 API 封装工具，聚焦于文本\u002F图像到视频的低延迟生成服务。核心功能包括标准化的 REST 接口（支持异步任务提交与轮询）、按生成秒数计费的透明定价（720P起$0.064\u002F秒）、统一 API 网关接入（单密钥调用 300+ 模型）及响应内实时返回扣费金额。技术特点涵盖 OpenAI 兼容协议、APIMart 统一网关集成、无订阅预付费模式和细粒度分辨率控制（480P–4K）。适用于需要快速集成高质量 AI 视频生成功能的原型开发、SaaS 工具增强或批量视频内容生成等轻量级生产场景。",2,"2026-11-24 04:41:49","CREATED_QUERY"]