API KeysShorts

Shorts & Quiz Video

Generate short video clips or quiz video content from an existing note. All endpoints below accept an API key (X-API-Key or Authorization: Bearer ntx_...).

Base URL: https://api.notexapp.com

Generate shorts — POST /v2/create/shorts

Create a short-form video clip from a note. Returns a task_id — poll Tasks for the result.

Also accepts: user JWT, service key.

Content-Type: application/x-www-form-urlencoded

FieldTypeRequiredDescription
note_idstringrequiredID of the note to generate from
voice_idstringrequiredNarration voice id
clip_durationintegeroptionalTarget clip duration in seconds
is_audio_onlybooleanoptionalProduce audio only (no video)
bg_idstringoptionalBackground video/image id
curl -X POST https://api.notexapp.com/v2/create/shorts \
  -H "X-API-Key: ntx_live_..." \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "note_id=665f..." \
  --data-urlencode "voice_id=en-US-Standard-A" \
  --data-urlencode "clip_duration=60"

Response (200) — returns a task_id:

{
  "status": "PROCESSING",
  "data": {
    "task_id": "b3f1a2c4-...",
    "user_id": "665f..."
  }
}

Generate quiz video — POST /v2/create/quiz-video

Create a quiz-style video from a note. Returns a task_id — poll Tasks for the result.

Also accepts: user JWT, service key.

Content-Type: application/x-www-form-urlencoded

FieldTypeRequiredDescription
note_idstringrequiredID of the note to generate from
voice_idstringrequiredNarration voice id
bg_idstringoptionalBackground video/image id
template_idstringoptionalVideo template id
curl -X POST https://api.notexapp.com/v2/create/quiz-video \
  -H "X-API-Key: ntx_live_..." \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data-urlencode "note_id=665f..." \
  --data-urlencode "voice_id=en-US-Standard-A"

Response (200) — returns a task_id:

{
  "status": "PROCESSING",
  "data": {
    "task_id": "b3f1a2c4-...",
    "user_id": "665f..."
  }
}

Poll the task result to get the video URL:

{
  "status": "SUCCESS",
  "data": {
    "note_id": "665f...",
    "video_url": "https://cdn.notexapp.com/videos/..."
  }
}
Was this page helpful?