cURL
curl --request POST \ --url https://api.projectdiscovery.io/v1/template/ai \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "prompt": "<string>" } '
{ "template_id": "<string>", "message": "<string>", "completion": "<string>", "name": "<string>" }
Example response
Was this page helpful?