import requests
url = "https://api.inferkit.com/v1/models/standard/generate"
params = {
"prompt": {
"text": "Hello world!"
},
"length": 500
}
headers = {
'Authorization': 'Bearer fc793bbe-dbc5-47d7-8823-a8d06fb24f28',
'Content-Type': 'application/json'
}
response = requests.post(url, headers=headers, json=params)
print(response.text)