Skip to main content
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..."
}

Overview

Expands a simple video prompt into a detailed, cinematic description. This is a synchronous operation that returns the expanded prompt directly — no task polling required. Use this to improve your video generation results by converting short prompts into rich, descriptive scenes.

Example

Input:
a group of pigs flying in the sky
Output:
## Living Diorama Scene: Swine Ascent

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

Authorizations

Authorization
string
header
required

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

Body

application/json
prompt
string
required

Original prompt to expand

Example:

"a group of pigs flying in the sky"

Response

originalPrompt
string
required

Original prompt

Example:

"a group of pigs flying in the sky"

expandedPrompt
string
required

Expanded cinematic prompt

Example:

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