Hume AI

App · Voice AI · 5 actions

Ask Hume questions about recordings, such as whether a caller sounds frustrated or how clearly someone speaks, and get the answer people listening would give. Measure the expressions in a voice or on the faces in a photo.

Actions

ActionWhat it does
Ask a question about a recordingAsk one question about a recording, such as whether a caller sounds frustrated or how clearly someone speaks, and get the answer people listening would give, with how sure they'd be.
Get a question askedLook up one question asked about a recording: when it ran, whether it answered, what it was billed and what was asked.
List questions askedList the questions this Hume organization has asked about recordings, newest first, with when each ran and what it was billed.
Measure the expressions in a voiceScore the expressions heard in someone's voice, such as calm, interest or tiredness, every few seconds of speech, with the strongest across the whole recording.
Measure the expressions on facesFind the faces in one or more JPEG images and score the expressions on each, such as joy, concentration or surprise.

Ask a question about a recording

Ask one question about a recording, such as whether a caller sounds frustrated or how clearly someone speaks, and get the answer people listening would give, with how sure they'd be. Hume bills it by the length of the audio, a fraction of a cent for a few minutes. Needs Audio Decisions access on the Hume organization.

Inputs

RecordingrecordingtextRequired
Upload an MP3 or WAV file, use one an earlier step produced, or paste a public https link to one. From 1 second to 5 minutes long.
QuestionquestiontextRequired
What to ask, in plain words, such as 'Does the caller sound frustrated?'
Answer withanswer_typetext
The kind of answer the question takes.One of: yes_no (Yes or no), choice (One of a few options), scale (A point on a scale), moments (When it happens). Default: yes_no.
Optionsoptionslist
The answers to choose from, or the scale's levels from lowest to highest, such as Calm, Annoyed, Angry.Only when Answer with is One of a few options or A point on a scale.
Backgroundcontexttext
Anything that helps make sense of the recording, such as who is speaking or where.

Outputs

answertext
The answer in a word: yes or no, the option chosen, the nearest level of the scale, or found or not found.
answer_typetext
yes_no, choice, scale or moments.
confidencenumber
For options and scales: how much people would agree, from 0 to 1.
input_tokensnumber
The input tokens Hume billed.
momentslist
For when it happens: each stretch it may happen in, with start_seconds, end_seconds and probability.
probabilitiesobject
For options and scales: the chance of each option or level.
questiontext
The question.
run_idtext
The run's id.
scorenumber
For a scale: where it falls, from 0 for the lowest level up.
yes_sharenumber
For yes or no: the share of people who would say yes, from 0 to 1.
Example output
{
  "answer": "yes",
  "answer_type": "yes_no",
  "confidence": null,
  "input_tokens": 3120,
  "moments": [],
  "probabilities": {},
  "question": "Does the caller sound frustrated?",
  "run_id": "6f1c2a8e-4b5d-4e7f-9a0b-1c2d3e4f5a6b",
  "score": null,
  "yes_share": 0.82
}

Get a question asked

Look up one question asked about a recording: when it ran, whether it answered, what it was billed and what was asked.

Inputs

Runrun_idtextRequired
The run id, as given back by 'Ask a question about a recording' or 'List questions asked'.

Outputs

contexttext
The background given with it.
ended_attext
When it ended.
file_bytesnumber
The size of the recording it was sent.
input_tokensnumber
The input tokens it was billed, if it was billed.
questionslist
What was asked: id, question and kind.
run_idtext
The decision's run id.
started_attext
When it started.
statustext
ended if it answered, errored if it didn't.
Example output
{
  "context": "A support call about a late delivery.",
  "ended_at": "2026-12-01T15:04:09Z",
  "file_bytes": 812044,
  "input_tokens": 3120,
  "questions": [
    {
      "id": "question",
      "kind": "noul",
      "question": "Does the caller sound frustrated?"
    }
  ],
  "run_id": "6f1c2a8e-4b5d-4e7f-9a0b-1c2d3e4f5a6b",
  "started_at": "2026-12-01T15:04:05Z",
  "status": "ended"
}

List questions asked

List the questions this Hume organization has asked about recordings, newest first, with when each ran and what it was billed. Listing is free.

Inputs

Outcomestatustext
Only include the ones that ended this way.One of: ended (Answered), errored (Failed).
Asked afterstarted_afterdate and time
Only include ones asked after this time.
Asked beforestarted_beforedate and time
Only include ones asked before this time.
How many to returnlimitnumber
The most to return.From 1 to 200. Default: 25.

Outputs

run_countnumber
How many were returned.
runslist
One entry per question asked, newest first.
Example output
{
  "run_count": 1,
  "runs": [
    {
      "ended_at": "2026-12-01T15:04:09Z",
      "file_bytes": 812044,
      "input_tokens": 3120,
      "run_id": "6f1c2a8e-4b5d-4e7f-9a0b-1c2d3e4f5a6b",
      "started_at": "2026-12-01T15:04:05Z",
      "status": "ended"
    }
  ]
}

Measure the expressions in a voice

Score the expressions heard in someone's voice, such as calm, interest or tiredness, every few seconds of speech, with the strongest across the whole recording. It reads WAV files of 16-bit audio. Hume bills it by the length of the audio.

Inputs

RecordingrecordingtextRequired
A WAV file of 16-bit audio, up to 25 MB: uploaded, from an earlier step, or a public https link. Lodol converts it to the 16 kHz mono that Hume reads.
Measure everyinterval_secondsnumber
How many seconds of speech between measurements.From 3 to 10. Default: 3.

Outputs

duration_secondsnumber
How long the recording runs.
measurement_countnumber
How many measurements it took.
measurementslist
Each measurement: start_seconds, end_seconds, and its five strongest expressions.
run_idtext
The run's id.
strongest_expressionslist
The five strongest across the recording.
utterance_countnumber
How many stretches of speech it heard.
Example output
{
  "duration_seconds": 5.0,
  "measurement_count": 1,
  "measurements": [
    {
      "end_seconds": 4.8,
      "expressions": [
        {
          "name": "Calmness",
          "score": 0.41
        },
        {
          "name": "Interest",
          "score": 0.33
        }
      ],
      "start_seconds": 0.5,
      "utterance": 0
    }
  ],
  "run_id": "8a7b6c5d-4e3f-4a1b-9c8d-7e6f5a4b3c2d",
  "strongest_expressions": [
    {
      "name": "Calmness",
      "score": 0.41
    },
    {
      "name": "Interest",
      "score": 0.33
    }
  ],
  "utterance_count": 1
}

Measure the expressions on faces

Find the faces in one or more JPEG images and score the expressions on each, such as joy, concentration or surprise. Hume bills a third of a second of video per image.

Inputs

ImagesimageslistRequired
JPEG images of up to 2 MB each: uploaded, from an earlier step, or public https links.

Outputs

face_countnumber
How many faces it found in them.
image_countnumber
How many images it read.
imageslist
Each image in order, with its faces: confidence, bounding_box and the five strongest expressions.
run_idtext
The run's id.
strongest_expressionslist
The five strongest across every face.
Example output
{
  "face_count": 1,
  "image_count": 1,
  "images": [
    {
      "faces": [
        {
          "bounding_box": [
            112.0,
            80.0,
            304.0,
            296.0
          ],
          "confidence": 0.99,
          "expressions": [
            {
              "name": "Joy",
              "score": 0.72
            },
            {
              "name": "Amusement",
              "score": 0.4
            }
          ]
        }
      ],
      "image": 0
    }
  ],
  "run_id": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
  "strongest_expressions": [
    {
      "name": "Joy",
      "score": 0.72
    },
    {
      "name": "Amusement",
      "score": 0.4
    }
  ]
}

On this page