curl --location --request POST 'https://llm-api.mmchat.xyz/gemini/v1beta/models/gemini-2.5-flash-preview-05-20:generateContent?key=METACHAT_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"parts": [
{
"text": "Explain how AI works"
}
]
}
],
"generationConfig": {
"stopSequences": [
"Title"
],
"temperature": 1.0,
"maxOutputTokens": 800,
"topP": 0.8,
"topK": 10
}
}'
{}