> ## Documentation Index
> Fetch the complete documentation index at: https://omnicron.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Generation

> Image generation using the **lucataco/realvisxl-v2.0** AI Model.

### Query

<ParamField query="model" type="string" default="lucataco/realvisxl-v2.0" required>
  The image model to be used;
</ParamField>

### Body

<ParamField body="prompt" type="string" required>
  Input prompt
</ParamField>

<ParamField body="width" type="int" default="1024">
  Width of output image. Recommended 1024 or 1280
</ParamField>

<ParamField body="height" type="int" default="1024">
  Height of output image. Recommended 1024 or 1280
</ParamField>

<ParamField body="num_outputs" type="int" default="1">
  Number of images to output.
</ParamField>

<ParamField body="negative_prompt" type="string" default="ugly, deformed, noisy, blurry, low contrast, text, watermark, logo, low resolution, bad anatomy, bad proportions, bad lighting, overexposed, underexposed, jpeg artifacts, pixelated, out of focus, cartoon, 3d render, unrealistic, fake, distorted, unnatural, poorly drawn, incorrect perspective, disfigured, messy, cluttered, low detail, poorly rendered, over saturated, washed out">
  Negative Input prompt
</ParamField>

<ParamField body="num_inference_steps" type="int" default="40">
  Number of denoising steps.
</ParamField>

<ParamField body="scheduler" type="string" default="DPMSolverMultistep">
  scheduler
</ParamField>

<ParamField body="guidance_scale" type="float" default="7.0">
  Scale for classifier-free guidance
</ParamField>

<ParamField body="prompt_strength" type="float" default="0.8">
  Prompt strength when using img2img / inpaint. 1.0 corresponds to full destruction of information in image
</ParamField>

<ParamField body="lora_scale" type="float" default="0.6">
  LoRA additive scale. Only applicable on trained models.
</ParamField>

<ParamField body="image" type="file">
  Input image for img2img or inpaint mode
</ParamField>

<ParamField body="mask" type="file">
  Input image for img2img or inpaint mode
</ParamField>
