generate

Generate (legacy)

Changed on

Generates images synchronously based on a given prompt and optional parameters.

Images links are available for a limited period of time; if you would like to keep the image, you must download it.

post/generate

Request

  • Base URL: https://api.ideogram.ai
  • URL: https://api.ideogram.ai/generate
  • Auth: API key in header Api-Key

Request body

Response

Image(s) generated successfully.

request_idstring

URL-safe base64 ID of the sampling request. Present when the caller supplied webhook_url and the request was accepted for async delivery; in that case data is omitted and the generated images will be POSTed to the customer's webhook_url when ready.

createdstring date-time required

The time the request was created.

Changes

    • warning

      deleted the header request parameter Api-Key

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      api operation id post_generate_image removed and replaced with generate_post_generate_image