clone_template
Clone a template into a real video generation. SPENDS CREDITS. Returns a job id immediately; call get_generation to follow it. The job completes even if nothing polls it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avatar | No | Presenter. Omit to keep the template's own. | |
| intent | No | Short description of what the user wants, max 200 chars. NOT a prompt — the server assembles the final prompt. | |
| run_id | No | Optional. Your id for this agent run (1–64 of A-Z a-z 0-9 . _ : -). Stored on every job of the run so they can be found and filed together later. Use the same value for every call of one run. | |
| product | No | Product to advertise. Omit to keep the template's own product. | |
| project | No | Optional. A Drama Studio film id in the workspace being charged: the finished generation is added to that film's media pool (videos on its timeline, images/audio as references). Workspace generations only; checked before any credit is spent. | |
| quality | No | Quality tier. Model ids are server-owned and never accepted here. | |
| overrides | No | Only set these to DELIBERATELY deviate from the template. Leaving them out is what makes it a faithful clone — the template decides aspect and duration. | |
| workspace | No | Optional. The workspace to generate in. Only a workspace API key (Settings → Developer) can spend a workspace — this may only repeat that key's workspace id; omit it and the key's own scope is used. A personal key or a sign-in token stays personal (passing a workspace is refused). | |
| templateId | Yes |