curl --request POST \
--url https://app2.freyavoice.ai/api/v2/personas/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "<string>",
"prompt": "<string>",
"count": 3,
"seed": 123
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
]
}
]
}
}
}Generates AI-powered persona previews based on a prompt.
curl --request POST \
--url https://app2.freyavoice.ai/api/v2/personas/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agentId": "<string>",
"prompt": "<string>",
"count": 3,
"seed": 123
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"personas": [
{
"name": "<string>",
"prompt": "<string>",
"successCriteria": "<string>",
"tags": [
"<string>"
]
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.