Skip to main content
POST
/
media
/
generate-images
Generates ai-based images for a given prompt.
curl --request POST \
  --url https://api.example.com/media/generate-images \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "A clown riding a unicycle in a snowstorm",
  "originalLanguageId": 1,
  "skipCache": false
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
prompt
string | null
default:A clown riding a unicycle in a snowstorm
originalLanguageId
integer<int32>
default:1
skipCache
boolean
default:false

Response

Success

success
boolean
data
unknown