> ## 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 **playgroundai/playground-v2.5-1024px-aesthetic** AI Model.

### Query

<ParamField query="model" type="string" default="playgroundai/playground-v2.5-1024px-aesthetic" 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">
  Negative Input prompt
</ParamField>

<ParamField body="num_inference_steps" type="int" default="25">
  Number of denoising steps. 4 for best results
</ParamField>

<ParamField body="scheduler" type="string" default="DPMSolver++">
  Scheduler. DPMSolver++ or DPM++2MKarras is recommended for most cases
</ParamField>

<ParamField body="guidance_scale" type="float" default="3.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>
