Magic-Summary

Summarise any text with our new API - now in beta.
Sign up for the waitlist below.

Get Started

Just a few lines of code!

JavaScript
Python

JavaScript Example

                                        

var axios = require("axios").default;

var options = {
method: 'POST',
url: 'https://beta.eu-north.computational-magic.com/api/v1',
headers: {
    'content-type': 'application/json',
    'x-api-key': 'YOUR API KEY HERE'
},
data: {
    query: '{summary(input: "YOUR LONG STRING TO SUMMARISE HERE" )}'
}
};

axios.request(options).then(function (response) {
    console.log(response.data);
}).catch(function (error) {
    console.error(error);
});
                                        
                                    

Python Example

                                        

import requests
 
url = "https://beta.eu-north.computational-magic.com/api/v1"

headers = {'x-api-key': 'INSERT YOUR API KEY HERE!'}
 
query = """{summary(input: "INSERT YOUR LONG STRING HERE.")}"""

response = requests.post(url, headers=headers, json={'query': query})
print(response.status_code)
print(response.text)
                                        
                                        
                                    

Partners

IFB Innovationsstarter GmbH
nvidia-inception-program-badge-rgb-for-screen
NextMedia_Logo_rz

Recent Blogposts