Model
Integrate external models
Integrate an external model.
POST
Authorizations
Tune API Keys are the preferred way to authenticate with the API. You can create an API Key from your Tune Studio Profile → 'Access Keys' (in sidebar)
Body
application/json
The API key for the provider.
The context length of the model.
The endpoint of the model.
The extra headers for the model api calls.
- MODALITY_TEXT: Text.
- MODALITY_IMAGE: Image.
- MODALITY_AUDIO: Audio.
- MODALITY_VIDEO: Video.
- MODALITY_IMAGE_TEXT: Image and Text.
Available options:
MODALITY_UNSPECIFIED
, MODALITY_TEXT
, MODALITY_IMAGE
, MODALITY_AUDIO
, MODALITY_VIDEO
, MODALITY_IMAGE_TEXT
The model to be integrated.
The name of the model.
Available options:
NOT_SET
, OPEN_AI
, ANTHROPIC
, OPENROUTER
, MISTRAL
, CUSTOM
, GROQ
, OPEN_AI_EMBEDDING
Response
200 - application/json
The response is of type object
.
Was this page helpful?