summarization · v1.0.0 · by apibazzar.admin@gmail.com
Summarize a block of text
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
| text | string | 필수 | - |
| max_sentences | integer | 선택 | - |
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
| summary | string | 필수 | - |
curl
curl -X POST https://apibazzar-production.up.railway.app/v1/execute \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"slug": "summarization",
"data": {
"text": "example"
},
"secrets": {}
}'Python SDK
from apibazzar import Client
client = Client(api_key="<YOUR_API_KEY>")
result = client.run(
"summarization",
data={
"text": "example"
},
)
print(result)API Key가 없다면 여기서 발급받으세요.