{
"model": "string",
"contents": [
{
"role": "user",
"parts": [
{
"text": "string"
}
]
}
],
"config": {
"temperature": 0,
"topP": 0,
"topK": 0,
"candidateCount": 0,
"maxOutputTokens": 0,
"responseLogprobs": true,
"logprobs": 0,
"presencePenalty": 0,
"frequencyPenalty": 0,
"seed": 0,
"responseMimeType": "string",
"responseJsonSchema": null,
"property1": "string",
"property2": "string"
}
}curl --location '/api/ai/v1beta/models/:generateContent' \
--header 'Content-Type: application/json' \
--data '{
"model": "string",
"contents": [
{
"role": "user",
"parts": [
{
"text": "string"
}
]
}
],
"config": {
"temperature": 0,
"topP": 0,
"topK": 0,
"candidateCount": 0,
"maxOutputTokens": 0,
"responseLogprobs": true,
"logprobs": 0,
"presencePenalty": 0,
"frequencyPenalty": 0,
"seed": 0,
"responseMimeType": "string",
"responseJsonSchema": null,
"property1": "string",
"property2": "string"
}
}'{
"code": 0,
"message": "string",
"requestId": "string"
}