Multi-scene composition
start_compositionEstimate, start or retry a multi-scene video composition. Estimate first: action "estimate" returns the credit cost and spends nothing; it needs model and targetDurationSec, and the server answers 400 without them. "start" begins the composition, which needs a prompt. "retry" re-runs a composition by compositionId. Spends Galatic.AI credits. Returns a job id; poll get_job_status with kind "composition".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"context": "<context>"
},
"name": "start_composition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Video model id for the scenes, from list_models. Required for estimate. | |
| action | Yes | estimate: cost only, spends nothing. start: begin a composition. retry: re-run compositionId. | |
| prompt | No | What the composition is about. Required for start. | |
| context | Yes | A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details. | |
| mixMode | No | How narration and music are mixed. | |
| captions | No | Caption settings, passed through to the composition. | |
| costTier | No | Cost tier for the scenes. It sets the price and the maximum duration. | |
| llm_model | No | The model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics. | |
| musicConfig | No | Background music settings for the composition. | |
| videoConfig | No | Scene video settings such as duration, costTier and extendMode ("multi-scene" or "extend"). | |
| voiceConfig | No | Narration voice. provider is one of polly, polly-generative, elevenlabs-clone or skip. | |
| compositionId | No | Required for retry: the id of the composition to re-run. | |
| galleryAssets | No | Library items to use as scene material, passed through as the route expects. | |
| narrationText | No | Narration script, read in the voice set by voiceConfig. | |
| compositionType | No | What kind of piece this is. It decides how the result is filed in the library. | |
| conversation_id | No | The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics. | |
| targetDurationSec | No | Target length of the whole composition, in seconds. Required for estimate. |