POST
/
content
/
generate
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>"
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Body

application/json

Response

200
application/json

Generated content

The response is of type object.