Models
Models endpoint
Last updated
Models endpoint
Last updated
There are about 150 models available on webraftai api, but well shouldn't there be a list for you to actually get to know which all models are available? Yeah there is a list which will tell you model names and even their designated endpoints.
The two models endpoint are:
As the endpoint supports get requests you can also use your browser to access it. Just head over to the models endpoint in your browser and you'll see a json list containing model names and some information.
The id and name fields are just duplicates for supporting programmed model chooser. The information tells about the endpoint through which the model can be used, if the model is premium or not and the available free credits for it.
You can also use the models endpoint in code, a sample code structure is mentioned below:
Now lets move onto using chat completion api endpoint in the next section.