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>"
}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>"
}The access token received from the authorization server in the OAuth 2.0 flow.