curl --location --request POST 'https://api.ai21.com/studio/v1///complete' \
--header 'Content-Type: application/json' \
--data-raw '{
"numResults": 1,
"maxTokens": 16,
"minTokens": 0,
"temperature": 0.7,
"topP": 1,
"topKReturn": 0,
"frequencyPenalty": {
"scale": 0,
"applyToWhitespaces": true,
"applyToPunctuations": true,
"applyToNumbers": true,
"applyToStopwords": true,
"applyToEmojis": true
},
"presencePenalty": {
"scale": 0,
"applyToWhitespaces": true,
"applyToPunctuations": true,
"applyToNumbers": true,
"applyToStopwords": true,
"applyToEmojis": true
},
"countPenalty": {
"scale": 0,
"applyToWhitespaces": true,
"applyToPunctuations": true,
"applyToNumbers": true,
"applyToStopwords": true,
"applyToEmojis": true
}
}'