Oxygen
  • Getting started
  • Introduction
  • Authentication
  • Making requests
  • Streaming
  • Endpoints
    • Chat
    • Image
    • Audio
    • Embeddings
Powered by GitBook
On this page
  • MidJourney
  • Stable Diffusion Models
  1. Endpoints

Image

PreviousChatNextAudio

Last updated 1 year ago

ENDPOINT : https://app.oxyapi.uk/v1/images/generations

MidJourney

prompt [string] REQUIRED

  • Prompt to use for the generation.

model [string] REQUIRED

  • ID of the model to use. See the .

stream [boolean or null] Optional Defaults to false

  • If set, partial images with progression deltas will be sent.

Stable Diffusion Models

prompt [string] REQUIRED

  • Prompt to use for the generation.

negative_prompt [string] Default to null Optional

  • Generation negative prompt.

model [string] REQUIRED

  • ID of the model to use. See the table for details on which models work with the Chat API..

steps [integer] Default to 25 Optional

  • Generation denoising steps , must be in range 1 / 50

sampler [string] Default to DPM++ 2M Karras Optional

  • Generation sampler must be in the list :

    ["Euler", "Euler a", "Heun", "DPM++ 2M Karras", "DPM++ SDE Karras", "DDIM"]

n [integer] Default to 1 Optional

  • Generation images number , must be in range 1 / 4, when stream is true n must be 1.

seed [integer] Default to random Optional

  • Generation seed.

model endpoint compatibility
model endpoint compatibility