Skip to main content
POST
/
v1
/
extract
Extract from media
curl --request POST \
  --url https://api.vidjutsu.ai/v1/extract \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "mediaUrl": "<string>",
  "frames": "<unknown>",
  "audio": true,
  "metadata": true
}
'
{
  "frames": [
    {
      "index": 123,
      "url": "<string>"
    }
  ],
  "audio": {
    "url": "<string>",
    "duration": 123
  },
  "metadata": {
    "width": 123,
    "height": 123,
    "fps": 123,
    "duration": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vidjutsu.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
mediaUrl
string
required

URL of the video to extract from

frames
any

Frame indices to extract. Use [0, 75, 150] for specific frames, 'auto' for 3 evenly spaced, or 'last' for the final frame

audio
boolean

Extract audio track as WAV

metadata
boolean

Return video metadata (width, height, fps, duration). Defaults to true

Response

The request has succeeded.

frames
object[]
audio
object
metadata
object