POST
/
generate
curl --request POST \
  --url http://api.tryjournalist.com/generate \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "<string>",
  "model": "dall-e-3",
  "size": "<string>",
  "format": "png"
}'
"<string>"

Body

application/json
prompt
string
required
model
enum<string>
required
Available options:
dall-e-3,
dall-e-2
size
string
required

a template literal

format
enum<string>
required
Available options:
png,
jpg,
webp

Response

200
application/json

This is a test endpoint