---
title: "flux-dev-lora"
url: "https://docs.api.pruna.ai/apis/models-api-0/versions/e82c070d-36fc-4aa3-b8cc-8140e0221f53/schemas/flux-dev-lora"
---

> Full API specification: https://docs.api.pruna.ai/apis/models-api-0/versions/e82c070d-36fc-4aa3-b8cc-8140e0221f53.md

# flux-dev-lora

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: P-API
  version: 0.1.0
servers:
  - url: https://api.pruna.ai
    description: Production server
components:
  schemas:
    flux-dev-lora:
      type: object
      required:
        - input
      properties:
        input:
          type: object
          required:
            - prompt
          properties:
            prompt:
              type: string
              description: Text prompt for image generation
            lora:
              type: string
              description: HuggingFace LoRA URL (e.g., owner/model-name)
            lora_scale:
              type: number
              description: LoRA application strength
              minimum: -1
              maximum: 3
              default: 1
            extra_lora:
              type: string
              description: Second HuggingFace LoRA URL
            extra_lora_scale:
              type: number
              description: Second LoRA application strength
              minimum: -1
              maximum: 3
              default: 1
            image:
              type: string
              format: uri
              description: Input image for img2img mode
            prompt_strength:
              type: number
              description: Prompt strength for img2img
              minimum: 0
              maximum: 1
              default: 0.8
            num_outputs:
              type: integer
              description: Number of outputs to generate
              minimum: 1
              maximum: 4
              default: 1
            num_inference_steps:
              type: integer
              description: Number of denoising steps
              default: 28
            guidance:
              type: number
              description: Guidance scale
              minimum: 0
              maximum: 10
              default: 3
            seed:
              type: integer
              description: Random seed
            aspect_ratio:
              type: string
              description: Aspect ratio of output image
              enum:
                - 1:1
                - 16:9
                - 21:9
                - 3:2
                - 2:3
                - 4:5
                - 5:4
                - 3:4
                - 4:3
                - 9:16
                - 9:21
              default: 1:1
            output_format:
              type: string
              description: Output format
              enum:
                - png
                - jpg
                - webp
              default: jpg
            output_quality:
              type: integer
              description: Output quality (for jpg/webp)
              minimum: 1
              maximum: 100
              default: 80
            speed_mode:
              type: string
              description: Speed optimization level
              enum:
                - Base Model (compiled)
                - Lightly Juiced 🍊
                - Juiced 🧃
                - Extra Juiced 🔥
              default: Juiced 🧃
            megapixels:
              type: string
              description: Approximate megapixels for output
              enum:
                - "1"
                - "0.25"
              default: "1"
          additionalProperties: false
```
