captions.js
API ReferenceFunctions

renderStylePreset()

function renderStylePreset(
   stylePreset, 
   size, 
   frames, 
   text?
): Promise<string[]>;

Parameters

ParameterTypeDefault value
stylePresetStylePresetundefined
size[number, number]undefined
framesnumber[]undefined
textstring"Hello World"

Returns

Promise<string[]>

For AI agents and LLMs: this page as Markdown · llms.txt · all docs in one file

On this page