[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114942":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":12,"openIssues":11,"contributorsCount":11,"subscribersCount":11,"size":11,"stars1d":11,"stars7d":11,"stars30d":11,"stars90d":11,"forks30d":11,"starsTrendScore":11,"compositeScore":13,"rankGlobal":8,"rankLanguage":8,"license":14,"archived":15,"fork":15,"defaultBranch":16,"hasWiki":17,"hasPages":15,"topics":18,"createdAt":8,"pushedAt":19,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":11,"starSnapshotCount":11,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},114942,"kling-3-turbo-api-pt","cptqm5i\u002Fkling-3-turbo-api-pt","cptqm5i",null,"Python",73,0,58,37,"Other",false,"main",true,[],"2026-10-18 01:33:16","2026-11-16 03:58:40","# Kling 3.0 Turbo API (`kling-3.0-turbo`)\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.1144 per second** on the APIMart route — um único endpoint compatível com OpenAI em `https:\u002F\u002Fapi.apimart.ai\u002Fv1`, sem plano mensal. *(observado em 2026-10-12)*\n\n**[Obter uma chave de API](https:\u002F\u002Fgo.apimart.ai\u002Fk-640bad)** · **[Preços ao vivo](https:\u002F\u002Fgo.apimart.ai\u002Fk-b7fda8)** · **[Página do modelo](https:\u002F\u002Fgo.apimart.ai\u002Fk-c5d86e)** · [⚡ Início rápido em 60 segundos](#quickstart)\n\n**Por que os times usam Kling 3.0 Turbo (`kling-3.0-turbo`) via APIMart**\n\n- **Uma chave, o catálogo inteiro.** A mesma base URL `https:\u002F\u002Fapi.apimart.ai\u002Fv1` e o mesmo cabeçalho `Authorization` alcançam Kling 3.0 Turbo (`kling-3.0-turbo`) e mais de 300 modelos de imagem, vídeo e linguagem — troque o campo `model`, não o seu cliente.\n- **Mínimo de $1, pague conforme o uso.** Sem assinatura e sem plano pré-pago para dimensionar antes: recarregue a partir de $1 e gaste em chamadas.\n- **A cobrança volta na resposta.** Toda tarefa concluída informa o valor cobrado (`cost` \u002F `credits_cost`); uma tarefa marcada como `failed` é reembolsada.\n- **Assíncrono por design.** Envie, pegue o `task_id`, consulte `GET \u002Fv1\u002Ftasks\u002F{id}` — batching e retries são trabalho comum de fila, não uma integração sob medida.\n\n\u003C!-- \u002Fconv-kit:v1 -->\n\n\n\nKling 3.0 Turbo is Kuaishou's speed-optimized Kling AI video model on APIMart, built for an excellent speed-to-quality ratio. Tuned for low-latency production, it supports text-to-video, image-to-video, flexible aspect ratios, and negative prompts.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `kling-3.0-turbo` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-c5d86e) 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.1144 | 0.1144 |\n\n\n\u003C!-- pricing:model:end -->\n\nPrices are a snapshot; the [pricing page](https:\u002F\u002Fgo.apimart.ai\u002Fk-b7fda8) 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-c5d86e) 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-3.0-turbo\",\"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-3.0-turbo\", \"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**Qual é o id do modelo Kling 3.0 Turbo?**\n\n`kling-3.0-turbo`. Veja a tabela de rotas acima.\n\n**Como é a cobrança?**\n\n**from $0.1144 per second** on the APIMart route. A tarefa concluída informa o valor exato no campo `cost`; uma tarefa com falha é reembolsada.\n\n**How do I get a key?**\n\nUse the [Get an API key](https:\u002F\u002Fgo.apimart.ai\u002Fk-640bad) 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-3-turbo-prompts-pt](https:\u002F\u002Fgithub.com\u002Fcptqm5i\u002Fkling-3-turbo-prompts-pt)\n- **Same model, other languages** — 10 more language builds: English [kling-3-turbo-api](https:\u002F\u002Fgithub.com\u002Fc9j7v8uu3c9fs\u002Fkling-3-turbo-api) · 中文 `kling-3-turbo-api-cn` · Deutsch `kling-3-turbo-api-de` · Español `kling-3-turbo-api-es` · Français `kling-3-turbo-api-fr` · Relay\u002Fgateway `kling-3-turbo-api-gateway` · Bahasa [kling-3-turbo-api-id](https:\u002F\u002Fgithub.com\u002Fti43muu1u\u002Fkling-3-turbo-api-id) · 日本語 [kling-3-turbo-api-ja](https:\u002F\u002Fgithub.com\u002Fiq9tpmp3\u002Fkling-3-turbo-api-ja) · 한국어 `kling-3-turbo-api-ko` · Русский [kling-3-turbo-api-ru](https:\u002F\u002Fgithub.com\u002Fugh9gxb\u002Fkling-3-turbo-api-ru)\n- **More models in this language** — [midjourney-api-pt](https:\u002F\u002Fgithub.com\u002Fl-ca0\u002Fmidjourney-api-pt) · [gemini-2-5-flash-image-preview-api-pt](https:\u002F\u002Fgithub.com\u002Fycx8l0\u002Fgemini-2-5-flash-image-preview-api-pt) · [nano-banana-api-pt](https:\u002F\u002Fgithub.com\u002Ferujt71i1lx\u002Fnano-banana-api-pt) · [gemini-3-1-flash-image-preview-api-pt](https:\u002F\u002Fgithub.com\u002Fhutjwux0nt9h\u002Fgemini-3-1-flash-image-preview-api-pt) · [nano-banana-2-api-pt](https:\u002F\u002Fgithub.com\u002Fydkd8kdkl8n\u002Fnano-banana-2-api-pt) · [gemini-3-pro-image-preview-api-pt](https:\u002F\u002Fgithub.com\u002Fqss2d-66qb2n7\u002Fgemini-3-pro-image-preview-api-pt)\n- **Topic hubs** — every build of this model, all languages: [kling-3-turbo](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fkling-3-turbo) · [kling-3-turbo-api](https:\u002F\u002Fgithub.com\u002Ftopics\u002Fkling-3-turbo-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-c5d86e> | `apimart.ai\u002Fpt\u002Fmodel\u002Fkling-3-0-turbo` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-b7fda8> | `apimart.ai\u002Fpt\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-640bad> | `apimart.ai\u002Fpt\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 3.0 Turbo 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 3.0 Turbo API 是一个通过 APIMart 提供的、兼容 OpenAI 接口规范的视频生成服务封装，专为低延迟生产环境优化。核心功能包括文本生成视频（T2V）和图像生成视频（I2V），支持灵活宽高比、负向提示词及异步任务管理（基于 task_id 轮询）。采用按生成秒数计费模式，无需订阅，最小充值1美元，响应中直接返回精确扣费金额。适用于需要快速集成高质量短视频生成能力的 Web 应用、AIGC 工具链或自动化内容平台。",2,"2026-11-24 04:49:51","CREATED_QUERY"]