POST
/
v1
/
template
/
ai
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>"
}'
{
  "completion": "<string>",
  "message": "<string>",
  "name": "<string>",
  "template_id": "<string>"
}

Authorizations

X-API-Key
string
headerrequired

Body

application/json
prompt
string
required

Response

200 - application/json
completion
string
message
string
required
name
string
template_id
string