[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109345":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":14,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":21,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":12,"starSnapshotCount":12,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},109345,"vidu-q4-prompts-ko","apimartex5\u002Fvidu-q4-prompts-ko","apimartex5","Vidu Q4 prompts: tested image prompt recipes with example renders, aspect ratios, the model id (`vidu-q4`) and the cost per image.",null,"Python",79,0,67,12,41.2,"Other",false,"main",true,[],"2026-10-12 12:25:14","2026-11-06 20:22:02","# Vidu Q4 Prompts — 8 Tested Recipes With Outputs\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> **per generated second** for 3–16 s clips, up to 4K — 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-051d48)** · **[Live pricing](https:\u002F\u002Fgo.apimart.ai\u002Fk-a0e7d0)** · **[Model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-326ea0)** · [⚡ 60-second quickstart](#quickstart)\n\n**Why teams call Vidu Q4 (`vidu-q4`) through APIMart**\n\n- **One key, entire catalog.** The same `https:\u002F\u002Fapi.apimart.ai\u002Fv1` base URL and `Authorization` header reach Vidu Q4 (`vidu-q4`) and 300+ other image, video and language models — switch the `model` field, not your client.\n- **Per-second billing.** A job is charged for the seconds it actually generates at the resolution you picked.\n- **The charge comes back in the response.** Every completed task reports the amount billed (`cost` \u002F `credits_cost`); a task marked `failed` is refunded.\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\nVidu Q4 creates 3–16 second videos: animate one first frame or use 1–15 reference images and optional MP3 audio, with output up to 4K.\n\n## Model id and routes\n\n| Route | `model` value | Billing | Notes |\n| --- | --- | --- | --- |\n| Text-to-video \u002F image-to-video | `vidu-q4` | per generated second, by resolution | see the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-326ea0) for the exact tiers |\n\nEndpoint: `POST https:\u002F\u002Fapi.apimart.ai\u002Fv1\u002Fvideos\u002Fgenerations` (OpenAI-compatible), 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-a0e7d0) 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 OpenAI-compatible video endpoint. Check the [model page](https:\u002F\u002Fgo.apimart.ai\u002Fk-326ea0) 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\":\"vidu-q4\",\"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\": \"vidu-q4\", \"prompt\": \"A bamboo forest at sunrise, slow push-in\",\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 Vidu Q4 model id?**\n\n`vidu-q4`. See the route table above.\n\n**How is it billed?**\n\n**per generated second** for 3–16 s clips, up to 4K. 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-051d48) link — $1 minimum top-up, no plan required.\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-326ea0> | `apimart.ai\u002Fko\u002Fmodel\u002Fvidu-q4` |\n| Live pricing | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-a0e7d0> | `apimart.ai\u002Fko\u002Fpricing` |\n| Get an API key | \u003Chttps:\u002F\u002Fgo.apimart.ai\u002Fk-051d48> | `apimart.ai\u002Fko\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 Q4 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 Q4 视频生成模型（model id: vidu-q4）整理的提示词工程实践库，包含 8 套经实测的文本\u002F图像输入提示模板，附带生成效果截图、推荐宽高比、模型标识及每秒生成成本数据。项目聚焦于优化文生视频（T2V）和图生视频（I2V）任务的 prompt 设计，支持 3–16 秒、最高 4K 分辨率的视频生成，并通过 APIMart 的 OpenAI 兼容接口实现按秒计费、异步轮询与统一鉴权。适用于需要快速验证 Vidu-Q4 提示效果、控制生成成本或集成到自动化视频生产流水线的开发者与内容团队。",2,"2026-11-24 04:36:33","CREATED_QUERY"]