Generate content
Same compatible endpoint as /v1beta/models/{model}:generateContent. Both paths work; Google's official page currently documents v1beta.
post/v1/models/{model}:generateContent
Request
- Base URL: https://gateway.amux.ai
- URL: https://gateway.amux.ai/v1/models/{model}:generateContent
- Auth: API key in header x-goog-api-key
Path parameters
modelstring required
Canonical ID, given in the path (Gemini puts the model name and the action in the URL). Do not escape the slash in vendor/model. The colon suffixes work here too — :provider to pin one, :@strategy to choose an ordering — placed before the action (models/vendor/model:@price:generateContent).
Headers
Content-Typestring required
Always application/json.
Request body
(unresolved $ref)
Response
(unresolved $ref)
Changes
No recorded changes to this operation across all 1 revision of this API.