user: Describe Sequencer Operators from the Blender manual or Python API, including usage steps and snippets.

assistant: erators/sequencer.py#L157)

bpy.ops.sequencer.gap_insert(*\**, *frames=10*)
:   Insert gap at current frame to first strips at the right, independent of selection or locked state of strips

    Parameters:
    :   **frames** (*int in* *[**0**,* *inf**]**,* *(**optional**)*) – Frames, Frames to insert after current strip

bpy.ops.sequencer.gap_remove(*\**, *all=False*)
:   Remove gap at current frame to first strip at the right, independent of selection or locked state of strips

    Parameters:
    :   **all** (*boolean**,* *(**optional**)*) – All Gaps, Do all gaps to right of current frame

bpy.ops.sequencer.image_strip_add(*\**, *directory=''*, *files=None*, *check_existing=False*, *filter_blender=False*, *filter_backup=False*, *filter_image=True*, *filter_movie=False*, *filter_python=False*, *filter_font=False*, *filter_sound=False*, *filter_text=False*, *filter_archive=False*, *filter_btx=False*, *filter_alembic=False*, *filter_usd=False*, *filter_obj=False*, *filter_volume=False*, *filter_folder=True*, *filter_blenlib=False*, *filemode=9*, *relative_path=True*, *show_multiview=False*, *use_multiview=False*, *display_type='DEFAULT'*, *sort_method=''*, *move_strips=True*, *frame_start=0*, *length=0*, *channel=1*, *replace_sel=True*, *overlap=False*, *overlap_shuffle_override=False*, *skip_locked_or_muted_channels=True*, *fit_method='FIT'*, *set_view_transform=True*, *image_import_type='DETECT'*, *use_sequence_detection=True*, *use_placeholders=False*)
:   Add an image or image sequence to the sequencer

    Parameters:
    :   - **directory** (*string**,* *(**optional**,* *never None**)*) – Directory, Directory of the file
        - **files** (`bpy_prop_collection` of `OperatorFileListElement`, (optional)) – Files
        - **check_existing** (*boolean**,* *(**optional**)*) – Check Existing, Check and warn on overwriting existing files
        - **filter_blender** (*boolean**,* *(**optional**)*) – Filter .blend files
        - **filter_backup** (*boolean**,* *(**optional**)*) – Filter .blend files
        - **filter_image** (*boolean**,* *(**optional**)*) – Filter image files
        - **filter_movie** (*boolean**,* *(**optional**)*) – Filter movie files
        - **filter_python** (*boolean**,* *(**optional**)*) – Filter Python files
        - **filter_font** (*boolean**,* *(**optional**)*) – Filter font files
        - **filter_sound** (*boolean**,* *(**optional**)*) – Filter sound files
        - **filter_text** (*boolean**,* *(**optional**)*) – Filter text files
        - **filter_archive** (*boolean**,* *(**optional**)*) – Filter archive files
        - **filter_btx** (*boolean**,* *(**optional**)*) – Filter btx files
        - **filter_alembic** (*boolean**,* *(**optional**)*) – Filter Alembic files
        - **filter_usd** (*boolean**,* *(**optional**)*) – Filter USD files
        - **filter_obj** (*boolean**,* *(**optional**)*) – Filter OBJ files
        - **filter_volume** (*boolean**,* *(**optional**)*) – Filter OpenVDB volume files
        - **filter_folder** (*boolean**,* *(**optional**)*) – Filter folders
        - **filter_blenlib** (*boolean**,* *(**optional**)*) – Filter Blender IDs
        - **filemode** (*int in* *[**1**,* *9**]**,* *(**optional**)*) – File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
        - **relative_path** (*boolean**,* *(**optional**)*) – Relative Path, Select the file relative to the blend file
        - **show_multiview** (*boolean**,* *(**optional**)*) – Enable Multi-View
        - **use_multiview** (*boolean**,* *(**optional**)*) – Use Multi-View
        - **display_type** (enum in [`'DEFAULT'`, `'LIST_VERTICAL'`, `'LIST_HORIZONTAL'`, `'THUMBNAIL'`], (optional)) –

          Display Type

          - `DEFAULT`
            Default – Automatically determine display type for files.
          - `LIST_VERTICAL`
            Short List – Display files as short list.
          - `LIST_HORIZONTAL`
            Long List – Display files as a detailed list.
          - `THUMBNAIL`
            Thumbnails – Display files as thumbnails.
        - **sort_method** (enum in [`'DEFAULT'`, `'FILE_SORT_ALPHA'`, `'FILE_SORT_EXTENSION'`, `'FILE_SORT_TIME'`, `'FILE_SORT_SIZE'`, `'ASSET_CATALOG'`], (optional)) –

          File sorting mode

          - `DEFAULT`
            Default – Automatically determine sort method for files.
          - `FILE_SORT_ALPHA`
            Name – Sort the file list alphabetically.
          - `FILE_SORT_EXTENSION`
            Extension – Sort the file list by extension/type.
          - `FILE_SORT_TIME`
            Modified Date – Sort files by modification time.
          - `FILE_SORT_SIZE`
            Size – Sort files by size.
          - `ASSET_CATALOG`
            Asset Catalog – Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
        - **move_strips** (*boolean**,* *(**optional**)*) – Move Strips, Automatically begin translating strips with the mouse after adding them to the timeline
        - **frame_start** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Start Frame, Start frame of the strip
        - **length** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Length, Length of the strip in frames, or the length of each strip if multiple are added
        - **channel** (*int in* *[**1**,* *128**]**,* *(**optional**)*) – Channel, Channel to place this strip into
        - **replace_sel** (*boolean**,* *(**optional**)*) – Replace Selection, Deselect previously selected strips after add operation completes
        - **overlap** (*boolean**,* *(**optional**)*) – Allow Overlap, Don’t correct overlap on new strips
        - **overlap_shuffle_override** (*boolean**,* *(**optional**)*) – Override Overlap Shuffle Behavior, Use the overlap_mode tool settings to determine how to shuffle overlapping strips
        - **skip_locked_or_muted_channels** (*boolean**,* *(**optional**)*) – Skip Locked or Muted Channels, Add strips to muted or locked channels when adding movie strips
        - **fit_method** (enum in [Strip Scale Method Items](bpy_types_enum_items/strip_scale_method_items.html#rna-enum-strip-scale-method-items), (optional)) – Fit Method, Mode for fitting the image to the canvas
        - **set_view_transform** (*boolean**,* *(**optional**)*) – Set View Transform, Set appropriate view transform based on media color space
        - **image_import_type** (enum in [`'DETECT'`, `'SEQUENCE'`, `'INDIVIDUAL'`], (optional)) –

          Import As, Mode for importing selected images

          - `DETECT`
            Auto Detect – Add images as individual strips, unless their filenames match Blender’s numbered sequence pattern, in which case they are grouped into a single image sequence.
          - `SEQUENCE`
            Image Sequence – Import all selected images as a single image sequence. The sequence of images does not have to match Blender’s numbered sequence pattern, so placeholders cannot be inferred.
          - `INDIVIDUAL`
            Individual Images – Add each selected image as an individual strip.
        - **use_sequence_detection** (*boolean**,* *(**optional**)*) – Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
        - **use_placeholders** (*boolean**,* *(**optional**)*) – Use Placeholders, Reserve placeholder frames for missing frames of the image sequence

bpy.ops.sequencer.images_separate(*\**, *length=1*)
:   On image sequence strips, it returns a strip for each image

    Parameters:
    :   **length** (*int in* *[**1**,* *inf**]**,* *(**optional**)*) – Length, Length of each frame

bpy.ops.sequencer.lock()
:   Lock strips so they cannot be transformed

bpy.ops.sequencer.mask_strip_add(*\**, *move_strips=True*, *frame_start=0*, *channel=1*, *replace_sel=True*, *overlap=False*, *overlap_shuffle_override=False*, *skip_locked_or_muted_channels=True*, *mask=''*)
:   Add a mask strip to the sequencer

    Parameters:
    :   - **move_strips** (*boolean**,* *(**optional**)*) – Move Strips, Automatically begin translating strips with the mouse after adding them to the timeline
        - **frame_start** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Start Frame, Start frame of the strip
        - **channel** (*int in* *[**1**,* *128**]**,* *(**optional**)*) – Channel, Channel to place this strip into
        - **replace_sel** (*boolean**,* *(**optional**)*) – Replace Selection, Deselect previously selected strips after add operation completes
        - **overlap** (*boolean**,* *(**optional**)*) – Allow Overlap, Don’t correct overlap on new strips
        - **overlap_shuffle_override** (*boolean**,* *(**optional**)*) – Override Overlap Shuffle Behavior, Use the overlap_mode tool settings to determine how to shuffle overlapping strips
        - **skip_locked_or_muted_channels** (*boolean**,* *(**optional**)*) – Skip Locked or Muted Channels, Add strips to muted or locked channels when adding movie strips
        - **mask** (*enum in* *[**]**,* *(**optional**)*) – Mask

bpy.ops.sequencer.meta_make()
:   Group selected strips into a meta-strip

bpy.ops.sequencer.meta_separate()
:   Put the contents of a meta-strip back in the sequencer

bpy.ops.sequencer.meta_toggle()
:   Toggle a meta-strip (to edit enclosed strips)

bpy.ops.sequencer.movie_strip_add(*\**, *filepath=''*, *directory=''*, *files=None*, *check_existing=False*, *filter_blender=False*, *filter_backup=False*, *filter_image=False*, *filter_movie=True*, *filter_python=False*, *filter_font=False*, *filter_sound=False*, *filter_text=False*, *filter_archive=False*, *filter_btx=False*, *filter_alembic=False*, *filter_usd=False*, *filter_obj=False*, *filter_volume=False*, *filter_folder=True*, *filter_blenlib=False*, *filemode=9*, *relative_path=True*, *show_multiview=False*, *use_multiview=False*, *display_type='DEFAULT'*, *sort_method=''*, *move_strips=True*, *frame_start=0*, *channel=1*, *replace_sel=True*, *overlap=False*, *overlap_shuffle_override=False*, *skip_locked_or_muted_channels=True*, *fit_method='FIT'*, *set_view_transform=True*, *adjust_playback_rate=True*, *sound=True*, *use_framerate=True*)
:   Add a movie strip to the sequencer

    Parameters:
    :   - **filepath** (*string**,* *(**optional**,* *never None**)*) – File Path, Path to file
        - **directory** (*string**,* *(**optional**,* *never None**)*) – Directory, Directory of the file
        - **files** (`bpy_prop_collection` of `OperatorFileListElement`, (optional)) – Files
        - **check_existing** (*boolean**,* *(**optional**)*) – Check Existing, Check and warn on overwriting existing files
        - **filter_blender** (*boolean**,* *(**optional**)*) – Filter .blend files
        - **filter_backup** (*boolean**,* *(**optional**)*) – Filter .blend files
        - **filter_image** (*boolean**,* *(**optional**)*) – Filter image files
        - **filter_movie** (*boolean**,* *(**optional**)*) – Filter movie files
        - **filter_python** (*boolean**,* *(**optional**)*) – Filter Python files
        - **filter_font** (*boolean**,* *(**optional**)*) – Filter font files
        - **filter_sound** (*boolean**,* *(**optional**)*) – Filter sound files
        - **filter_text** (*boolean**,* *(**optional**)*) – Filter text files
        - **filter_archive** (*boolean**,* *(**optional**)*) – Filter archive files
        - **filter_btx** (*boolean**,* *(**optional**)*) – Filter btx files
        - **filter_alembic** (*boolean**,* *(**optional**)*) – Filter Alembic files
        - **filter_usd** (*boolean**,* *(**optional**)*) – Filter USD files
        - **filter_obj** (*boolean**,* *(**optional**)*) – Filter OBJ files
        - **filter_volume** (*boolean**,* *(**optional**)*) – Filter OpenVDB volume files
        - **filter_folder** (*boolean**,* *(**optional**)*) – Filter folders
        - **filter_blenlib** (*boolean**,* *(**optional**)*) – Filter Blender IDs
        - **filemode** (*int in* *[**1**,* *9**]**,* *(**optional**)*) – File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
        - **relative_path** (*boolean**,* *(**optional**)*) – Relative Path, Select the file relative to the blend file
        - **show_multiview** (*boolean**,* *(**optional**)*) – Enable Multi-View
        - **use_multiview** (*boolean**,* *(**optional**)*) – Use Multi-View
        - **display_type** (enum in [`'DEFAULT'`, `'LIST_VERTICAL'`, `'LIST_HORIZONTAL'`, `'THUMBNAIL'`], (optional)) –

          Display Type

          - `DEFAULT`
            Default – Automatically determine display type for files.
          - `LIST_VERTICAL`
            Short List – Display files as short list.
          - `LIST_HORIZONTAL`
            Long List – Display files as a detailed list.
          - `THUMBNAIL`
            Thumbnails – Display files as thumbnails.
        - **sort_method** (enum in [`'DEFAULT'`, `'FILE_SORT_ALPHA'`, `'FILE_SORT_EXTENSION'`, `'FILE_SORT_TIME'`, `'FILE_SORT_SIZE'`, `'ASSET_CATALOG'`], (optional)) –

          File sorting mode

          - `DEFAULT`
            Default – Automatically determine sort method for files.
          - `FILE_SORT_ALPHA`
            Name – Sort the file list alphabetically.
          - `FILE_SORT_EXTENSION`
            Extension – Sort the file list by extension/type.
          - `FILE_SORT_TIME`
            Modified Date – Sort files by modification time.
          - `FILE_SORT_SIZE`
            Size – Sort files by size.
          - `ASSET_CATALOG`
            Asset Catalog – Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
        - **move_strips** (*boolean**,* *(**optional**)*) – Move Strips, Automatically begin translating strips with the mouse after adding them to the timeline
        - **frame_start** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Start Frame, Start frame of the strip
        - **channel** (*int in* *[**1**,* *128**]**,* *(**optional**)*) – Channel, Channel to place this strip into
        - **replace_sel** (*boolean**,* *(**optional**)*) – Replace Selection, Deselect previously selected strips after add operation completes
        - **overlap** (*boolean**,* *(**optional**)*) – Allow Overlap, Don’t correct overlap on new strips
        - **overlap_shuffle_override** (*boolean**,* *(**optional**)*) – Override Overlap Shuffle Behavior, Use the overlap_mode tool settings to determine how to shuffle overlapping strips
        - **skip_locked_or_muted_channels** (*boolean**,* *(**optional**)*) – Skip Locked or Muted Channels, Add strips to muted or locked channels when adding movie strips
        - **fit_method** (enum in [Strip Scale Method Items](bpy_types_enum_items/strip_scale_method_items.html#rna-enum-strip-scale-method-items), (optional)) – Fit Method, Mode for fitting the image to the canvas
        - **set_view_transform** (*boolean**,* *(**optional**)*) – Set View Transform, Set appropriate view transform based on media color space
        - **adjust_playback_rate** (*boolean**,* *(**optional**)*) – Adjust Playback Rate, Play at normal speed regardless of scene FPS
        - **sound** (*boolean**,* *(**optional**)*) – Sound, Load sound with the movie
        - **use_framerate** (*boolean**,* *(**optional**)*) – Set Scene Frame Rate, Set frame rate of the current scene to the frame rate of the movie

bpy.ops.sequencer.movieclip_strip_add(*\**, *move_strips=True*, *frame_start=0*, *channel=1*, *replace_sel=True*, *overlap=False*, *overlap_shuffle_override=False*, *skip_locked_or_muted_channels=True*, *clip=''*)
:   Add a movieclip strip to the sequencer

    Parameters:
    :   - **move_strips** (*boolean**,* *(**optional**)*) – Move Strips, Automatically begin translating strips with the mouse after adding them to the timeline
        - **frame_start** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Start Frame, Start frame of the strip
        - **channel** (*int in* *[**1**,* *128**]**,* *(**optional**)*) – Channel, Channel to place this strip into
        - **replace_sel** (*boolean**,* *(**optional**)*) – Replace Selection, Deselect previously selected strips after add operation completes
        - **overlap** (*boolean**,* *(**optional**)*) – Allow Overlap, Don’t correct overlap on new strips
        - **overlap_shuffle_override** (*boolean**,* *(**optional**)*) – Override Overlap Shuffle Behavior, Use the overlap_mode tool settings to determine how to shuffle overlapping strips
        - **skip_locked_or_muted_channels** (*boolean**,* *(**optional**)*) – Skip Locked or Muted Channels, Add strips to muted or locked channels when adding movie strips
        - **clip** (*enum in* *[**]**,* *(**optional**)*) – Clip

bpy.ops.sequencer.mute(*\**, *unselected=False*)
:   Mute (un)selected strips

    Parameters:
    :   **unselected** (*boolean**,* *(**optional**)*) – Unselected, Mute unselected rather than selected strips

bpy.ops.sequencer.offset_clear()
:   Clear strip in/out offsets from the start and end of content

bpy.ops.sequencer.paste(*\**, *keep_offset=False*, *x=0*, *y=0*)
:   Paste strips from the internal clipboard

    Parameters:
    :   - **keep_offset** (*boolean**,* *(**optional**)*) – Keep Offset, Keep strip offset relative to the current frame when pasting
        - **x** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X
        - **y** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y

bpy.ops.sequencer.preview_duplicate_move(*\**, *SEQUENCER_OT_duplicate=None*, *TRANSFORM_OT_translate=None*)
:   Duplicate selected strips and move them

    Parameters:
    :   - **SEQUENCER_OT_duplicate** (`SEQUENCER_OT_duplicate`, (optional)) – Duplicate Strips, Duplicate the selected strips
        - **TRANSFOR