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
output_type string Output type: video (default) or image.
model string Video models: gen4.5, gen4_turbo, veo3, veo3.1, veo3.1_fast, seedance2, seedance2_fast, seedance2_mini, happyhorse_1_0, gemini_omni_flash. Image models: gen4_image, gen4_image_turbo, gemini_2.5_flash. gen4_turbo requires an input image for video.
ratio string Aspect ratio, e.g. 1280:720 or 1920:1080.
duration integer Duration in seconds for video (model-dependent).
include_audio boolean Include audio (Veo 3.1 and Seedance video models only).
output_count integer Number of images to generate (1 or 4; image templates only).
reference_tag string Reference tag for image templates using folder watch (use @tag in prompt).
folder_mappings array