JoggAI

App · 20 actions

Generate avatar videos, synthesize speech, and browse JoggAI assets.

Actions

ActionWhat it does
Create avatar videoCreate talking avatar video.
Create lip sync videoCreate lip sync video task.
Get accountGet Current User Information.
Get avatar videoRetrieve talking avatar video.
Get custom templateGet specific custom template details.
Get lip sync videoGet lip sync task by task ID.
Get remaining creditsGet Remaining Quota.
Get speech taskGet speech task.
Get template videoGet template video status and details.
List background musicList background music.
List custom avatarsGet Instant Avatar List.
List custom templatesList user's custom templates.
List custom voicesGet User Timbre List.
List photo avatarsGet Photo Avatar List.
List public avatarsGet Public Avatar List.
List template videosList template videos.
List translation languagesList Target Languages.
List visual stylesList visual styles.
List voicesGet Timbre List.
Synthesize speechSynthesize speech.

Create avatar video

Create talking avatar video.

Inputs

Avatar typeavatar_typenumberRequired
Select a public or custom avatar.One of: 0 (Public avatar), 1 (Custom avatar).
Avatar IDavatar_idnumberRequired
ID from List public avatars or List custom avatars.At least 1.
TypetypetextRequired
Voice input typeOne of: script, audio.
Scriptscripttext
Text script for voice synthesis (required when type is "script")
Audio urlaudio_urltext
Audio file URL for voice input (required when type is "audio")
Voicevoice_idtextRequired
Voice ID for text-to-speech
Aspect ratioaspect_ratiotextRequired
Aspect ratio of the output videoOne of: portrait, landscape, square.
Screen stylescreen_stylenumberRequired
Background style: * 1 - Full screen * 2 - Split screen * 3 - Picture in pictureOne of: 1 (Full screen), 2 (Split screen), 3 (Picture in picture).
Captioncaptiontrue/false
Enable or disable subtitles
Video namevideo_nametext
Custom name for the video

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "video_id": "example"
    },
    "msg": "example"
  }
}

Create lip sync video

Create lip sync video task.

Inputs

Video urlvideo_urltextRequired
Source video URL
Audio urlaudio_urltextRequired
Source audio URL
Playback typeplayback_typetext
Playback strategy when source video is shorter than audioOne of: normal, normal_reverse (Normal reverse), normal_reverse_by_audio (Normal reverse by audio). Default: normal.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "status": "pending",
      "task_id": "example"
    },
    "msg": "example"
  }
}

Get account

Get Current User Information.

Inputs

None.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "email": "example",
      "username": "example"
    },
    "msg": "example"
  }
}

Get avatar video

Retrieve talking avatar video.

Inputs

IdidtextRequired
Video ID from video creation endpoint

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "cover_url": "example",
      "created_at": 1,
      "status": "pending",
      "video_id": "example",
      "video_url": "example"
    },
    "msg": "example"
  }
}

Get custom template

Get specific custom template details.

Inputs

IdidnumberRequired
Template IDAt least 1.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "aspect_ratio": 1,
      "cover_url": "example",
      "name": "example",
      "preview_url": "example",
      "template_id": 1,
      "variables": []
    },
    "msg": "example"
  }
}

Get lip sync video

Get lip sync task by task ID.

Inputs

Task IDtask_idtextRequired
Lip sync task ID

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "completed_at": 1,
      "created_at": 1,
      "data": {
        "cover_url": "example",
        "duration_seconds": 1.0,
        "result_url": "example"
      },
      "error": {
        "message": "example"
      },
      "status": "pending",
      "task_id": "example"
    },
    "msg": "example"
  }
}

Get remaining credits

Get Remaining Quota.

Inputs

None.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "remaining_quota": 1.0
    },
    "msg": "example"
  }
}

Get speech task

Get speech task.

Inputs

Task IDtask_idtextRequired
Task ID returned by speech synthesis.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "duration_seconds": 1.0,
      "error_message": "example",
      "progress": 1,
      "status": "processing",
      "subtitle_url": "example",
      "task_id": "example",
      "url": "example"
    },
    "msg": "example"
  }
}

Get template video

Get template video status and details.

Inputs

Video IDvideo_idtextRequired
Video ID

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "completed_at": 1,
      "created_at": 1,
      "data": {
        "cover_url": "example",
        "deducted_credit": 1.0,
        "duration_seconds": 1.0,
        "url": "example",
        "video_name": "example"
      },
      "status": "pending",
      "video_id": "example"
    },
    "msg": "example"
  }
}

List background music

List background music.

Inputs

Pagepagenumber
Page numberAt least 1. Default: 1.
Page sizepage_sizenumber
Items per pageFrom 1 to 100. Default: 10.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "music": [],
      "pagination": {
        "page": 1,
        "page_size": 1,
        "total_items": 1,
        "total_pages": 1
      }
    },
    "msg": "example"
  }
}

List custom avatars

Get Instant Avatar List.

Inputs

Pagepagenumber
Page number for paginationAt least 1. Default: 1.
Page sizepage_sizenumber
Number of items per pageFrom 1 to 100. Default: 10.
Namenametext
Avatar name filter - search avatars by name
Statusstatustext
Status filterOne of: processing, completed, failed.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "avatars": []
    },
    "msg": "example"
  }
}

List custom templates

List user's custom templates.

Inputs

Aspect ratioaspect_ratiotext
Filter by aspect ratioOne of: portrait, landscape, square.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "templates": []
    },
    "msg": "example"
  }
}

List custom voices

Get User Timbre List.

Inputs

Languagelanguagetext
Filter by language

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "total": 1,
      "voices": []
    },
    "msg": "example"
  }
}

List photo avatars

Get Photo Avatar List.

Inputs

Pagepagenumber
Page number for paginationAt least 1. Default: 1.
Page sizepage_sizenumber
Number of items per pageFrom 1 to 100. Default: 10.
Namenametext
Avatar name filter
Statusstatustext
Status filterOne of: processing, completed, failed.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "avatars": []
    },
    "msg": "example"
  }
}

List public avatars

Get Public Avatar List.

Inputs

Pagepagenumber
Page number for paginationAt least 1. Default: 1.
Page sizepage_sizenumber
Number of items per pageFrom 1 to 100. Default: 10.
Aspect ratioaspect_ratiotext
Filter by aspect ratioOne of: portrait, landscape, square.
Stylestyletext
Filter by avatar styleOne of: professional, social.
Gendergendertext
Filter by avatar genderOne of: female, male.
Ageagetext
Filter by age groupOne of: adult, senior, young_adult (Young adult).
Scenescenetext
Filter by scene typeOne of: lifestyle, outdoors, business, studio, health_fitness (Health fitness), education, news.
Ethnicityethnicitytext
Filter by ethnicityOne of: european, african, south_asian (South asian), east_asian (East asian), middle_eastern (Middle eastern), south_american (South american), north_american (North american).

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "avatars": []
    },
    "msg": "example"
  }
}

List template videos

List template videos.

Inputs

Pagepagenumber
page.At least 1. Default: 1.
Page sizepage_sizenumber
page size.From 1 to 100. Default: 10.
Statusstatusnumber
Filter by statusOne of: 3, 4, 5.
Sort bysort_bytext
sort by.Default: created_at.
Sort ordersort_ordertext
sort order.One of: asc, desc. Default: desc.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "data": [],
      "pagination": {
        "page": 1,
        "page_size": 1,
        "total_items": 1,
        "total_pages": 1
      }
    },
    "msg": "example"
  }
}

List translation languages

List Target Languages.

Inputs

None.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "languages": []
    },
    "msg": "example"
  }
}

List visual styles

List visual styles.

Inputs

Aspect ratioaspect_ratiotext
Filter by aspect ratioOne of: portrait, landscape, square.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "visual_styles": []
    },
    "msg": "example"
  }
}

List voices

Get Timbre List.

Inputs

Pagepagenumber
Page number for paginationAt least 1. Default: 1.
Page sizepage_sizenumber
Number of items per pageFrom 1 to 100. Default: 10.
Gendergendertext
Filter by genderOne of: female, male.
Languagelanguagetext
Filter by language
Ageagetext
Filter by age groupOne of: young, middle_aged (Middle aged), old.
Use caseuse_casetext
Filter by use case

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "has_more": false,
      "voices": []
    },
    "msg": "example"
  }
}

Synthesize speech

Synthesize speech.

Inputs

TexttexttextRequired
Text to synthesize.
Voicevoice_idtextRequired
Public voice or an authorized custom voice ID.
Model IDmodel_idtext
ElevenLabs-only speech model. Omit to use eleven_flash_v2_5 for ElevenLabs voices and retain the voice provider's existing behavior otherwise. Explicit values for other providers, empty strings, null, and unsupported model IDs are rejected.One of: eleven_flash_v2_5 (Eleven flash v2 5), eleven_v4_turbo (Eleven v4 turbo). Default: eleven_flash_v2_5.
Idempotency keyidempotency_keytext
Stable key for retries of this request. Use a new key for a different model or text.

Outputs

dataobject
The response from JoggAI.
Example output
{
  "data": {
    "code": 1,
    "data": {
      "duration_seconds": 1.0,
      "error_message": "example",
      "progress": 1,
      "status": "processing",
      "subtitle_url": "example",
      "task_id": "example",
      "url": "example"
    },
    "msg": "example"
  }
}

On this page