cURL
curl --request POST \ --url https://api.metatext.ai/v2/generate/{project_id} \ --header 'Content-Type: application/json' \ --data ' { "model": "<string>", "prompt": "<string>", "messages": [ {} ], "temperature": 0.2, "stop": "<string>", "max_tokens": 100 } '
{ "id": "<string>", "choices": [ "<unknown>" ], "created": 123, "model": "<string>", "usage": {}, "object": "text_completion", "system_fingerprint": "<string>", "metadata": {} }
Successful Response