Kuaishou Kling 4.0 Video Generate
3 秒起,最低 565.2 积分
ae_kuaishou_kling_4_0_video_generate
Kling 4.0 文生视频。
3 秒起,最低 565.2 积分
价格说明
| 条件 | 费用 |
|---|---|
| 720p | 188.4积分/秒 |
| 1080p | 282积分/秒 |
按所选档位及计费规则收费。
未填时长时按 5 秒计算。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.prompt | string | 是 | The positive prompt for the generation. | — |
request_body.duration | enum (3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30) | 否 | The duration of the generated video in seconds (3-30). | 5 |
request_body.resolution | enum (720p | 1080p) | 否 | Output resolution. | 720p |
request_body.aspect_ratio | enum (16:9 | 9:16 | 1:1 | 21:9) | 否 | The aspect ratio of the generated video. | 16:9 |
调用示例
提交任务并查询完成结果
POST
/agent-api/v1/tool/executeX-Api-Key先提交任务,再用返回的 task_id 查询,直至完成。
请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_kuaishou_kling_4_0_video_generate' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"aspect_ratio": "1:1",
"duration": 8,
"prompt": "Cinematic vertical video, a young East Asian woman in her early twenties, delicate features, fair luminous skin, long black hair loosely draped, wearing a flowing translucent silk robe that catches the light. Setting: an opulent palace chamber with tall windows, warm golden light filtering through layers of sheer gauze curtains that billow softly.\n\nThe sequence unfolds as a meditative emotional arc:\nShe stands in profile near a window, golden light wrapping around her silhouette. Her hand rises slowly, fingers trailing gently down her own forearm, a gesture of quiet self-awareness. She turns her head toward the light, eyes closing as if bathing in warmth. A soft contented smile plays on her lips. The camera slowly orbits around her, silk robe rippling, fabric shimmering as light passes through.\n\nHer eyes open and look toward the camera. Her fingertips brush her own cheek, tracing the curve of her jawline with wonder. The expression transforms subtly from contentment to something more radiant, as if a long-held weight has lifted. A genuine luminous smile breaks across her face. The camera pushes in for an intimate close-up, capturing the light in her eyes.\n\nShe lifts a strand of hair and lets it fall, then steps slowly backward to the hall center, arms rising slightly at her sides, palms open upward. The fabric of her robe slips slightly, revealing the graceful line of her neck. Gauze curtains swirl gently around her. The camera pulls back and rises, revealing the full palace grandeur. She tilts her face up toward cascading golden light. The light envelops her completely. She stands serene and whole, profoundly fulfilled.\n\nThroughout: extremely shallow depth of field, soft bokeh, warm amber color grading, film grain, 35mm anamorphic look, slow deliberate camera movements, focus breathing, intimate close-ups intercut with medium shots. Mood: reverent, tender, transformative, quietly euphoric.",
"resolution": "720p"
}
}
}'返回示例response.json
{
"description": "task accepted; poll the result via query_tool with this task_id",
"query_tool": "ae_get_result",
"status": "created",
"task_id": "c0046668-5025-47de-955e-1caf57827e4c"
}返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

