Create Video
create_videoGenerate a short video from a prompt and/or a start image with one of StockCake's video models (list_models). Priced per second of output; needs a plan. Video usually takes longer than 45 s: expect a pending result and poll get_job. Requires a free StockCake account (the host will prompt to sign in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Tier key from list_models (e.g. 720p, 1080p, 720p-audio) | |
| model | No | Video model id from list_models (default: Veo 3.1 Fast) | |
| prompt | No | Required unless start_image is given | |
| context | Yes | In one sentence, what is the user trying to make or find? | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| start_image | No | Animate from this image (stock id or your edited image id) | |
| aspect_ratio | No | Text-to-video only; a start image sets the ratio | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. | |
| negative_prompt | No | ||
| duration_seconds | No | Clip length; must be one of the model's durations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||