Grammar Checker
Check and correct grammar in text content using various AI models through the 1min.AI API. This endpoint provides automated grammar checking and correction for improving text quality and readability.
Available Models
Loading available models...
Request Parameters
All models share the same request structure:
| Field Name | Type | Supported Value | Description | Required |
|---|---|---|---|---|
| type | text | GRAMMAR_CHECKER | Feature name | ✔️ |
| model | text | See available models | Model identifier | ✔️ |
| conversationId | text | GRAMMAR_CHECKER | Conversation ID | ✔️ |
| promptObject.prompt | string | This sentence have some grammar mistake that need to be fix by the AI model for better readability. | Text to check for grammar | ✔️ |
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Code Example
- cURL
- JavaScript
- Python
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "GRAMMAR_CHECKER",
"model": "gpt-4o",
"conversationId": "GRAMMAR_CHECKER",
"promptObject": {
"prompt": "This sentence have some grammar mistake that need to be fix by the AI model for better readability."
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'GRAMMAR_CHECKER',
model: 'gpt-4o',
conversationId: 'GRAMMAR_CHECKER',
promptObject: {
prompt: 'This sentence have some grammar mistake that need to be fix by the AI model for better readability.'
}
})
})
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "GRAMMAR_CHECKER",
"model": "gpt-4o",
"conversationId": "GRAMMAR_CHECKER",
"promptObject": {
"prompt": "This sentence have some grammar mistake that need to be fix by the AI model for better readability."
}
}
response = requests.post(url, headers=headers, json=data)
Interactive Playground
Try the API directly in your browser:
Loading interactive playground...
Response Format
{}