Интерфейс чата - чтение веб-страниц [нативный формат] в разработке
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Compare recipes from http://104.243.32.173:9631/"
}
]
}
],
"tools": [
{
"url_context": {}
}
]
}
Request Code Samples
curl --location --globoff 'https://stackapi.ai/v1beta/models/gemini-2.5-pro-preview-03-25:generateContent?key=' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"contents": [
{
"role": "user",
"parts": [
{
"text": "Compare recipes from http://104.243.32.173:9631/"
}
]
}
],
"tools": [
{
"url_context": {}
}
]
}'
Responses
application/json
Modified at 2026-06-15 10:10:18