GET
/
api
/
exportable-clips
curl --request GET \
  --url https://api.opus.pro/api/exportable-clips \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "Q1111307CTmI.CU67da38",
    "projectId": "Q1111307CTmI",
    "runId": "20241113071229217.FP",
    "curationId": "CU67da38",
    "orgId": "org_G5vEaJsd4111",
    "userId": "google-oauth2|106053850538038134300",
    "uriForPreview": "https://ext.cdn.opus.pro/media/org_G5vEaJsd4111/google-oauth2|106053850538038134000/Q1111307CTmI/c.CU67da38/esd.mp4?v=1731482302577650",
    "uriForExport": "https://ext.cdn.opus.pro/media/org_G5vEaJsd4111/google-oauth2|106053850538038134000/Q1111307CTmI/c.CU67da38/ehd.mp4?v=1731482302564330",
    "storageUsed": 15537888,
    "durationMs": 19478,
    "timeRanges": [
      [
        192170,
        211630
      ]
    ],
    "keywords": [
      "Q&A"
    ],
    "promptName": "Q&A",
    "title": "Connect Through Passion: The Power of Ensemble Performance",
    "description": "Experience the magic of live performance as our talented cellist captivates the audience with her passionate playing. Witness the seamless coordination of the ensemble in a breathtaking display of musical artistry that will leave you inspired!",
    "hashtags": "#ClassicalMusic #CelloPerformance #EnsembleMusic #LiveConcert #MusicPassion #CoordinatedPerformance #MusicalArtistry #Cellist #AudienceEngagement #StageMagic",
    "text": "Clip text content",
    "genre": "Auto",
    "subgenre": "general",
    "createdAt": "2024-11-13T07:18:22.811Z",
    "updatedAt": "2024-11-13T07:18:22.811Z",
    "clipCopilotTaskId": "taskid",
    "productTier": "PAID.CAT",
    "renderPref": {
      "enableAutoLayout": false,
      "enableFillLayout": false,
      "enableFitLayout": false,
      "fitLayoutCropRatio": "4:3",
      "enableSplitLayout": true,
      "enableThreeLayout": true,
      "enableFourLayout": true,
      "enableScreenLayout": true,
      "enableVisualHook": false,
      "enableWatermark": false,
      "enableCrop": true,
      "enableCaption": true,
      "enableUppercase": true,
      "enableHighlight": true,
      "enableEmoji": true,
      "font": {
        "color": "#ffffff",
        "style": [
          "900"
        ],
        "family": "Komika-axis",
        "stroke": {
          "enabled": false,
          "color": "#000000FF",
          "width": 16
        },
        "shadow": {
          "enabled": true,
          "color": "#FFFFFFFF",
          "x": 2,
          "y": 2,
          "blur": 16
        }
      },
      "highlightColor": {
        "primary": "#04f827",
        "secondary": "#FFFD03"
      }
    }
  }
]

👆Use above tools to generate API request code snippets.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
enum<string>
required

Query type

Available options:
findByProjectId
projectId
string
required

Project ID

Response

200 - application/json
Successfully retrieved exportable clips
id
string
required

Full clip id. Format: {project_id}.{curation_id}

Example:

"Q1111307CTmI.CU67da38"

projectId
string
required

Project ID

Example:

"Q1111307CTmI"

runId
string
required

Run ID

Example:

"20241113071229217.FP"

curationId
string
required

Curation ID

Example:

"CU67da38"

orgId
string
required

Organization ID

Example:

"org_G5vEaJsd4111"

userId
string
required

User ID

Example:

"google-oauth2|106053850538038134300"

storageUsed
number
required

Storage used in bytes

Example:

15537888

durationMs
number
required

Duration in milliseconds

Example:

19478

title
string
required

Title of the clip

Example:

"Connect Through Passion: The Power of Ensemble Performance"

text
string
required

Text content of the clip

Example:

"Clip text content"

createdAt
string
required

Creation date

Example:

"2024-11-13T07:18:22.811Z"

updatedAt
string
required

Last update date

Example:

"2024-11-13T07:18:22.811Z"

productTier
string
required

Product tier

Example:

"PAID.CAT"

renderPref
object
required

Render preference

Example:
{
  "enableAutoLayout": false,
  "enableFillLayout": false,
  "enableFitLayout": false,
  "fitLayoutCropRatio": "4:3",
  "enableSplitLayout": true,
  "enableThreeLayout": true,
  "enableFourLayout": true,
  "enableScreenLayout": true,
  "enableVisualHook": false,
  "enableWatermark": false,
  "enableCrop": true,
  "enableCaption": true,
  "enableUppercase": true,
  "enableHighlight": true,
  "enableEmoji": true,
  "font": {
    "color": "#ffffff",
    "style": ["900"],
    "family": "Komika-axis",
    "stroke": {
      "enabled": false,
      "color": "#000000FF",
      "width": 16
    },
    "shadow": {
      "enabled": true,
      "color": "#FFFFFFFF",
      "x": 2,
      "y": 2,
      "blur": 16
    }
  },
  "highlightColor": {
    "primary": "#04f827",
    "secondary": "#FFFD03"
  }
}
uriForPreview
string

Google Cloud Storage URI of video for preview

Example:

"https://ext.cdn.opus.pro/media/org_G5vEaJsd4111/google-oauth2|106053850538038134000/Q1111307CTmI/c.CU67da38/esd.mp4?v=1731482302577650"

uriForExport
string

Google Cloud Storage URI of video for export/download

Example:

"https://ext.cdn.opus.pro/media/org_G5vEaJsd4111/google-oauth2|106053850538038134000/Q1111307CTmI/c.CU67da38/ehd.mp4?v=1731482302564330"

timeRanges
array

Original time ranges of the clip (in seconds)

Example:
[[192170, 211630]]
keywords
string[]

Keywords of this clip

Example:
["Q&A"]
promptName
string

Prompt name

Example:

"Q&A"

description
string

Description of the clip

Example:

"Experience the magic of live performance as our talented cellist captivates the audience with her passionate playing. Witness the seamless coordination of the ensemble in a breathtaking display of musical artistry that will leave you inspired!"

hashtags
string

Hashtags for the clip

Example:

"#ClassicalMusic #CelloPerformance #EnsembleMusic #LiveConcert #MusicPassion #CoordinatedPerformance #MusicalArtistry #Cellist #AudienceEngagement #StageMagic"

genre
string

Genre of the clip

Example:

"Auto"

subgenre
string

Subgenre of the clip

Example:

"general"

clipCopilotTaskId
string

Clip copilot task ID

Example:

"taskid"