Skip to main content
GET
Returns every template in the workspace the API key belongs to. Use this to discover template_id values before calling the generate or schema endpoints. Serves both kinds of template. Without type you get video templates, exactly as before; pass type=IMAGE_TEMPLATE to list image templates instead.
string
required
Bearer {api_key}
string
default:"TEMPLATE"
TEMPLATE for video templates, IMAGE_TEMPLATE for image templates. Any other value is a 400. One call returns one kind — there is no “all templates” response, since the two carry different fields.
integer
default:"1"
integer
default:"30"
Capped at 100.

Response fields

string
Reference this in every generate/schema call for the template.
string
Echoes back which kind this response contains — TEMPLATE or IMAGE_TEMPLATE.
string
What a single generation against this template costs. Video templates only — an image template has no stored per-render cost, so the field is absent there. See Get template schema’s credits_per_row instead.
string | null
A downloadable example — null if the template has no variables. Prefer Get template schema for building an actual request; this is a convenience export only.
For the exact variable names and an example request body, call Get template schema with the template_id from this response — passing the same type you used here.
An image template response omits scene_count and estimated_credits — it is built from layers rather than scenes, and its cost depends on its variable count rather than being fixed per render. Those keys are absent, not null.