Cygnal
Gemini Stream Generate Content
Create Gemini-compatible streaming responses with Cygnal protection.
Docs: Guide | API Reference
Path Parameters
model*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.grayswan.ai/cygnal/v1beta/models/string:streamGenerateContent""{\"candidates\":[{\"content\":{\"parts\":[{\"text\":\"example\"}]}}]}"{
"error": true,
"message": "string",
"detail": "string",
"error_code": "string",
"details": {
"property1": "string",
"property2": "string"
}
}{
"error": true,
"message": "string",
"detail": "string",
"error_code": "string",
"details": {
"property1": "string",
"property2": "string"
}
}{
"error": true,
"message": "string",
"detail": "string",
"error_code": "string",
"details": {
"property1": "string",
"property2": "string"
}
}{
"error": true,
"message": "string",
"detail": "string",
"error_code": "string",
"details": {
"property1": "string",
"property2": "string"
}
}