Creates a real-time meeting minutes task.
Prerequisites
Activate the service and obtain and configure an API key. To prevent security risks from code leaks, configure the API key as an environment variable instead of hard coding it in your code.
Overall call flow
For more information, see Real-time meetings.
Endpoint
Request method
POST method
Request headers
Request parameters
Name | Type | Required | Description | Example |
|---|---|---|---|---|
model | string | Yes | The business type. Set the value to | tingwu-meeting |
input | object | Yes | You can pass the relevant business parameters. | |
input.type | string | Yes | The task type. To create a real-time meeting task, set the value to `realtime`. | realtime |
input.appId | string | Yes | The application ID. You can obtain it from the application configuration page in the console. | |
input.task | string | Yes | The task type. Set the value to | createTask |
input.format | string | Yes | The encoding format of the meeting audio. Valid formats: pcm, opus, aac, speex, and mp3. This parameter is required when you create a meeting. It is optional when you end a meeting and generate minutes. | pcm |
input.sampleRate | int | Yes | The sample rate of the meeting audio. Valid values: 8000 and 16000. This parameter is required when you create a meeting. It is optional when you end a meeting and generate minutes. | 16000 |
input.phraseId | string | No | The ID of the hotword list. You can obtain it from the Hotwords page in the console. This parameter is required when you create a meeting. It is optional when you end a meeting and generate minutes. | |
input.dataId | string | Yes | The `dataId` obtained when the meeting was created. This parameter is required when you end a meeting and generate minutes. It is optional when you create a meeting. | |
parameters | object | No | The control parameters for generating real-time meeting minutes. If you pass a null object, the published online configuration is used. | |
parameters.transcription | object | No | The transcription control parameters. | |
parameters.transcription.model | string | No | The transcription model. Valid values:
| multilingual |
parameters.transcription.languageHints | array | No | This parameter takes effect only when | ["cn", "en"] |
parameters.transcription.diarizationEnabled | bool | No | Specifies whether to enable speaker diarization. | true |
parameters.transcription.diarizationSpeakerCount | int | No | The target number of speakers for diarization. Valid values:
The default value is 0. | 0 |
parameters.transcription.translationEnabled | bool | No | Specifies whether to enable translation. | true |
parameters.transcription.translationTargetLang | array | No | If translation is enabled, you must set the target language. Supported target languages:
You can select only one item at a time. | ["en"] |
parameters.audio | object | No | The audio parameters. | |
parameters.audio.audioChannelMode | string | No | The multi-channel audio configuration. Valid values:
If you pass an empty string or do not pass this parameter, the operation varies based on the audio sample rate:
| mix |
parameters.analysis | object | No | The large model analysis parameters. | |
parameters.analysis.model | string | No | The global analysis model. Valid values:
| tingwu-plus |
parameters.analysis.keyInformationEnabled | bool | No | Specifies whether to extract keywords. | true |
parameters.analysis.actionsEnabled | bool | No | Specifies whether to extract action items. | true |
parameters.analysis.fullSummaryEnabled | bool | No | Specifies whether to extract a full-text summary. | true |
parameters.analysis.fullSummaryFormat | string | No | The format of the full-text summary. Valid values:
This parameter takes effect only when | default |
parameters.analysis.conversationalEnabled | bool | No | Specifies whether to extract speaker summaries. | true |
parameters.analysis.questionsAnsweringEnabled | bool | No | Specifies whether to extract a Q&A review (or key points review). | true |
parameters.analysis.mindMapEnabled | bool | No | Specifies whether to extract a mind map. | true |
parameters.analysis.mindMapFormat | string | No | The format of the extracted mind map. Valid values:
This parameter takes effect only when | timestamp |
parameters.analysis.pptExtractionEnabled | bool | No | Specifies whether to extract PPT slides and PPT summaries from the video. | true |
parameters.analysis.autoChaptersEnabled | bool | No | Specifies whether to enable chapter overviews. | true |
parameters.analysis.autoChapterGranularity | string | No | The granularity for extracting chapter overviews. Valid values:
This parameter takes effect only when | Coarse |
parameters.analysis.autoChapterTitleLengthLevel | string | No | The length level of chapter titles. Valid values:
This parameter takes effect only when | Normal |
parameters.analysis.textPolishEnabled | bool | No | Specifies whether to convert spoken language to written text. | true |
parameters.analysis.customPromptEnabled | bool | No | Specifies whether to enable custom prompts. | true |
parameters.analysis.customPromptModel | string | No | The analysis model for custom prompts. Valid values:
This parameter takes effect only when | tingwu-plus |
parameters.analysis.customPromptTransType | string | No | Controls how the
This parameter takes effect only when | chat |
parameters.analysis.customPromptContent | string | No | The custom prompt. This parameter takes effect only when Note: You must include the If the | Please help me extract the role corresponding to each speaker ID from the original text. Possible roles include sales staff and test drive customers. The original text is as follows: {Transcription} |
Response parameters
Name | Type | Description | Example |
|---|---|---|---|
output | object | ||
output.dataId | string | The task ID. | |
output.status | int |
| 3 |
usage | object | The usage. This is currently a null object. | {} |
code | string | The error code. | InvalidParameter |
message | string | The error message. | Agent Input text format error. |
request_id | string | The request ID. | f97ee37d-0f9c-9b93-b6bf-bd263a232bf9 |
Request examples
Replace sk-*** in the Authorization request header with your actual Alibaba Cloud Model Studio API key.