GenAI Integration
Stream generate content (Gemini format)
Streams content generation using Google Gemini API format. The model is specified in the URL path.
post/genai/v1beta/models/{model}:streamGenerateContent
Request
- Base URLhttp://localhost:8080
- Auth
- HTTP bearer
- or HTTP basic
- or API key in header x-bf-vk
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
modelstring required
Model name with action (e.g., gemini-pro:streamGenerateContent)
Request body
Response
Successful streaming response
Changes
No recorded changes to this operation across all 1 revision of this API.