curl --request POST \
--url https://api.diversion.dev/v0/content/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "<string>",
"size": "<string>",
"style": "<string>"
}'
{
"output": "<string>"
}
curl --request POST \
--url https://api.diversion.dev/v0/content/generate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "<string>",
"size": "<string>",
"style": "<string>"
}'
{
"output": "<string>"
}
This API uses OAuth 2 with the implicit grant flow
Generated content
The response is of type object
.