Image Generation

Openai Images Variations

Changed on

Generate a similar image using OpenAI Images Variations API

post/v1/images/variations

Request

  • Base URL: https://api.deepinfra.com
  • URL: https://api.deepinfra.com/v1/images/variations
  • Auth: HTTP bearer

Headers

xi-api-keystring nullable
x-api-keystring nullable

Request body multipart/form-data

imagestring binary required
modelstring required
response_format'b64_json' | 'url'

Response

Successful Response

createdinteger

Unix timestamp of when the images were created

Changes

    • info

      added the new optional request property

    • info

      added the new url enum value to the request property ///

    • info

      api tag Image Generation added

    • info

      added the new optional header request parameter x-api-key