Cursor Integration
Gemini model action (Cursor mount)
Cursor mount of Gemini's wildcard generate-content/embed/count-tokens/ predict endpoints. The model path parameter includes the action suffix (e.g. gemini-pro:generateContent).
post/cursor/v1beta/models/{model}
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 optionally followed by an action suffix.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.