Instruct
Query the /instruct
endpoint for Instruct models. Instruct models are used for single turn instructions.
Making the request
Endpoint: /instruct
Method: POST
Request body:
{"model": "model_name", "content": "your_content_here"}
Example:
import requests
data = {"model": "text-curie-001", "content": "Hey there from AiPrice.dev!"}
headers = {"X-API-KEY": "4088bbb2b9a34d75944e03810bbbe763"}
content = requests.post("https://api.aiprice.dev/instruct", json=data, headers=headers)
print(content.json)