API

Send a file, get a transcript back.

The API draws on the same credits as the app - plan credits first, then top-up credits. A file costs one credit for each minute of audio and failed jobs refund automatically.

Create a key in Settings → API keys and get credits on the pricing page.

Authentication

Pass your key as a bearer token on every request. Keys start with fs_live_ and can be revoked in Settings at any time.

Authorization: Bearer fs_live_...

Create a transcription

POST /api/v1/transcriptions - the file is the raw request body (not multipart), with the name in X-Filename. Audio and video both work; files can be up to 10 hours. The response returns immediately while transcription runs in the background - it also shows the credits you have left. If you know the spoken language, pass its ISO code in X-Language (e.g. de, es) - it skips auto-detection, which helps on short or noisy audio. Unknown codes are rejected with a 400.

curl -X POST https://flashscribe.ai/api/v1/transcriptions \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "X-Filename: interview.mp3" \
  -H "X-Language: de" \
  --data-binary @interview.mp3
{
  "id": "1f0f9a4e-...",
  "status": "pending",
  "original_name": "interview.mp3",
  "duration_sec": 1847.3,
  "credits_charged": 30.79,
  "credits_remaining": 269.21,
  "credits_charged_sec": 1847.3,
  "credits_remaining_sec": 16152.7,
  "created_at": "2026-08-26T14:03:07.512Z"
}

Fetch the result

GET /api/v1/transcriptions/{id} - poll until status is completed (roughly a minute per audio-hour). Completed responses include the full text, word-level timestamps, and sentence-shaped subtitle cues. Transcriptions paid from credits also label speakers: words and cues carry a speaker field ("A", "B", …) whenever more than one voice was heard.

curl https://flashscribe.ai/api/v1/transcriptions/1f0f9a4e-... \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"
{
  "id": "1f0f9a4e-...",
  "status": "completed",
  "language": "english",
  "duration_sec": 1847.3,
  "text": "Welcome back to the show - today we're talking about...",
  "words": [{ "word": "Welcome", "start": 1.24, "end": 1.61, "speaker": "A" }, ...],
  "cues":  [{ "start": 1.24, "end": 3.81, "text": "Welcome back to the show -", "speaker": "A" }, ...],
  "speaker_names": { "A": "Dana" }
}

Add ?format=srt, ?format=vtt or ?format=txt to the same URL to get a ready-made file instead of JSON - subtitles carry the speaker name on every change of voice. Documents have no timestamps, so they offer txt only. Asking before the transcript is ready answers 409.

curl -o interview.srt \
  "https://flashscribe.ai/api/v1/transcriptions/1f0f9a4e-...?format=srt" \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"

Rate limits

Two limits, both answering 429 with a Retry-After header saying how many seconds to wait. Rejected keys are capped at 10 a minute per IP address, so a key that works is never held up by one that doesn't. Uploads are capped at 30 a minute per key - far past any real batch, and it only counts the two calls that create a transcription. Image and video orders are capped at 20 a minute per key, and one key can spend up to 27,000 credits a day on images and videos together - past that an order answers 429 until midnight UTC, with nothing charged. Reading results is not limited. Every charge that came through a key is listed on that key's own page: Settings → API keys → Usage.

An image or a video order can be sent with an Idempotency-Key header - any name of your own, up to 128 characters. If the answer is lost (a timeout, a dropped connection), send the same request with the same key: you get the first order back, marked Idempotent-Replayed: true, and are not charged twice. A key whose order is still being made, or failed, answers 409.

Sources

Watch a podcast, a YouTube channel, a blog or a page; new entries are scored 0-100 against your topics and, for articles, get facts with verbatim quotes checked against the text. Nothing is transcribed until you approve it. POST /api/v1/sources takes any link - the feed behind it is discovered for you - and an optional topics list. Plans watch 2 sources (Free) or 25 (paid).

curl -X POST https://flashscribe.ai/api/v1/sources \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"url": "https://feed.syntax.fm/", "topics": ["JavaScript", "web tooling"]}'
{
  "source": {
    "id": "cmf...",
    "kind": "podcast",
    "url": "https://feed.syntax.fm/",
    "title": "Syntax - Tasty Web Development Treats",
    "topics": ["JavaScript", "web tooling"],
    "paused": false,
    "item_count": 0,
    "new_count": 0
  }
}

GET /api/v1/sources lists what you watch; GET /api/v1/sources/{id}/items returns the entries best score first (?status=new by default, or dismissed, done, all) with their facts; DELETE /api/v1/sources/{id} stops watching.

{
  "items": [{
    "id": "cmf...",
    "title": "1037: WebMCP is here (and you should care)",
    "link": "https://syntax.fm/1037",
    "published_at": "2026-09-09T11:00:00.000Z",
    "duration_sec": 3390,
    "media_url": "https://traffic.megaphone.fm/FSI4063165063.mp3",
    "score": 88,
    "score_reason": "A primary-source walkthrough of the new W3C standard you follow.",
    "facts": [{ "text": "...", "quote": "...", "start": 1204, "end": 1290, "match": "exact" }],
    "status": "new",
    "transcription_id": null
  }]
}

POST /api/v1/items/{id}/approve transcribes an episode or video - priced like any link, by its length - or saves an article's text as a finished document at no charge. Either way you get a transcription_id to poll with the endpoint above. Optional language hint in the body.

curl -X POST https://flashscribe.ai/api/v1/items/cmf.../approve \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"

{ "transcription_id": "1f0f9a4e-...", "status": "pending" }

Images

POST /api/v1/images - an AI image from a prompt you write. Send JSON with a prompt (up to 1,500 characters). Two things are optional: a size - square (1:1), wide (16:9) or story (9:16), each about one megapixel - and a quality. standard costs 5 credits; best costs 30 credits, follows long prompts more closely and can put readable words in the picture. The call waits for the picture and answers 201 once it is made. Nothing is charged when no image comes out. One image is drawn at a time for an account: a second order sent meanwhile answers 429.

curl -X POST https://flashscribe.ai/api/v1/images \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A lighthouse at dusk, flat vector art", "size": "wide"}'
{
  "id": "cmi5x2k9d0001...",
  "prompt": "A lighthouse at dusk, flat vector art",
  "size": "wide",
  "quality": "standard",
  "references": 0,
  "content_type": "image/jpeg",
  "credits_charged": 5,
  "credits_remaining": 264.21,
  "credits_charged_sec": 300,
  "credits_remaining_sec": 15852.7,
  "created_at": "2026-11-18T14:03:07.512Z"
}

From reference pictures. To keep the same character, object or drawing style from one picture to the next, send up to 3 reference pictures with the order: reference_image_ids (a list of ids of your own images, made through this endpoint or in the Studio) and/or reference_images (a list of your own PNGs or JPEGs as base64 or data: URIs, 16 MB together). Say in the prompt what to keep from them. Such an image costs 10 credits at standard and 40 credits at best, whatever the number of references; the answer's references says how many were used. A picture larger than a megapixel is made smaller before the model sees it. Without references nothing changes: the same models, the same price.

curl -X POST https://flashscribe.ai/api/v1/images \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "The same fox as in the reference picture, now rowing a small boat",
       "reference_image_ids": ["cmi5x2k9d0001..."]}'

GET /api/v1/images/{id} - the picture itself, as a file. Your account keeps the newest 100 images made this way, so save the ones you want to keep.

curl -o lighthouse.jpg https://flashscribe.ai/api/v1/images/cmi5x2k9d0001... \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"

Videos

POST /api/v1/videos - an AI video, with sound, from a prompt you write. The body is the same as for an image: prompt, and optionally size (square (1:1), wide (16:9) or story (9:16); wide when left out), quality and duration in seconds (5 when left out). For 5 seconds, standard costs 90 credits; best costs 300 credits and uses a stronger model; voice (the most natural speech, for people talking) costs 135 credits. Every level is charged by the second: 5-15 seconds for standard and best, 1-15 for voice. A video is usually ready in under a minute, sometimes a few, so the call answers 202 at once with pending. Up to 2 can be in the making at a time.

curl -X POST https://flashscribe.ai/api/v1/videos \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Waves break against a lighthouse at dusk, the camera slowly rises", "size": "wide"}'
{
  "id": "cmi5x9p2k0003...",
  "status": "pending",
  "prompt": "Waves break against a lighthouse at dusk, the camera slowly rises",
  "size": "wide",
  "quality": "standard",
  "image_id": null,
  "duration_sec": 5,
  "credits_charged": 90,
  "credits_remaining": 174.21,
  "credits_charged_sec": 5400,
  "credits_remaining_sec": 10452.7,
  "created_at": "2026-11-18T14:03:07.512Z"
}

From a picture. To animate a picture instead of having the model invent the first frame, add image_id (one of your images, made through POST /api/v1/images or in the Studio) or image (your own PNG or JPEG as base64 or a data: URI, up to 8 MB). The prompt then says what happens from that frame on, and the video takes the picture's shape, whatever size says. The price is the same.

jq -n --arg img "$(base64 -i goose.png)" \
  '{prompt: "The goose lifts the microphone and asks his question", image: $img}' |
curl -X POST https://flashscribe.ai/api/v1/videos \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY" \
  -H "Content-Type: application/json" -d @-

GET /api/v1/videos/{id} - poll every few seconds until status is completed, then fetch the file from GET /api/v1/videos/{id}/file. If the status is failed, the answer carries the reason in error, the credits have been handed back, and the file address answers 410. Your account keeps its newest 30 videos.

{
  "id": "cmi5x9p2k0003...",
  "status": "completed",
  "prompt": "Waves break against a lighthouse at dusk, the camera slowly rises",
  "size": "wide",
  "quality": "standard",
  "duration_sec": 5,
  "created_at": "2026-11-18T14:03:07.512Z",
  "content_type": "video/mp4"
}

This answer has no credits fields - the order's answer said what was charged, and GET /api/v1/credits has the balance.

curl -o lighthouse.mp4 https://flashscribe.ai/api/v1/videos/cmi5x9p2k0003.../file \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"

Credits

GET /api/v1/credits - your balance and your credit history, newest first: every charge, refund and top-up, and your plan's monthly credits. Each entry has what it was (kind, item, a readable title and the file name or the first words of the prompt as label), the change in credits - below zero is spent - and the balance right after it. Page through it with limit (1-100, default 50) and offset. The call is free and changes nothing.

curl "https://flashscribe.ai/api/v1/credits?limit=2" \
  -H "Authorization: Bearer $FLASHSCRIBE_API_KEY"
{
  "credits_remaining": 259.21,
  "credits_remaining_sec": 15552.7,
  "entries": [
    {
      "id": "cmi6a1b2c0004...",
      "kind": "charge",
      "item": "image",
      "title": "Image",
      "label": "A lighthouse at dusk, flat vector art",
      "credits": -5,
      "credits_sec": -300,
      "balance": 259.21,
      "balance_sec": 15552.7,
      "created_at": "2026-11-19T05:03:07.512Z"
    },
    {
      "id": "cmi69x8y70002...",
      "kind": "purchase",
      "item": null,
      "title": "Top-up",
      "label": "$3.00",
      "credits": 300,
      "credits_sec": 18000,
      "balance": 300,
      "balance_sec": 18000,
      "created_at": "2026-11-18T21:40:12.090Z"
    }
  ],
  "has_more": true
}

kind is one of charge, refund, purchase, plan, expired (plan credits that ran out unused), refunded or disputed (a payment was refunded or disputed and its credits taken back - credits is 0 when they were already used) or restored (credits a refund or a dispute took, given back). balance is null on older entries, from before the history was kept.

Use it from Claude or Codex

Flashscribe is also a connector for AI assistants: in a chat you can ask for your transcripts, have images and videos made from them and check your credits. Add this address as a custom connector and sign in to Flashscribe when asked - no API key is needed:

https://flashscribe.ai/mcp

The connector guide has the steps for Claude, Claude Code and Codex, what to ask for and what each thing costs. You can disconnect an assistant at any time in Settings → Connected apps.

Errors

Errors are JSON with an error message and a meaningful status code:

Credits are charged when the upload is accepted and refunded in full if transcription fails. One credit is one minute of transcription; the credits_* fields give amounts in credits and the *_sec fields the same amounts in seconds. API usage always draws on your paid credits - the free daily allowance applies only in the app.