Tuning
Query the /tuning endpoint for Tuning models. Tuning models are used to create your own custom models by fine tuning the models with your data.
Notice here that you have to include the type key that can be equal to usage or training.
Making the request
Endpoint: /tuning
Method: POST
Request body:
{"model": "model_name", "content": "your_content_here", "type": "usage/training"}
Example:
import requests
data = {"model": "text-curie-001", "content": "Hey there from AiPrice.dev!", "type": "usage"}
headers = {"X-API-KEY": "4088bbb2b9a34d75944e03810bbbe763"}
content = requests.post("https://api.aiprice.dev/tuning", json=data, headers=headers)
print(content.json())