Submagic

App · 15 actions

Generate captions, clips and edits for your videos.

Actions

ActionWhat it does
Check healthCheck whether the Submagic API is available.
Create magic clipsGenerate short clips from a YouTube video.
Create projectCreate a captioned video project from a public video URL.
Export projectRender a video project for download.
Get brand kitGet saved colors, fonts and logos for one brand.
Get presetGet one video preset.
Get projectGet a video project and check its processing status.
List brand kitsList your saved brand kits.
List hook title templatesList hook title styles.
List iris templatesList templates for the Iris video editor.
List languagesList supported transcription languages.
List mediaList media in your Submagic library.
List presetsList your saved video presets.
List published projectsList projects published to social platforms.
List templatesList built-in video style templates.

Check health

Check whether the Submagic API is available.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

Create magic clips

Generate short clips from a YouTube video.

Inputs

TitletitletextRequired
Title.
LanguagelanguagetextRequired
Language.
Youtube URLyoutube_urltextRequired
Youtube URL.
Templatetemplatetext
Template.
Face trackingface_trackingtrue/false
Face tracking.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "downloadUrl": "example",
    "id": "example",
    "language": "example",
    "status": "example",
    "title": "example",
    "transcript": {}
  }
}

Create project

Create a captioned video project from a public video URL.

Inputs

TitletitletextRequired
Title.
LanguagelanguagetextRequired
Language.
Video URLvideo_urltextRequired
Video URL.
Templatetemplatetext
Template.
Presetpreset_idtext
Preset ID.
Auto exportauto_exporttrue/false
Auto export.
Magic zoomsmagic_zoomstrue/false
Magic zooms.
Magic brollsmagic_brollstrue/false
Magic brolls.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "downloadUrl": "example",
    "id": "example",
    "language": "example",
    "status": "example",
    "title": "example",
    "transcript": {}
  }
}

Export project

Render a video project for download.

Inputs

Project IDproject_idtextRequired
Project ID.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

Get brand kit

Get saved colors, fonts and logos for one brand.

Inputs

Brand kit IDbrand_kit_idtextRequired
Brand kit ID.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

Get preset

Get one video preset.

Inputs

Preset IDpreset_idtextRequired
Preset ID.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

Get project

Get a video project and check its processing status.

Inputs

Project IDproject_idtextRequired
Project ID.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "downloadUrl": "example",
    "id": "example",
    "language": "example",
    "status": "example",
    "title": "example",
    "transcript": {}
  }
}

List brand kits

List your saved brand kits.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "data": [
      {
        "id": "example",
        "name": "example"
      }
    ]
  }
}

List hook title templates

List hook title styles.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

List iris templates

List templates for the Iris video editor.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

List languages

List supported transcription languages.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "languages": [
      {
        "code": "example",
        "name": "example"
      }
    ]
  }
}

List media

List media in your Submagic library.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

List presets

List your saved video presets.

Inputs

Limitlimitnumber
Limit.From 1 to 50.
Cursorcursortext
Cursor.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "data": [
      {
        "id": "example",
        "name": "example"
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "example"
    }
  }
}

List published projects

List projects published to social platforms.

Inputs

Platformplatformtext
Platform.One of: youtube, tiktok, instagram, twitter, facebook, linkedin.
Start timestart_timedate and time
Start time.
End timeend_timedate and time
End time.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {}
}

List templates

List built-in video style templates.

Inputs

None.

Outputs

dataobject
The response from Submagic.
Example output
{
  "data": {
    "templates": [
      "example"
    ]
  }
}

On this page