VIDEITS
Templates

Update a template

PATCH /api/v1/templates/{template_id}

Update an existing template. Include `folder_mappings` to replace its folder mappings entirely.

Authentication

Send your API key in the Authorization header: Authorization: Bearer <key>. Create a key.

Path parameters

NameTypeDescription
template_id required integer ID of the template to update.

Body parameters

NameTypeDescription
name string
prompt string
model string Video model (gen4.5, gen4_turbo, veo3, veo3.1, veo3.1_fast, seedance2, seedance2_fast, seedance2_mini, happyhorse_1_0, gemini_omni_flash). gen4_turbo requires an image.
ratio string Aspect ratio, e.g. 1280:720.
duration integer Duration in seconds (model-dependent; defaults to 8 for chat/MCP generation).
include_audio boolean Include audio (Veo 3.1 and Seedance models only).
folder_mappings array