POST
/
v1
/
template
/
user
/
generate
curl --request POST \
  --url https://templates-api.nuclei.sh/v1/template/user/generate \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "model": "<string>"
}'

Parameters (required)

prompt
string
required

AI Prompt to generate nuclei template

model
string
default:"gpt-4"
required

OpenAI model to use