AiGenerator

Expands and enriches a short prompt to produce a more detailed and descriptive prompt which can then be used to generate images.

Changed on
post/v3/ai/enhance-prompt

Request

  • Base URL
    https://api.gettyimages.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Api-Key
    • or OAuth 2
      Authorization codehttps://authentication.gettyimages.com/oauth2/auth
      Client credentials
      Password
      Token URLhttps://authentication.gettyimages.com/oauth2/token
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Request body

promptstring required

Response

OK

enhanced_promptstring nullable required

Changes