Text Summarization
POST /v1/text/summary
Please refer to Quickstart Guide to obtain your API key.
Replace $YOUR_API_KEY with the actual API key generated in the previous step.
Please ensure to replace $MODEL_ID with the model ID to be used (e.g., opeai/deepseek-v3).
Request Body
model string Required
The Model ID for text summarization. For example: opeai/deepseek-v3.
language string Optional DDefaults to zh
Specifies the language of the input text. For example: "zh", "en", "ja", etc.
stream boolean Optional Defaults to false
Whether to return summarization results via streaming. When set to true, the summary will be returned in chunks.
text string Required
The original text content of the dialogue to be summarized. This string should contain dialogue records organized in a specific format.
text format: Name Date Time Content
Note: Each part should be separated by a space. Dialogue lines should be separated by \n.
Response Parameters
Same as Chat Completion Object.