Skip to main content

@twick/studio - v0.15.0 / Exports / StudioConfig

Interface: StudioConfig

Hierarchy

  • VideoEditorConfig

    StudioConfig

Table of contents

Properties

Properties

canvasConfig

Optional canvasConfig: CanvasConfig

Canvas behavior options (e.g. enableShiftAxisLock). Same as editorConfig.canvasConfig in TwickEditor.

Overrides

VideoEditorConfig.canvasConfig

Defined in

studio/src/types/index.ts:129


captionGenerationService

Optional captionGenerationService: ICaptionGenerationService

Caption generation service for polling-based async caption generation Implement this in your application code to provide API endpoints

Defined in

studio/src/types/index.ts:136


customPanels

Optional customPanels: Record<string, ComponentType<PanelProps>>

Custom panel renderers keyed by tool id.

Defined in

studio/src/types/index.ts:158


customTools

Optional customTools: ToolCategory[]

Extra tool definitions injected into the left toolbar.

Defined in

studio/src/types/index.ts:154


exportVideo

Optional exportVideo: (project: ProjectJSON, videoSettings: VideoSettings) => Promise<Result>

Type declaration

▸ (project, videoSettings): Promise<Result>

Parameters
NameType
projectProjectJSON
videoSettingsVideoSettings
Returns

Promise<Result>

Defined in

studio/src/types/index.ts:147


hiddenTools

Optional hiddenTools: string[]

Tool ids that should be hidden from the default toolbar.

Defined in

studio/src/types/index.ts:156


imageGenerationService

Optional imageGenerationService: IImageGenerationService

Image generation service for polling-based async image generation

Defined in

studio/src/types/index.ts:138


loadProject

Optional loadProject: () => Promise<ProjectJSON>

Type declaration

▸ (): Promise<ProjectJSON>

Returns

Promise<ProjectJSON>

Defined in

studio/src/types/index.ts:131


saveProject

Optional saveProject: (project: ProjectJSON, fileName: string) => Promise<Result>

Type declaration

▸ (project, fileName): Promise<Result>

Parameters
NameType
projectProjectJSON
fileNamestring
Returns

Promise<Result>

Defined in

studio/src/types/index.ts:130


scriptToTimelineService

Optional scriptToTimelineService: IScriptToTimelineService

Script-to-timeline service for AI outline expansion.

Defined in

studio/src/types/index.ts:146


templates

Optional templates: ProjectTemplate[]

Optional project templates shown in Template Gallery.

Defined in

studio/src/types/index.ts:160


translationService

Optional translationService: ITranslationService

Caption translation service for multi-language workflows.

Defined in

studio/src/types/index.ts:144


uploadConfig

Optional uploadConfig: UploadConfig

When set, media panels show cloud upload (S3 or GCS). Backend must be configured with env (e.g. FILE_UPLOADER_S3_* or GOOGLE_CLOUD_*). See cloud-functions/cors/ and file-uploader README for CORS and credentials.

Defined in

studio/src/types/index.ts:152


videoGenerationService

Optional videoGenerationService: IVideoGenerationService

Video generation service for polling-based async video generation

Defined in

studio/src/types/index.ts:140


voiceoverGenerationService

Optional voiceoverGenerationService: IVoiceoverService

Voiceover generation service for narration generation.

Defined in

studio/src/types/index.ts:142