Submagic
App · 15 actions
Generate captions, clips and edits for your videos.
Actions
| Action | What it does |
|---|---|
| Check health | Check whether the Submagic API is available. |
| Create magic clips | Generate short clips from a YouTube video. |
| Create project | Create a captioned video project from a public video URL. |
| Export project | Render a video project for download. |
| Get brand kit | Get saved colors, fonts and logos for one brand. |
| Get preset | Get one video preset. |
| Get project | Get a video project and check its processing status. |
| List brand kits | List your saved brand kits. |
| List hook title templates | List hook title styles. |
| List iris templates | List templates for the Iris video editor. |
| List languages | List supported transcription languages. |
| List media | List media in your Submagic library. |
| List presets | List your saved video presets. |
| List published projects | List projects published to social platforms. |
| List templates | List 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
- Title
titletextRequired - Title.
- Language
languagetextRequired - Language.
- Youtube URL
youtube_urltextRequired - Youtube URL.
- Template
templatetext - Template.
- Face tracking
face_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
- Title
titletextRequired - Title.
- Language
languagetextRequired - Language.
- Video URL
video_urltextRequired - Video URL.
- Template
templatetext - Template.
- Preset
preset_idtext - Preset ID.
- Auto export
auto_exporttrue/false - Auto export.
- Magic zooms
magic_zoomstrue/false - Magic zooms.
- Magic brolls
magic_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 ID
project_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 ID
brand_kit_idtextRequired - Brand kit ID.
Outputs
dataobject- The response from Submagic.
Example output
{
"data": {}
}Get preset
Get one video preset.
Inputs
- Preset ID
preset_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 ID
project_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
- Limit
limitnumber - Limit.From 1 to 50.
- Cursor
cursortext - 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
- Platform
platformtext - Platform.One of:
youtube,tiktok,instagram,twitter,facebook,linkedin. - Start time
start_timedate and time - Start time.
- End time
end_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"
]
}
}