POST
/
content
/
generate
Generate content
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
prompt
string
size
string
style
string

Response

Generated content

output
string