Summarise Text
POST https://api.apyhub.com/ai/summarize-text
Generate concise summaries of text and webpages using AI. The API can also translate the summary into any of the supported languages and the summary length can be customized.
Request Body
{"text"=>"Once upon a time in the quaint town of Willowbrook, nestled amidst rolling green hills, lived a young woman named Emily. Every morning, she would wake up to the gentle chime of her antique alarm clock and begin her routine: stretching her limbs, brushing her teeth with minty precision, and brewing a steaming cup of coffee that filled the air with its comforting aroma. Her days followed a predictable pattern as she strolled to the cozy bakery on Oak Street, exchanging warm greetings with familiar faces along the way. Inside the bakery, she would order a flaky croissant and chat briefly with the friendly baker, Mr. Thompson, who never failed to share a new tale from the towns history. As the sun reached its peak, Emily made her way to the local library, losing herself in the pages of classic novels and enriching her mind with knowledge from various non-fiction books. Lunchtime meant a visit to the inviting park, where she spread out a blanket and enjoyed a simple yet delightful picnic of sandwiches and fresh fruits. Afternoons were for her part-time job at the charming flower shop, where she artfully arranged bouquets, adding vibrant colors to peoples lives. Evenings were a peaceful affair as she prepared a hearty meal, savoring each bite, and spent quality time with her cherished cat, Whiskers, who never ceased to entertain her with amusing antics. Nighttime brought serenity as Emily gazed at the starry sky from her bedroom window before drifting off to sleep, knowing that the next day would be much like the one before, filled with comforting rituals and familiar faces. And so, life continued in the unassuming town of Willowbrook, where the days were marked by routine, and the simplicity of everyday existence brought contentment to Emilys heart.", "summary_length"=>"medium", "output_language"=>"hi"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | The "content-type: application/json" is a standard media type used to indicate that the data being transferred in a request or response is in JSON | |
apy-token | string | Provide your secret apy-token. |