Enhances a prompt to help users write better prompts for thier use cases.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/prompt/enhance \
--header 'Content-Type: application/json' \
--data '{
"prompt": "<string>",
"type": "<string>"
}'
{
"code": "<string>",
"data": {
"prompt_enhanced": {
"content": [
"<string>"
]
}
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}
Success response
The response is of type object
.
curl --request POST \
--url https://production-storytell-ai-platfor-cds2.encr.app/v1/prompt/enhance \
--header 'Content-Type: application/json' \
--data '{
"prompt": "<string>",
"type": "<string>"
}'
{
"code": "<string>",
"data": {
"prompt_enhanced": {
"content": [
"<string>"
]
}
},
"details": {
"consumption": {
"units": 123
},
"operation": {
"duration": 123,
"operationId": "<string>"
}
},
"done": true,
"eventKey": "<string>",
"message": "<string>"
}