Tencent Mingmou · Video
Image / First-Last Frame VideoNEW
📌 What is this:Given a first-frame image (optionally a last frame too), generate a video that starts from the first frame and transitions toward the last.
💡 When to use:Use to animate an image or to precisely control the opening / closing frames. The aspect ratio follows the first frame; aspectRatio is ignored.
Endpoints
| Usage | Method | Path |
|---|---|---|
| Submit task | POST | /api/cqt/generator/mingmou |
| Query Result | GET | /api/cqt/info/mingmou?id={taskId} |
⏱ Recommended polling interval:Generation takes ~1-3 min; poll every 10-15s until status = succeeded / failed.
Sub-models
Sub-models that support this mode. The tiers column is credits/sec (generateAudio → = audio tier, videoUrls → = with-reference-video tier). Resolutions / durations not listed are rejected at submit (no charge).
| model | Usage | Materials | Duration (sec) | Tier price (credits/sec) |
|---|---|---|---|---|
| mingmou-1.0 | Mingmou 1.0 (5 s only for now) | 1 first frame + ≤1 last frame | 5 | 720P=30 / 1080P=50 / 2K=75 / 4K=112 |
Request Parameters
| Param | Type | Required | Description |
|---|---|---|---|
| model | string | Required | Sub-model: mingmou-1.0 (see the sub-model table below) |
| prompt | string | — | Video description (optional; materials can drive generation) |
| firstFrameUrl | string | Required | First-frame image URL (publicly reachable); cannot be combined with imageUrls / videoUrls |
| lastFrameUrl | string | — | Last-frame image URL (optional; requires firstFrameUrl, produces a first-to-last transition) |
| negativePrompt | string | — | Negative prompt (optional) |
| duration | integer | — | Duration (sec), range depends on the sub-model (see table), default 5 |
| resolution | string | — | 540P / 720P / 1080P / 2K / 4K (available tiers depend on the sub-model), default 720P (or the lowest tier if 720P is unavailable); 2K / 4K are upscaled |
| enhancePrompt | boolean | — | Whether to auto-enhance the prompt (optional) |
| seed | integer | — | Random seed (optional) |
| returnFirstFrame / returnLastFrame / returnFrameAtSecond | boolean / boolean / number | — | Also return the first / last / given-second frame image of the result video (optional), 1 credit per frame |
Request Example
curl -X POST https://api.cqtai.com/api/cqt/generator/mingmou \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"model": "mingmou-1.0",
"prompt": "she slowly turns around and smiles as the rain keeps falling, camera pushes in",
"duration": 5,
"resolution": "720P",
"firstFrameUrl": "https://cdn.novapi.ai/kling/1791949942892_d18ee23dfa3048e097c58c9c3e32a754.png",
"lastFrameUrl": "https://cdn.novapi.ai/kling/1791949946650_d122fd1bfaca4f958ddf999a82ff1f85.png"
}'
# -> { "code":200, "data":"<taskId>" }Response Example
{
"code": 200,
"msg": "success",
"data": {
"id": "e794aac26c2540b693ed94f184f85542",
"resultUrl": "https://cdn.novapi.ai/mingmou/1791950089717_dea0ec9c54eb479290c2857e4bb0ce4b.mp4",
"status": "succeeded",
"errorMsg": null,
"createTime": "2026-10-14 11:53:19",
"completeTime": "2026-10-14 11:54:50"
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| code | number | Status code; 200 means success |
| msg | string | Status message; "success" on success |
| data.id | string | Task ID (taskId); use it to poll GET /api/cqt/info |
| data.status | string | Task status: succeeded / failed / otherwise still processing |
| data.resultUrl | string | URL of the generated video; returned when status = succeeded, null otherwise |
| data.errorMsg | string | null | Failure reason; null on success |
| data.createTime | string | Task creation time |
| data.completeTime | string | null | Task completion time; null until finished |