# Transcript

Since: **25.6**

## Static Methods

### createImportTextSegmentsAction

Create action that import external transcripts to ClipProjectItem

Since: **25.6**

Returns: *[Action](/premiere-pro/uxp/ppro-reference/classes/action)*

#### Parameters

+---------------------------------------------------------------------------------------------------------------+
| Table                                                                                                         |
+:----------------+:------------------------------------------------------------------------------+:------------+
| Name            | Type                                                                          | Description |
+:----------------+:------------------------------------------------------------------------------+:------------+
| textSegments    | *[TextSegments](/premiere-pro/uxp/ppro-reference/classes/textsegments)*       | \-          |
+:----------------+:------------------------------------------------------------------------------+:------------+
| clipProjectItem | *[ClipProjectItem](/premiere-pro/uxp/ppro-reference/classes/clipprojectitem)* | \-          |
+-----------------+-------------------------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### exportToJSON

Export transcripts inside of clipProjectItem as JSON string if transcript exist

Since: **25.6**

Returns: Promise<*string*>

#### Parameters

+---------------------------------------------------------------------------------------------------------------+
| Table                                                                                                         |
+:----------------+:------------------------------------------------------------------------------+:------------+
| Name            | Type                                                                          | Description |
+:----------------+:------------------------------------------------------------------------------+:------------+
| clipProjectItem | *[ClipProjectItem](/premiere-pro/uxp/ppro-reference/classes/clipprojectitem)* | \-          |
+-----------------+-------------------------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### hasTranscript

Returns true if the ClipProjectItem has an existing transcript

Since: **26.3**

Returns: *boolean*

#### Parameters

+---------------------------------------------------------------------------------------------------------------+
| Table                                                                                                         |
+:----------------+:------------------------------------------------------------------------------+:------------+
| Name            | Type                                                                          | Description |
+:----------------+:------------------------------------------------------------------------------+:------------+
| clipProjectItem | *[ClipProjectItem](/premiere-pro/uxp/ppro-reference/classes/clipprojectitem)* | \-          |
+-----------------+-------------------------------------------------------------------------------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### importFromJSON

Returns TextSegments object initialized from jsonString

Since: **25.6**

Returns: *[TextSegments](/premiere-pro/uxp/ppro-reference/classes/textsegments)*

#### Parameters

+-------------------------------------+
| Table                               |
+:-----------+:---------+:------------+
| Name       | Type     | Description |
+:-----------+:---------+:------------+
| jsonString | *string* | \-          |
+------------+----------+-------------+

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

### querySupportedLanguages

Returns the list of language services available for transcription

Since: **26.3**

Returns: *Array<{displayString: string, languageCode: string, locale: string}>*

+----------------+
| Horizontalline |
+----------------+
|                |
+----------------+

+--------------------------------------------------------------------------------------------------------------------------+
| Metadata                                                                                                                 |
+----------------+---------------------------------------------------------------------------------------------------------+
| title          | Transcript                                                                                              |
+----------------+---------------------------------------------------------------------------------------------------------+
| description    | Overview of Transcript                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| source         | github                                                                                                  |
+----------------+---------------------------------------------------------------------------------------------------------+
| pathprefix     | /premiere-pro/uxp                                                                                       |
+----------------+---------------------------------------------------------------------------------------------------------+
| githubblobpath | https\://github.com/AdobeDocs/uxp-premiere-pro/blob/main/src/pages/ppro-reference/classes/transcript.md |
+----------------+---------------------------------------------------------------------------------------------------------+
| template       | documentation                                                                                           |
+----------------+---------------------------------------------------------------------------------------------------------+
