{
  "openapi": "3.1.0",
  "info": {
    "title": "Runware API - LTX-2.3",
    "summary": "High-fidelity multimodal video generation with native audio",
    "description": "LTX-2.3 is a multimodal video generation model that produces synchronized video and audio from text or images. It supports text-to-video and image-to-video workflows with native dialogue and ambient sound generation, emphasizing temporal stability, strong motion coherence, and production-ready output quality for professional creative pipelines. It can also extend an existing clip with new footage at its start or end.",
    "version": "1.0.0",
    "x-model-id": "lightricks-ltx-2-3",
    "x-air-id": "lightricks:ltx@2.3",
    "x-status": "live",
    "x-creator": {
      "id": "lightricks",
      "name": "Lightricks",
      "logo": "https://assets.runware.ai/5411e7cf-6e95-46e1-bd37-9fd72fc716d1.png"
    },
    "x-capabilities": [
      "text-to-video",
      "image-to-video",
      "video-to-video",
      "audio-to-video",
      "extend",
      "checkpoint",
      "audio"
    ],
    "x-modes": [
      {
        "id": "text",
        "inputs": []
      },
      {
        "id": "first-frame",
        "inputs": [
          "frameImages"
        ],
        "frames": [
          "first"
        ]
      },
      {
        "id": "first-last-frames",
        "inputs": [
          "frameImages"
        ],
        "frames": [
          "first",
          "last"
        ]
      },
      {
        "id": "multiple-frames",
        "inputs": [
          "frameImages"
        ],
        "frameCount": {
          "minimum": 3,
          "maximum": 10
        }
      },
      {
        "id": "video",
        "inputs": [
          "video"
        ]
      },
      {
        "id": "audio",
        "inputs": [
          "audio"
        ]
      },
      {
        "id": "first-frame+audio",
        "inputs": [
          "frameImages",
          "audio"
        ],
        "frames": [
          "first"
        ]
      },
      {
        "id": "first-last-frames+audio",
        "inputs": [
          "frameImages",
          "audio"
        ],
        "frames": [
          "first",
          "last"
        ]
      },
      {
        "id": "multiple-frames+audio",
        "inputs": [
          "frameImages",
          "audio"
        ],
        "frameCount": {
          "minimum": 3,
          "maximum": 10
        }
      }
    ],
    "x-released-at": "2026-03-05T00:00:00Z",
    "x-cover-image": "https://assets.runware.ai/covers/lightricks-ltx-2-3.jpg",
    "x-examples": "https://runware.ai/docs/models/lightricks-ltx-2-3/examples.json",
    "x-pricing": {
      "currency": "USD",
      "docs": "https://runware.ai/docs/models-api/pricing",
      "rates": [
        {
          "amount": 0.04,
          "unit": "durationSecond",
          "label": "720p",
          "display": "$0.04 per second"
        },
        {
          "amount": 0.08,
          "unit": "durationSecond",
          "label": "1080p",
          "display": "$0.08 per second"
        },
        {
          "amount": 0.16,
          "unit": "durationSecond",
          "label": "2K",
          "display": "$0.16 per second"
        },
        {
          "amount": 0.1,
          "unit": "durationSecond",
          "label": "Extend · 1080p, per second added or used as context",
          "display": "$0.10 per second"
        }
      ],
      "examples": [
        {
          "id": "salt-pan-percussion-music-video",
          "configuration": "first-frame · 720p · 5s",
          "price": 0.2,
          "latencyMs": 40628
        },
        {
          "id": "bacterial-cellulose-lab-b-roll",
          "configuration": "first-last-frame · 720p · 7s",
          "price": 0.28,
          "latencyMs": 45785
        },
        {
          "id": "hands-free-jar-opener-demo",
          "configuration": "audio-driven · 1024×1024 · 8s",
          "price": 0.64,
          "latencyMs": 54174
        },
        {
          "id": "ocean-liner-engine-room-extension",
          "configuration": "video-extend · 5s",
          "price": 0.8,
          "latencyMs": 59773
        },
        {
          "id": "mushroom-farm-post-punk-music-video",
          "configuration": "multiple-keyframes · 1344×768 · 10s",
          "price": 0.8,
          "latencyMs": 68706
        },
        {
          "id": "clockwork-chamber-pop-music-video",
          "configuration": "text-to-video · 1080p · 6s",
          "price": 0.96,
          "latencyMs": 71105
        }
      ]
    }
  },
  "externalDocs": {
    "description": "LTX-2.3 on Runware",
    "url": "https://runware.ai/docs/models/lightricks-ltx-2-3"
  },
  "servers": [
    {
      "url": "https://api.runware.ai/v1",
      "description": "Runware REST API"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "Runware API Key (e.g., Bearer <your-key>)"
      }
    },
    "schemas": {
      "AuthenticationTask": {
        "title": "Authentication",
        "description": "Authenticates a connection using an API key. Can be sent as the first element of the request array as an alternative to using the Authorization header.",
        "type": "object",
        "x-response-schema": "https://schemas.runware.ai/responses/utilities/authentication.json",
        "properties": {
          "taskType": {
            "title": "Task Type",
            "description": "Identifier for the type of task being performed.",
            "type": "string",
            "const": "authentication"
          },
          "apiKey": {
            "title": "API Key",
            "description": "Your Runware API key.",
            "type": "string"
          },
          "connectionSessionUUID": {
            "title": "Connection Session UUID",
            "description": "Optional session UUID to resume a previous connection and receive any buffered results.",
            "type": "string",
            "format": "uuid"
          }
        },
        "required": [
          "taskType",
          "apiKey"
        ],
        "additionalProperties": false
      },
      "RequestBody": {
        "type": "array",
        "items": {
          "type": "object",
          "x-constraints": [
            {
              "operation": "duration",
              "parameters": [
                "inputs.audio"
              ],
              "maximum": 30,
              "scope": "each"
            },
            {
              "operation": "duration",
              "parameters": [
                "inputs.video"
              ],
              "when": {
                "absent": [
                  "width"
                ]
              },
              "minimum": 3,
              "maximum": 3600
            },
            {
              "operation": "duration",
              "parameters": [
                "inputs.video"
              ],
              "when": {
                "present": [
                  "width"
                ]
              },
              "maximum": 60
            },
            {
              "operation": "area",
              "parameters": [
                "inputs.video"
              ],
              "when": {
                "absent": [
                  "width"
                ]
              },
              "maximum": 8294400,
              "scope": "each"
            },
            {
              "operation": "width",
              "parameters": [
                "inputs.video"
              ],
              "when": {
                "present": [
                  "width"
                ]
              },
              "minimum": 64,
              "maximum": 4096,
              "scope": "each"
            },
            {
              "operation": "height",
              "parameters": [
                "inputs.video"
              ],
              "when": {
                "present": [
                  "width"
                ]
              },
              "minimum": 64,
              "maximum": 4096,
              "scope": "each"
            },
            {
              "operation": "fileSize",
              "parameters": [
                "inputs.video"
              ],
              "maximum": 104857600
            },
            {
              "operation": "fileFormat",
              "parameters": [
                "inputs.video"
              ],
              "allowed": [
                "mp4",
                "mov"
              ]
            }
          ],
          "properties": {
            "model": {
              "title": "Model",
              "description": "Send `auto` instead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See [Model Router](https://runware.ai/docs/models-api/model-router).\n\n[Read full documentation](https://runware.ai/docs/models/lightricks-ltx-2-3#model)",
              "type": "string",
              "const": "lightricks:ltx@2.3"
            },
            "inputs": {
              "title": "Inputs",
              "description": "Input assets for the task.",
              "type": "object",
              "properties": {
                "frameImages": {
                  "title": "Frame Images",
                  "description": "An array of frame-specific image inputs to guide video generation. Each item can be either a plain image input (UUID, URL, Data URI, or Base64) or an object that pairs an image with a target position in the video.\n\nThe `frameImages` parameter allows you to constrain specific frames within the video sequence, ensuring that particular visual content appears at designated points. Position can be specified using `frame` (named positions or frame indices) or `timestamp` (seconds), depending on model support. This is different from `referenceImages`, which provide overall visual guidance without constraining specific timeline positions.\n\nWhen the `frame` parameter is omitted, automatic distribution rules apply:\n\n- **1 image**: Used as the first frame.\n- **2 images**: First and last frames.\n- **3+ images**: First and last frames, with intermediate images evenly spaced between.\n\n**Examples**:\n\n**Shorthand format:** When you don't need to specify a frame position, you can pass a plain image input directly.\n\n```json\n\"frameImages\": [\n  \"aac49721-1964-481a-ae78-8a4e29b91402\"\n]\n```\n\n**Object format:** When you need to specify a position, use an object with `image` and either `frame` or `timestamp` (model-dependent).\n\n```json\n\"frameImages\": [\n  {\n    \"image\": \"aac49721-1964-481a-ae78-8a4e29b91402\",\n    \"frame\": \"first\"\n  }\n]\n```\n\n**First and last frames:** With two images, they automatically become the first and last frames of the video sequence. You can mix shorthand and object formats.\n\n```json\n\"frameImages\": [\n  \"aac49721-1964-481a-ae78-8a4e29b91402\",\n  {\n    \"image\": \"3ad204c3-a9de-4963-8a1a-c3911e3afafe\",\n    \"frame\": \"last\"\n  }\n]\n```\n\n**Multiple frames:** With three or more images, the first and last are anchored while intermediate frames are evenly distributed across the timeline.\n\n```json\n\"frameImages\": [\n  {\n    \"image\": \"aac49721-1964-481a-ae78-8a4e29b91402\",\n    \"frame\": \"first\"\n  },\n  \"c00abf5f-6cdb-4642-a01d-1bfff7bc3cf7\",\n  {\n    \"image\": \"3ad204c3-a9de-4963-8a1a-c3911e3afafe\",\n    \"frame\": \"last\"\n  }\n]\n```\n\n[Read full documentation](https://runware.ai/docs/models/lightricks-ltx-2-3#frameImages)",
                  "type": "array",
                  "minItems": 1,
                  "contains": {
                    "not": {
                      "type": "object",
                      "properties": {
                        "frame": {
                          "enum": [
                            "last",
                            -1
                          ]
                        }
                      },
                      "required": [
                        "frame"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "items": {
                    "anyOf": [
                      {
                        "title": "Image",
                        "description": "Image input (UUID, URL, Data URI, or Base64).",
                        "type": "string",
                        "anyOf": [
                          {
                            "format": "uuid"
                          },
                          {
                            "format": "uri"
                          },
                          {
                            "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                          },
                          {
                            "pattern": "^[a-zA-Z0-9+/=]+$"
                          }
                        ]
                      },
                      {
                        "type": "object",
                        "properties": {
                          "image": {
                            "title": "Image",
                            "description": "Image input (UUID, URL, Data URI, or Base64).",
                            "type": "string",
                            "anyOf": [
                              {
                                "format": "uuid"
                              },
                              {
                                "format": "uri"
                              },
                              {
                                "pattern": "^data:image\\/[a-zA-Z]+;base64,[a-zA-Z0-9+/=]+$"
                              },
                              {
                                "pattern": "^[a-zA-Z0-9+/=]+$"
                              }
                            ]
                          },
                          "frame": {
                            "title": "Frame",
                            "description": "Target frame position for the image. Accepts a named position like `first` or `last`, or a zero-based frame index (-1 for the last frame).",
                            "oneOf": [
                              {
                                "title": "Position",
                                "description": "Named position in the video.",
                                "type": "string",
                                "enum": [
                                  "first",
                                  "last"
                                ]
                              },
                              {
                                "title": "Index",
                                "description": "Zero-based frame index. Use -1 for the last frame.",
                                "type": "integer",
                                "minimum": -1
                              }
                            ]
                          }
                        },
                        "required": [
                          "image"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "maxItems": 10
                },
                "video": {
                  "title": "Video",
                  "description": "Video input (UUID or URL). Source video to extend or reframe. Without `width` and `height` it is extended: it needs at least 73 frames, and the output keeps the whole source and adds `duration` seconds to it, at 1080x1920 when the source is taller than it is wide and 1920x1080 otherwise. With `width` and `height` it is reframed: it takes at most 1800 frames, and the output keeps its length and shows it whole in the new frame, with the area around it generated.",
                  "type": "string",
                  "anyOf": [
                    {
                      "format": "uuid"
                    },
                    {
                      "format": "uri"
                    }
                  ]
                },
                "audio": {
                  "title": "Audio",
                  "description": "Audio input (UUID or URL). Enables audio-to-video conditioning. The audio is merged with the generated video and trimmed to fit the video duration. Maximum duration 30 seconds.",
                  "type": "string",
                  "anyOf": [
                    {
                      "format": "uuid"
                    },
                    {
                      "format": "uri"
                    }
                  ]
                }
              },
              "additionalProperties": false
            },
            "positivePrompt": {
              "title": "Positive Prompt",
              "description": "Text prompt describing elements to include in the generated output.",
              "type": "string",
              "minLength": 2,
              "maxLength": 10000
            },
            "negativePrompt": {
              "title": "Negative Prompt",
              "description": "Prompt to guide what to exclude from generation. Ignored when guidance is disabled (CFGScale ≤ 1).",
              "type": "string"
            },
            "width": {
              "title": "Width",
              "description": "Width of the generated media in pixels.",
              "type": "integer",
              "minimum": 128,
              "maximum": 2048
            },
            "height": {
              "title": "Height",
              "description": "Height of the generated media in pixels.",
              "type": "integer",
              "minimum": 128,
              "maximum": 2048
            },
            "duration": {
              "title": "Duration",
              "description": "Length of the generated video in seconds. The total number of frames produced is determined by duration multiplied by the model's frame rate (fps). With `inputs.video`, the seconds added to the source video.",
              "type": "number",
              "minimum": 1,
              "maximum": 20
            },
            "fps": {
              "title": "FPS",
              "description": "Frames per second for video generation. Higher values create smoother motion but require more processing time.",
              "type": "integer",
              "default": 25,
              "minimum": 1,
              "maximum": 120
            },
            "seed": {
              "title": "Seed",
              "description": "Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.",
              "type": "integer",
              "minimum": 0,
              "maximum": 9223372036854776000
            },
            "steps": {
              "title": "Steps",
              "description": "Total number of denoising steps. Higher values generally produce more detailed results but take longer.",
              "type": "integer",
              "minimum": 1,
              "default": 20,
              "maximum": 100
            },
            "CFGScale": {
              "title": "CFG Scale",
              "description": "Guidance scale representing how closely the output will resemble the prompt. Higher values produce results more aligned with the prompt.",
              "type": "number",
              "multipleOf": 0.01,
              "minimum": 1,
              "default": 4,
              "maximum": 20
            },
            "lora": {
              "title": "LoRA",
              "description": "With LoRA (Low-Rank Adaptation), you can adapt a model to specific styles or features by emphasizing particular aspects of the data. This technique enhances the quality and relevance of generated content and can be especially useful when the output needs to adhere to a specific artistic style or follow particular guidelines.\n\nMultiple LoRA models can be used simultaneously to achieve different adaptation goals.\n\n**Examples**:\n\n```json\n\"lora\": [\n  {\n    \"model\": \"<lora-model-air>\",\n    \"weight\": 0.8\n  }\n]\n```\n\n[Read full documentation](https://runware.ai/docs/models/lightricks-ltx-2-3#lora)",
              "type": "array",
              "minItems": 1,
              "items": {
                "type": "object",
                "properties": {
                  "model": {
                    "title": "LoRA Model",
                    "description": "LoRA model identifier.",
                    "type": "string",
                    "pattern": "^[a-zA-Z0-9._-]+(:[a-zA-Z0-9._/@-]+)?$"
                  },
                  "weight": {
                    "title": "LoRA Weight",
                    "description": "Strength of the LoRA influence. A value of 0 means no influence. Higher values increase the influence, and negative values can be used to steer away from the LoRA's style.",
                    "type": "number",
                    "multipleOf": 0.01,
                    "minimum": -4,
                    "maximum": 4,
                    "default": 1
                  },
                  "transformer": {
                    "title": "LoRA Transformer",
                    "description": "Transformer stages to apply LoRA. Some video models use separate high-noise and low-noise processing stages, and LoRAs can be selectively applied to optimize their effectiveness.",
                    "type": "string",
                    "oneOf": [
                      {
                        "const": "high",
                        "title": "High",
                        "description": "Apply LoRA only to the high-noise processing stage (coarse structure and early generation steps)."
                      },
                      {
                        "const": "low",
                        "title": "Low",
                        "description": "Apply LoRA only to the low-noise processing stage (fine details and later generation steps)."
                      },
                      {
                        "const": "both",
                        "title": "Both",
                        "description": "Apply LoRA to both stages for full coverage."
                      }
                    ],
                    "default": "both"
                  }
                },
                "required": [
                  "model"
                ],
                "additionalProperties": false
              }
            },
            "settings": {
              "title": "Settings",
              "description": "Global inference settings.",
              "type": "object",
              "properties": {
                "enhancePrompt": {
                  "title": "Enhance Prompt",
                  "description": "Enable automatic prompt enhancement for cinematic results.",
                  "type": "boolean",
                  "default": true
                },
                "extend": {
                  "type": "object",
                  "title": "Extend",
                  "description": "Extension controls for the source video.",
                  "properties": {
                    "context": {
                      "type": "number",
                      "title": "Context",
                      "description": "Seconds of the source video used as context for the new seconds. Must not exceed the source length, and `context` plus `duration` must not exceed 505 frames at the source frame rate (about 21 seconds at 24 fps).",
                      "minimum": 1,
                      "maximum": 20
                    },
                    "mode": {
                      "type": "string",
                      "title": "Mode",
                      "description": "Side of the source video that receives the new seconds.",
                      "default": "end",
                      "oneOf": [
                        {
                          "description": "Adds the new seconds after the last frame of the source video.",
                          "const": "end"
                        },
                        {
                          "description": "Adds the new seconds before the first frame of the source video.",
                          "const": "start"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                },
                "reframe": {
                  "type": "object",
                  "title": "Reframe",
                  "description": "Reframe controls for the source video.",
                  "properties": {
                    "placement": {
                      "type": "object",
                      "title": "Placement",
                      "description": "Position of the source video in the output frame, given as an `anchor` or as a rectangle of `x`, `y` and at least one of `width` and `height`. Omitted, the video is centered at the largest size that fits. A rectangle side left out follows the video's aspect ratio, both sides together must match it within one pixel, and the placed video must be at least 1 pixel per side and at most 2x its original size.",
                      "properties": {
                        "width": {
                          "type": "number",
                          "title": "Width",
                          "description": "Width of the video, as a fraction of the output width. `x` plus `width` must not exceed 1.",
                          "maximum": 1,
                          "exclusiveMinimum": 0
                        },
                        "height": {
                          "type": "number",
                          "title": "Height",
                          "description": "Height of the video, as a fraction of the output height. `y` plus `height` must not exceed 1.",
                          "maximum": 1,
                          "exclusiveMinimum": 0
                        },
                        "anchor": {
                          "type": "string",
                          "title": "Anchor",
                          "description": "Edge or corner of the output frame the video is placed against, at the largest size that fits. Anchors other than 'center' are rejected when that fit enlarges the video more than 2x.",
                          "enum": [
                            "center",
                            "top",
                            "bottom",
                            "left",
                            "right",
                            "top_left",
                            "top_right",
                            "bottom_left",
                            "bottom_right"
                          ]
                        },
                        "x": {
                          "type": "number",
                          "title": "X",
                          "description": "Left edge of the video, as a fraction of the output width.",
                          "minimum": 0,
                          "exclusiveMaximum": 1
                        },
                        "y": {
                          "type": "number",
                          "title": "Y",
                          "description": "Top edge of the video, as a fraction of the output height.",
                          "minimum": 0,
                          "exclusiveMaximum": 1
                        }
                      },
                      "if": {
                        "required": [
                          "anchor"
                        ]
                      },
                      "then": {
                        "not": {
                          "anyOf": [
                            {
                              "required": [
                                "x"
                              ]
                            },
                            {
                              "required": [
                                "y"
                              ]
                            },
                            {
                              "required": [
                                "width"
                              ]
                            },
                            {
                              "required": [
                                "height"
                              ]
                            }
                          ]
                        }
                      },
                      "else": {
                        "required": [
                          "x",
                          "y"
                        ],
                        "anyOf": [
                          {
                            "required": [
                              "width"
                            ]
                          },
                          {
                            "required": [
                              "height"
                            ]
                          }
                        ]
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              },
              "additionalProperties": false
            },
            "taskType": {
              "title": "Task Type",
              "description": "Identifier for the type of task being performed.",
              "type": "string",
              "const": "videoInference"
            },
            "taskUUID": {
              "title": "Task UUID",
              "description": "UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.",
              "type": "string",
              "format": "uuid"
            },
            "webhookURL": {
              "title": "Webhook URL",
              "description": "Webhook URL that receives JSON responses via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.",
              "type": "string",
              "format": "uri"
            },
            "includeCost": {
              "title": "Include Cost",
              "description": "Include task cost in the response.",
              "type": "boolean"
            },
            "numberResults": {
              "title": "Number of Results",
              "description": "Number of results to generate. Each result uses a different seed, producing variations of the same parameters.",
              "type": "integer",
              "minimum": 1,
              "default": 1,
              "maximum": 4
            },
            "uploadEndpoint": {
              "title": "Upload Endpoint",
              "description": "Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.\n\n**Common use cases:**\n\n- **Cloud storage**: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.\n- **CDN integration**: Upload to content delivery networks for immediate distribution.\n\n```text\n// S3 presigned URL for secure upload\nhttps://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600\n\n// Google Cloud Storage presigned URL\nhttps://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789\n\n// Custom storage endpoint\nhttps://storage.example.com/uploads/generated-image.jpg\n```\n\nThe content data will be sent as the request body to the specified URL when generation is complete.\n\n[Read full documentation](https://runware.ai/docs/models/lightricks-ltx-2-3#uploadEndpoint)",
              "type": "string",
              "format": "uri"
            },
            "ttl": {
              "title": "TTL",
              "description": "Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.",
              "type": "integer",
              "minimum": 60
            },
            "outputType": {
              "title": "Output Type",
              "description": "Video output type.",
              "type": "string",
              "enum": [
                "URL"
              ],
              "default": "URL"
            },
            "outputFormat": {
              "title": "Output Format",
              "description": "Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.\n\n- \\`JPG\\`: Best for photorealistic images with smaller file sizes (no transparency).\n- \\`PNG\\`: Lossless compression, supports high quality and transparency (alpha channel).\n- \\`WEBP\\`: Modern format providing superior compression and transparency support.\n- \\`MP4\\`: Widely supported video container (H.264), recommended for general use.\n- \\`WEBM\\`: Optimized for web delivery.\n- \\`MOV\\`: QuickTime format, common in professional workflows (Apple ecosystem).\n- \\`GIF\\`: Animated image format (no audio), suitable for short loops or previews.\n- \\`MP3\\`: Compressed audio, smaller file size.\n- \\`WAV\\`: Uncompressed, high-quality audio.\n- \\`FLAC\\`: Lossless compression.\n- \\`OGG\\`: Open-source compressed audio format (Vorbis codec).\n- \\`SVG\\`: Scalable Vector Graphics.\n- \\`TIFF\\`: High-quality output supporting layers.\n- \\`GLB\\`: Binary glTF format for 3D models, including geometry, textures, and PBR materials.\n\n> [!NOTE]\n> \\*\\*Transparency\\*\\*: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., \\`PNG\\`, \\`WEBP\\`, \\`TIFF\\`). \\`JPG\\` does not support transparency.\n\n[Read full documentation](https://runware.ai/docs/models/lightricks-ltx-2-3#outputFormat)",
              "type": "string",
              "enum": [
                "MP4",
                "WEBM",
                "MOV"
              ],
              "default": "MP4"
            },
            "outputQuality": {
              "title": "Output Quality",
              "description": "Compression quality of the output. Higher values preserve quality but increase file size.",
              "type": "integer",
              "minimum": 20,
              "maximum": 99,
              "default": 95
            },
            "deliveryMethod": {
              "title": "Delivery Method",
              "description": "Determines how the API delivers task results.",
              "type": "string",
              "oneOf": [
                {
                  "const": "sync",
                  "description": "Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse."
                },
                {
                  "const": "async",
                  "description": "Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse."
                }
              ],
              "default": "async"
            },
            "safety": {
              "type": "object",
              "title": "Safety Settings",
              "description": "Content safety checking configuration for video generation.",
              "properties": {
                "checkContent": {
                  "title": "Check Content",
                  "description": "Enable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.",
                  "type": "boolean"
                },
                "mode": {
                  "title": "Safety Mode",
                  "description": "Safety checking mode for video generation.",
                  "type": "string",
                  "oneOf": [
                    {
                      "const": "fast",
                      "title": "Fast",
                      "description": "Checks key frames."
                    },
                    {
                      "const": "full",
                      "title": "Full",
                      "description": "Checks all frames."
                    }
                  ],
                  "default": "fast"
                }
              },
              "additionalProperties": false
            }
          },
          "allOf": [
            {
              "dependentRequired": {
                "width": [
                  "height"
                ],
                "height": [
                  "width"
                ]
              }
            },
            {
              "if": {
                "not": {
                  "properties": {
                    "inputs": {
                      "required": [
                        "video"
                      ]
                    }
                  },
                  "required": [
                    "inputs"
                  ]
                }
              },
              "then": {
                "required": [
                  "width",
                  "height"
                ]
              }
            },
            {
              "not": {
                "allOf": [
                  {
                    "properties": {
                      "inputs": {
                        "required": [
                          "video"
                        ]
                      }
                    },
                    "required": [
                      "inputs"
                    ]
                  },
                  {
                    "properties": {
                      "inputs": {
                        "anyOf": [
                          {
                            "required": [
                              "frameImages"
                            ]
                          },
                          {
                            "required": [
                              "audio"
                            ]
                          }
                        ]
                      }
                    },
                    "required": [
                      "inputs"
                    ]
                  }
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs"
                ]
              },
              "then": {
                "not": {
                  "anyOf": [
                    {
                      "required": [
                        "negativePrompt"
                      ]
                    },
                    {
                      "required": [
                        "fps"
                      ]
                    },
                    {
                      "required": [
                        "seed"
                      ]
                    },
                    {
                      "required": [
                        "steps"
                      ]
                    },
                    {
                      "required": [
                        "CFGScale"
                      ]
                    },
                    {
                      "required": [
                        "lora"
                      ]
                    },
                    {
                      "required": [
                        "safety"
                      ]
                    },
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "enhancePrompt"
                          ]
                        }
                      },
                      "required": [
                        "settings"
                      ]
                    }
                  ]
                }
              }
            },
            {
              "if": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs",
                  "width"
                ]
              },
              "then": {
                "not": {
                  "anyOf": [
                    {
                      "required": [
                        "positivePrompt"
                      ]
                    },
                    {
                      "required": [
                        "duration"
                      ]
                    },
                    {
                      "properties": {
                        "settings": {
                          "required": [
                            "extend"
                          ]
                        }
                      },
                      "required": [
                        "settings"
                      ]
                    }
                  ]
                }
              }
            },
            {
              "if": {
                "not": {
                  "properties": {
                    "inputs": {
                      "required": [
                        "video"
                      ]
                    }
                  },
                  "required": [
                    "inputs",
                    "width"
                  ]
                }
              },
              "then": {
                "required": [
                  "positivePrompt",
                  "duration"
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs"
                ]
              },
              "then": {
                "properties": {
                  "duration": {
                    "type": "integer",
                    "minimum": 2
                  }
                }
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "required": [
                      "extend"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs"
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "settings": {
                    "required": [
                      "reframe"
                    ]
                  }
                },
                "required": [
                  "settings"
                ]
              },
              "then": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs",
                  "width"
                ]
              }
            },
            {
              "if": {
                "properties": {
                  "inputs": {
                    "required": [
                      "video"
                    ]
                  }
                },
                "required": [
                  "inputs",
                  "width"
                ]
              },
              "then": {
                "oneOf": [
                  {
                    "properties": {
                      "width": {
                        "const": 720
                      },
                      "height": {
                        "const": 720
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1080
                      },
                      "height": {
                        "const": 1080
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 720
                      },
                      "height": {
                        "const": 900
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1080
                      },
                      "height": {
                        "const": 1350
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 900
                      },
                      "height": {
                        "const": 720
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1350
                      },
                      "height": {
                        "const": 1080
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 720
                      },
                      "height": {
                        "const": 1280
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1080
                      },
                      "height": {
                        "const": 1920
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1280
                      },
                      "height": {
                        "const": 720
                      }
                    }
                  },
                  {
                    "properties": {
                      "width": {
                        "const": 1920
                      },
                      "height": {
                        "const": 1080
                      }
                    }
                  }
                ]
              },
              "else": {
                "properties": {
                  "width": {
                    "multipleOf": 64
                  },
                  "height": {
                    "multipleOf": 64
                  }
                }
              }
            }
          ],
          "additionalProperties": false,
          "required": [
            "taskType",
            "taskUUID",
            "model"
          ]
        },
        "description": "You must always POST an array of task objects."
      },
      "ResponseBody": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "title": "Video Response",
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "taskType": {
                  "title": "Task Type",
                  "description": "Identifier for the type of task this response belongs to.",
                  "type": "string",
                  "const": "videoInference"
                },
                "taskUUID": {
                  "title": "Task UUID",
                  "description": "UUID v4 identifier echoed from the original request, used to match async responses to their tasks.",
                  "type": "string",
                  "format": "uuid"
                },
                "cost": {
                  "title": "Cost",
                  "description": "Task cost in USD. Present when `includeCost` is set to `true` in the request.",
                  "type": "number"
                },
                "videoUUID": {
                  "title": "Video UUID",
                  "description": "UUID of the output video.",
                  "type": "string",
                  "format": "uuid"
                },
                "videoURL": {
                  "title": "Video URL",
                  "description": "URL of the output video.",
                  "type": "string",
                  "format": "uri"
                },
                "videoBase64Data": {
                  "title": "Video Base64 Data",
                  "description": "Base64-encoded video data.",
                  "type": "string"
                },
                "videoDataURI": {
                  "title": "Video Data URI",
                  "description": "Data URI of the output video.",
                  "type": "string",
                  "format": "uri"
                },
                "seed": {
                  "title": "Seed",
                  "description": "The seed used for generation. If none was provided, shows the randomly generated seed.",
                  "type": "integer"
                },
                "NSFWContent": {
                  "title": "NSFW Content",
                  "description": "Flag indicating if NSFW content was detected.",
                  "type": "boolean"
                }
              },
              "required": [
                "taskType",
                "taskUUID",
                "videoUUID"
              ]
            }
          }
        }
      },
      "ErrorResponse": {
        "title": "Error Response",
        "description": "Standard error response returned by the Runware API.",
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "code",
                "message"
              ],
              "additionalProperties": true,
              "properties": {
                "code": {
                  "type": "string",
                  "description": "A short identifier for the error (e.g., invalidApiKey, timeoutProvider)."
                },
                "message": {
                  "type": "string",
                  "description": "A human-readable explanation of what went wrong."
                },
                "parameter": {
                  "type": "string",
                  "description": "The request parameter related to the error, if applicable."
                },
                "taskType": {
                  "type": "string",
                  "description": "The task type of the request that failed."
                },
                "taskUUID": {
                  "type": "string",
                  "description": "The unique identifier of the failed request."
                },
                "documentation": {
                  "type": "string",
                  "description": "A link to relevant documentation."
                }
              }
            }
          }
        },
        "required": [
          "errors"
        ],
        "additionalProperties": false
      }
    }
  },
  "paths": {
    "/": {
      "post": {
        "summary": "Run LTX-2.3",
        "description": "LTX-2.3 is a multimodal video generation model that produces synchronized video and audio from text or images. It supports text-to-video and image-to-video workflows with native dialogue and ambient sound generation, emphasizing temporal stability, strong motion coherence, and production-ready output quality for professional creative pipelines. It can also extend an existing clip with new footage at its start or end.",
        "operationId": "run_lightricks_ltx_2_3",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseBody"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request — Missing or invalid parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized — No valid API key provided.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Payment Required — Insufficient account balance.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden — The API key lacks permissions for this request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests — Rate limit exceeded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error — Something went wrong on Runware's end.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable — Temporarily unavailable (maintenance or capacity).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ]
}