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

# Overview

> Legnext AI Midjourney API features for image and video generation

## Image Generation & Editing

### Core Features

<CardGroup cols={2}>
  <Card title="Text to Image" icon="wand-magic-sparkles" href="/api-reference/image-generation/diffusion">
    Generate high-quality images from text descriptions using advanced AI models.
  </Card>

  <Card title="Image Editing" icon="paintbrush" href="/api-reference/image-generation/edit">
    Edit and repaint specific areas of existing images with precision control.
  </Card>

  <Card title="Regional Repaint" icon="brush" href="/api-reference/image-generation/inpaint">
    Selectively modify regions using masks and targeted prompts.
  </Card>

  <Card title="Background Removal" icon="eraser" href="/api-reference/image-generation/remove-background">
    Automatically remove backgrounds to create clean cutouts.
  </Card>
</CardGroup>

### Enhancement Tools

<CardGroup cols={2}>
  <Card title="Upscale" icon="expand" href="/api-reference/image-generation/upscale">
    Enhance image resolution and quality with AI upscaling technology.
  </Card>

  <Card title="Enhance" icon="sparkles" href="/api-reference/image-generation/enhance">
    Improve image quality, clarity, and detail at current resolution.
  </Card>

  <Card title="Variation" icon="shuffle" href="/api-reference/image-generation/variation">
    Create controllable variations while maintaining composition structure.
  </Card>

  <Card title="Remix" icon="palette" href="/api-reference/image-generation/remix">
    Transform images with new prompts and controllable intensity.
  </Card>
</CardGroup>

### Advanced Operations

<CardGroup cols={2}>
  <Card title="Extend" icon="up-down-left-right" href="/api-reference/image-generation/outpaint">
    Expand images in all directions using intelligent outpainting.
  </Card>

  <Card title="Pan Extend" icon="arrow-right" href="/api-reference/image-generation/pan">
    Extend images in a single specified direction with precision.
  </Card>

  <Card title="Retexture" icon="cube" href="/api-reference/image-generation/retexture">
    Transform materials and textures with AI-powered style transfer.
  </Card>

  <Card title="Advanced Edit" icon="layer-group" href="/api-reference/image-generation/upload-paint">
    Complex editing with custom canvas positioning and masks.
  </Card>
</CardGroup>

### Utility Functions

<CardGroup cols={2}>
  <Card title="Blend" icon="blender" href="/api-reference/image-generation/blend">
    Combine 2-5 images into a single unique creation with seamless blending.
  </Card>

  <Card title="Describe" icon="comment-dots" href="/api-reference/image-generation/describe">
    Generate detailed text descriptions and prompts from existing images.
  </Card>

  <Card title="Shorten" icon="scissors" href="/api-reference/image-generation/shorten">
    Analyze and simplify prompts to their most essential elements.
  </Card>

  <Card title="Reroll" icon="rotate" href="/api-reference/image-generation/reroll">
    Re-execute tasks to generate new variations with same parameters.
  </Card>
</CardGroup>

## Video Generation

<CardGroup cols={2}>
  <Card title="Video Diffusion" icon="video" href="/api-reference/video-generation/video-diffusion">
    Generate dynamic videos from text prompts or existing images.
  </Card>

  <Card title="Extend Video" icon="film" href="/api-reference/video-generation/extend-video">
    Extend existing videos with seamless continuation and motion.
  </Card>

  <Card title="Video Upscale" icon="arrow-up-right" href="/api-reference/video-generation/video-upscale">
    Enhance video resolution and quality using AI upscaling technology.
  </Card>
</CardGroup>

## Before You Start

**Important**: Please read our [Notice](/getting-started/notice) before using the API to understand supported models and current limitations.
