跳转到主要内容
POST
/
gemini
/
video
/
prompt
/
expand
Expand video prompt
curl --request POST \
  --url https://api.mountsea.ai/gemini/video/prompt/expand \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "a group of pigs flying in the sky"
}
'
{
  "originalPrompt": "a group of pigs flying in the sky",
  "expandedPrompt": "## Living Diorama Scene: Swine Ascent\n\n**Scene:** A trio of miniature pigs..."
}

概述

将简短的视频提示词扩展为详细的电影级描述。这是一个同步操作,直接返回扩展后的提示词 — 无需任务轮询。 使用此功能可以将简短提示词转换为丰富的场景描述,从而改善视频生成效果。

示例

输入:
a group of pigs flying in the sky
输出:
## Living Diorama Scene: Swine Ascent

**Scene:** A trio of miniature pigs soar gracefully through a vast,
sun-drenched sky filled with fluffy cumulus clouds...

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
prompt
string
必填

Original prompt to expand

示例:

"a group of pigs flying in the sky"

响应

originalPrompt
string
必填

Original prompt

示例:

"a group of pigs flying in the sky"

expandedPrompt
string
必填

Expanded cinematic prompt

示例:

"## Living Diorama Scene: Swine Ascent\n\n**Scene:** A trio of miniature pigs..."