cURL
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>" }
Generate a prompt based on the provided instruction and context.
The raw prompt to generate a prompt from
Optional instructions for prompt generation
Successful Response
Unique identifier for the user
Unique identifier for the generated prompt
The generated prompt