Skip to main content
POST
/
v1
/
prompt-generation
/
prompt
/
generate
Generate Prompt
curl --request POST \
  --url https://api.example.com/v1/prompt-generation/prompt/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "raw_prompt": "<string>",
  "instructions": ""
}
'
{
  "user_id": "<string>",
  "prompt_id": "<string>",
  "prompt": "<string>"
}

Body

application/json
raw_prompt
string
required

The raw prompt to generate a prompt from

instructions
string
default:""

Optional instructions for prompt generation

Response

Successful Response

user_id
string
required

Unique identifier for the user

prompt_id
string
required

Unique identifier for the generated prompt

prompt
string
required

The generated prompt