| header | object | |
| header.task_id | string | Client-generated task ID (UUID format). |
| header.event | string | Event type. Always result-generated. |
| payload | object | |
| payload.output | object | |
| payload.output.usage | object | When payload.output.sentence.sentence_end is false (the current sentence has not ended), usage is null. When payload.output.sentence.sentence_end is true (the current sentence has ended), usage.duration indicates the billable duration of the current task. |
| payload.output.usage.duration | integer | Billable task duration, in seconds. |
| payload.output.sentence | object | |
| payload.output.sentence.begin_time | integer | Sentence start time, in milliseconds. |
| payload.output.sentence.end_time | integer | Sentence end time, in milliseconds. |
| payload.output.sentence.text | string | Recognized text. |
| payload.output.sentence.heartbeat | boolean | If true, you can skip this result (heartbeat packet). |
| payload.output.sentence.sentence_end | boolean | Whether the sentence has ended (true=final result, false=intermediate result). |
| payload.output.sentence.emo_tag | string | Tip: - Only paraformer-realtime-8k-v2 supports this feature. - This feature requires semantic segmentation to be disabled. Set
semantic_punctuation_enabled to false in the run-task event. - The emotion recognition result is returned only when
payload.output.sentence.sentence_end is true. Sentiment of the current sentence: - positive: Positive sentiment, such as happy or satisfied.
- negative: Negative sentiment, such as angry or dejected.
- neutral: No distinct sentiment.
|
| payload.output.sentence.emo_confidence | float | Tip: - Only paraformer-realtime-8k-v2 supports this feature. - This feature requires semantic segmentation to be disabled. Set
semantic_punctuation_enabled to false in the run-task event. - The emotion recognition result is returned only when
payload.output.sentence.sentence_end is true. Emotion confidence score in the range [0.0, 1.0]. A higher value indicates greater confidence. |
| payload.output.sentence.words | array[object] | Word-level timestamp information. |
| payload.output.sentence.words.begin_time | integer | Word start time, in milliseconds. |
| payload.output.sentence.words.end_time | integer | Word end time, in milliseconds. |
| payload.output.sentence.words.text | string | Recognized text. |
| payload.output.sentence.words.punctuation | string | Punctuation mark. |