POST
/
tune.Studio
/
IntegrateExternalModel

Authorizations

X-Tune-Key
string
headerrequired

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
auth
object
provider
enum<string>
default: NOT_SET
Available options:
NOT_SET,
OPEN_AI,
ANTHROPIC,
OPENROUTER,
MISTRAL,
CUSTOM,
GROQ,
OPEN_AI_EMBEDDING
apiKey
string

The API key for the provider.

model
string

The model to be integrated.

name
string

The name of the model.

headers
object[]

The extra headers for the model api calls.

modality
enum<string>
default: MODALITY_UNSPECIFIED
  • 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
contextLength
integer

The context length of the model.

endpoint
string

The endpoint of the model.

meta
object

Response

200 - application/json

The response is of type object.