POST/api/v1/transcriptions

Social Transcription

Social transcription process from a supported social URL.

Send a supported media URL to create a transcription job. You can choose the response format, optionally request translation, and control timestamp granularity. (Max 1 hour video, max 5 concurrent job at the same time, 1 credit per minute rounded up)

Parameters

Label

Source URL

Default value

POST/api/v1/transcriptions
const response = await fetch("https://api.dictationer.com/api/v1/transcriptions", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "url": "",
  "responseFormat": "json",
  "timestampDetailLevel": "segment"
}),
});

const data = await response.json();
console.log(data);
Response
{
  "responseFormat": "json",
  "completedIn": 2.124,
  "duration": 49.57,
  "cost": 1,
  "linkType": "instagram",
  "transcription": {
    "duration": 49.57,
    "language": "en",
    "text": " This is how I used Meta AI Restyle and Stories to create my own custom textiles. Listen, I've never been a vision board girl, but this year I'm making one with my resolutions because I can't leave it up to chance anymore. So I started by sketching an outline for the design and then headed to make a story on Instagram. I picked a solid color background and then typed out each goal for the year and clicked this button to customize them using Restyle. For travel, I used the directional font and restyled it to look like roads with little cars on them and made my name look like it's made out of circuit boards. I repeated this for all the words and then saved them and printed them all out. Then I used glue tape to secure them to the base collage, which was just notebook paper and a printed out photo of myself. And finally I added extra hand drawn elements and scanned it. I love going back and forth with digital and analog media when making art, and Instagram's been such a home for it all that it just makes sense to use story features in a collage. This is the final product, what do you think? Now go try out Restyle and make something special.",
    "segments": [
      {
        "text": " This is how I used Meta AI Restyle and Stories to create my own custom textiles.",
        "start": 0,
        "end": 4.12
      },
      {
        "text": " Listen, I've never been a vision board girl, but this year I'm making one with my resolutions",
        "start": 4.34,
        "end": 7.82
      },
      {
        "text": " because I can't leave it up to chance anymore.",
        "start": 7.82,
        "end": 9.84
      },
      {
        "text": " So I started by sketching an outline for the design and then headed to make a story on Instagram.",
        "start": 9.98,
        "end": 13.74
      },
      {
        "text": " I picked a solid color background and then typed out each goal for the year",
        "start": 14.02,
        "end": 16.96
      },
      {
        "text": " and clicked this button to customize them using Restyle.",
        "start": 16.96,
        "end": 19.36
      },
      {
        "text": " For travel, I used the directional font and restyled it to look like roads with little cars on them",
        "start": 19.56,
        "end": 23.88
      },
      {
        "text": " and made my name look like it's made out of circuit boards.",
        "start": 23.88,
        "end": 26.06
      },
      {
        "text": " I repeated this for all the words and then saved them and printed them all out.",
        "start": 26.28,
        "end": 29.26
      },
      {
        "text": " Then I used glue tape to secure them to the base collage, which was just notebook paper",
        "start": 29.26,
        "end": 32.76
      },
      {
        "text": " and a printed out photo of myself.",
        "start": 32.76,
        "end": 34.46
      },
      {
        "text": " And finally I added extra hand drawn elements and scanned it.",
        "start": 34.46,
        "end": 37.22
      },
      {
        "text": " I love going back and forth with digital and analog media when making art, and Instagram's",
        "start": 37.22,
        "end": 41.14
      },
      {
        "text": " been such a home for it all that it just makes sense to use story features in a collage.",
        "start": 41.14,
        "end": 44.92
      },
      {
        "text": " This is the final product, what do you think?",
        "start": 44.92,
        "end": 46.94
      },
      {
        "text": " Now go try out Restyle and make something special.",
        "start": 46.94,
        "end": 49.38
      }
    ],
    "words": []
  }
}