[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111294":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},111294,"kling-video-o1-api-ru","am5izcegbhw\u002Fkling-video-o1-api-ru","am5izcegbhw","Клинг — Kling Video O1 API (`kling-video-o1`): model id, pricing, parameters and copy-paste examples for the OpenAI-compatible APIMart endpoint.","https:\u002F\u002Fgo.apimart.ai\u002Fk-3f6ce0",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","image-api","image-editing","image-generation","kling-video-o1","kling-video-o1-api","text-to-image","2026-10-18 01:57:40","2026-11-04 17:27:56","# Kling Video O1 API (`kling-video-o1`)\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.0672 per second** on the APIMart route — одна OpenAI-совместимая конечная точка на `https:\u002F\u002Fapi.apimart.ai\u002Fv1`, ежемесячный тариф не нужен. *(данные на 2026-10-12)*\n\n**[Получить API-ключ](https:\u002F\u002Fgo.apimart.ai\u002Fk-5b3fc4)** · **[Актуальные цены](https:\u002F\u002Fgo.apimart.ai\u002Fk-7a0e36)** · **[Страница модели](https:\u002F\u002Fgo.apimart.ai\u002Fk-3f6ce0)** · [⚡ Быстрый старт за 60 секунд](#quickstart)\n\n**Почему команды используют Kling Video O1 (`kling-video-o1`) через APIMart**\n\n- **Один ключ — весь каталог.** Тот же base URL `https:\u002F\u002Fapi.apimart.ai\u002Fv1` и тот же заголовок `Authorization` дают доступ к Kling Video O1 (`kling-video-o1`) и ещё 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\nKling Video O1 is Kuaishou's flagship AI video model with thinking-driven generation for top visual fidelity.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `kling-video-o1` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-3f6ce0) 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.084 | 0.0672 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-7a0e36) 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-3f6ce0) 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\":\"kling-video-o1\",\"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\": \"kling-video-o1\", \"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**Какой id у модели Kling Video O1?**\n\n`kling-video-o1`. Смотрите таблицу маршрутов выше.\n\n**Как тарифицируется?**\n\n**from $0.0672 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-5b3fc4) 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: [kling-video-o1-prompts-ru](https:\u002F\u002Fgithub.com\u002Fam5izcegbhw\u002Fkling-video-o1-prompts-ru)\n- **Same model, other languages** — 10 more language builds: English [kling-video-o1-api](https:\u002F\u002Fgithub.com\u002Fapimartc8x\u002Fkling-video-o1-api) · 中文 [kling-video-o1-api-cn](https:\u002F\u002Fgithub.com\u002Fapimartcc2w\u002Fkling-video-o1-api-cn) · Deutsch [kling-video-o1-api-de](https:\u002F\u002Fgithub.com\u002Fjb9pe\u002Fkling-video-o1-api-de) · Español `kling-video-o1-api-es` · Français [kling-video-o1-api-fr](https:\u002F\u002Fgithub.com\u002Fapimartce15f\u002Fkling-video-o1-api-fr) · Relay\u002Fgateway `kling-video-o1-api-gateway` · Bahasa [kling-video-o1-api-id](https:\u002F\u002Fgithub.com\u002Fq4g8lf\u002Fkling-video-o1-api-id) · 日本語 [kling-video-o1-api-ja](https:\u002F\u002Fgithub.com\u002Fapimartcetp8omuw\u002Fkling-video-o1-api-ja) · 한국어 [kling-video-o1-api-ko](https:\u002F\u002Fgithub.com\u002Fapimartcgk9repgu\u002Fkling-video-o1-api-ko) · Português [kling-video-o1-api-pt](https:\u002F\u002Fgithub.com\u002Fw89jljf228k3\u002Fkling-video-o1-api-pt)\n- **More models in this language** — [midjourney-api-ru](https:\u002F\u002Fgithub.com\u002Fsfpxvicw\u002Fmidjourney-api-ru) · [gemini-2-5-flash-image-preview-api-ru](https:\u002F\u002Fgithub.com\u002Fzwtdva8\u002Fgemini-2-5-flash-image-preview-api-ru) · [nano-banana-api-ru](https:\u002F\u002Fgithub.com\u002Fggpbi40ss\u002Fnano-banana-api-ru) · [gemini-3-1-flash-image-preview-api-ru](https:\u002F\u002Fgithub.com\u002Flu60av\u002Fgemini-3-1-flash-image-preview-api-ru) · [nano-banana-2-api-ru](https:\u002F\u002Fgithub.com\u002Fjnp3hlry\u002Fnano-banana-2-api-ru) · [gemini-3-pro-image-preview-api-ru](https:\u002F\u002Fgithub.com\u002Fdbxz24\u002Fgemini-3-pro-image-preview-api-ru)\n- **Topic hubs** — every build of this model, all languages: [kling-video-o1](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fkling-video-o1) · [kling-video-o1-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fkling-video-o1-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-3f6ce0> | `apimart.ai\u002Fru\u002Fmodel\u002Fkling-video-o1` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-7a0e36> | `apimart.ai\u002Fru\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-5b3fc4> | `apimart.ai\u002Fru\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\nKling Video O1 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","这是一个为Kling Video O1 AI视频生成模型提供的OpenAI兼容API接入方案，托管在APIMart平台。项目提供标准化的REST接口（\u002Fv1\u002Fvideos\u002Fgenerations）、异步任务管理机制、按生成秒数计费的透明定价（低至0.0672美元\u002F秒），以及统一认证与多模型共用的API网关能力。支持文本生成视频（T2V）和图像生成视频（I2V），适用于需要轻量集成、按需付费、高并发调度的AI视频应用开发场景，如内容创作工具、营销自动化平台或AIGC中台服务。",2,"2026-11-24 04:40:42","CREATED_QUERY"]